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:
|
list_loop:
|
||||||
ldx #<basic_current_line_ptr
|
ldx #<basic_current_line_ptr
|
||||||
ldy #0
|
ldy #1
|
||||||
jsr peek_pointer_null_check
|
jsr peek_under_roms
|
||||||
bcs list_more_lines
|
cmp #$00
|
||||||
|
bne list_more_lines
|
||||||
|
|
||||||
;; LIST terminates any running program,
|
;; LIST terminates any running program,
|
||||||
;; because it has fiddled with the current line pointer.
|
;; because it has fiddled with the current line pointer.
|
||||||
|
|||||||
Reference in new issue
Block a user