Fix LIST output for Nebulus: line links with high byte = $00 = end of program.
This commit is contained in:
1 parent
49536d8378
commit
4a374b27be
1 file changed
+4
-3
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user