improved error handling in BASIC
This commit is contained in:
1 parent
d1ac8ac371
commit
8b629816d7
8 files changed
+144
-95
No files matched your search
@@ -83,13 +83,7 @@ wedge_dos_command:
|
||||
|
||||
wedge_dos_change_drive:
|
||||
|
||||
// Reuse the line number parser for device number retrieval
|
||||
jsr fetch_line_number
|
||||
lda LINNUM+1
|
||||
beq !+
|
||||
jmp do_ILLEGAL_QUANTITY_error
|
||||
!:
|
||||
lda LINNUM+0
|
||||
jsr fetch_uint8
|
||||
cmp #$08
|
||||
bpl !+
|
||||
bcs !+
|
||||
|
||||
Reference in new issue
Block a user