Fix LIST output for Nebulus: line links with high byte = $00 = end of program.

This commit is contained in:
Paul Gardner-Stephen committed 2019-05-05 02:21:47 +09:30
1 parent 49536d8378
commit 4a374b27be
1 file changed
+4 -3
+4 -3
View File
@@ -11,9 +11,10 @@ cmd_list:
list_loop:
ldx #<basic_current_line_ptr
ldy #0
jsr peek_pointer_null_check
bcs list_more_lines
ldy #1
jsr peek_under_roms
cmp #$00
bne list_more_lines
;; LIST terminates any running program,
;; because it has fiddled with the current line pointer.