From ff182f9498b864c427372aae8953e9f08acf1c5d Mon Sep 17 00:00:00 2001 From: jede Date: Wed, 17 Oct 2018 21:12:05 +0200 Subject: [PATCH] Cleaning telestrat.cfg (no need to have bashead segment). Some primitives added --- asminc/telestrat.inc | 4 ++++ cfg/telestrat.cfg | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/asminc/telestrat.inc b/asminc/telestrat.inc index 956d31be3..7c923f6f8 100644 --- a/asminc/telestrat.inc +++ b/asminc/telestrat.inc @@ -149,6 +149,8 @@ SCREEN := $BB80 ; ROM entries ; telemon primitives (2.4 & 3.x) + +; all values are used to call bank 7 of telestrat cardridge. It works with 'brk value' XRD0 = $08 XRDW0 = $0C XWR0 = $10 @@ -158,6 +160,7 @@ XHIRES = $1A XFILLM = $1C XMINMA = $1F XVARS = $24 ; only in TELEMON 3.x, in telemon 2.4, it's XNOMFI ($24) +XCRLF = $25 ; jump a line and return to the beginning of the line XFREAD = $27 ; only in TELEMON 3.x XOPEN = $30 ; only in TELEMON 3.x XCOSCR = $34 ; switch off cursor @@ -173,6 +176,7 @@ XZAP = $46 XSHOOT = $47 XMKDIR = $4B ; create a folder. Only available in telemon 3.x XRM = $4D ; remove a folder or a file. Only available in telemon 3.x +XMALLOC = $5B ; only in telemon 3.x XSOUT = $67 ; send accumulator value (A) to RS232, available in telemon 2.4 & 3.x : if RS232 buffer is full, the Oric Telestrat freezes XHRSSE = $8C ; set hires position cursor XDRAWA = $8D ; draw a line diff --git a/cfg/telestrat.cfg b/cfg/telestrat.cfg index 400958f86..9aa182116 100644 --- a/cfg/telestrat.cfg +++ b/cfg/telestrat.cfg @@ -6,8 +6,7 @@ SYMBOLS { MEMORY { ZP: file = "", define = yes, start = $00B0, size = $003A; ORIXHDR: file = %O, type = ro, start = $0000, size = $001F; -# BASHEAD: file = %O, define = yes, start = $0801, size = $000D; - MAIN: file = %O, define = yes, start = $0800, size = __RAMEND__ - __MAIN_START__; + MAIN: file = %O, define = yes, start = $0800, size = __RAMEND__ - __MAIN_START__; BSS: file = "", start = __ONCE_RUN__, size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__; } SEGMENTS { -- 2.39.5