From f6002a149c84f9b97f9a0838c3977cff2e443d07 Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 25 Feb 2017 21:32:06 +0100 Subject: [PATCH 1/5] adding gotoxy.s --- asminc/telestrat.inc | 5 +++++ libsrc/telestrat/gotoxy.s | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 libsrc/telestrat/gotoxy.s diff --git a/asminc/telestrat.inc b/asminc/telestrat.inc index 2c3502ba8..ab209e520 100644 --- a/asminc/telestrat.inc +++ b/asminc/telestrat.inc @@ -107,6 +107,7 @@ XWR0 = $10 XWSTR0 = $14 XTEXT = $19 XHIRES = $1A +XFILLM = $1C XMINMA = $1F XFREAD = $27 ; only in TELEMON 3.0 XOPEN = $30 ; only in TELEMON 3.0 @@ -128,6 +129,10 @@ XINK = $93 XEXPLO = $9C XPING = $9D +; --------------------------------------------------------------------------- +; Page $200 +SCRX := $220 +SCRY := $224 ; --------------------------------------------------------------------------- ; Page $500 diff --git a/libsrc/telestrat/gotoxy.s b/libsrc/telestrat/gotoxy.s new file mode 100644 index 000000000..18e010ae2 --- /dev/null +++ b/libsrc/telestrat/gotoxy.s @@ -0,0 +1,15 @@ + .export _gotoxy + + .import popa + + .importzp sp,tmp2,tmp3,tmp1 + + .include "telestrat.inc" + + +.proc _gotoxy + sta SCRY + jsr popa + sta SCRX + rts +.endproc From 4f1d007fb4cfbd20b7bf45e1bf14f41fcabd08ab Mon Sep 17 00:00:00 2001 From: jede Date: Sat, 25 Feb 2017 21:32:42 +0100 Subject: [PATCH 2/5] Correcting typo --- doc/telestrat.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/telestrat.sgml b/doc/telestrat.sgml index 9032156ee..fda4dee86 100644 --- a/doc/telestrat.sgml +++ b/doc/telestrat.sgml @@ -141,7 +141,7 @@ Telestrat manages also mouse, but it had been no handled yet in this version. Telestrat has a RS232 port, but it's not used -< + Limitations