improved error handling in BASIC

This commit is contained in:
FeralChild64 committed 2020-07-12 11:04:45 +02:00
1 parent d1ac8ac371
commit 8b629816d7
8 files changed
+144 -95

No files matched your search

+1 -7
View File
@@ -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 !+