Fixing telestrat.h

This commit is contained in:
jede
2017-02-02 22:53:28 +01:00
parent ad6e54c2d8
commit d76911d38a
5 changed files with 32 additions and 12 deletions

View File

@@ -14,5 +14,3 @@
BRK_TELEMON XCLOSE ; launch primitive ROM
rts
.endproc

View File

@@ -8,7 +8,7 @@
.constructor initmainargs, 24
.import __argc, __argv
.import ptr1
.import ptr1
.include "telestrat.inc"
.macpack generic

View File

@@ -27,9 +27,7 @@ parmok:
sta tmp3 ; save flags
; Get the filename from stack and parse it. Bail out if is not ok
jsr popax ; Get name
ldy tmp3 ; Get flags again
ldy tmp3 ; Get flags again
BRK_TELEMON XOPEN ; launch primitive ROM
rts
.endproc

View File

@@ -53,7 +53,7 @@ L2: ldy #0
cpx #$0A ; Check for \n
bne L3
BRK_TELEMON XWR0 ; Macro send char to screen (channel 0 in telemon terms)
lda #$0D ; return to the beggining of the line
lda #$0D ; return to the beggining of the line
BRK_TELEMON XWR0 ; Macro ;