better MONITOR -> DOS Wedge integration

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent 28b65b2ee7
commit 5d4605d6ba
2 files changed
+19 -2

No files matched your search

+1
View File
@@ -471,6 +471,7 @@ wedge_dos_wrapper_error_common:
; Print error - within the MONITOR
jsr do_error_print_only
jsr print_return
bra wedge_dos_wrapper_exit_nocheck
wedge_dos_SYNTAX_error:
+18 -2
View File
@@ -1599,9 +1599,25 @@ Print_BCD:
Mon_DOS:
; ******
JSR Print_CR
; Shift BUF content so that '@' is first character
@lp1 LDA BUF
CMP #'@'
BEQ @wedge
LDX #01
@lp2 LDA BUF,x
DEX
STA BUF,x
INX
INX
CPX #80
BNE @lp2
BRA @lp1
; Launch DOS Wedge
@wedge JSR Print_CR
JSR wedge_dos_monitor
JSR Print_CR
JMP Main