LOAD command understands device number and secondary address

This commit is contained in:
FeralChild64 committed 2019-07-20 17:59:24 +02:00
1 parent 2613553ef3
commit c7727d4f0f
3 files changed
+60 -11

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
;; Consummes a comma in a BASIC code, C set for no coma found
injest_comma:
jsr basic_fetch_and_consume_character
cmp #$2C ; comma character
beq injest_comma_found
cmp #$20
beq injest_comma ; space, can always be skipped
;; not found
jsr basic_unconsume_character
sec
rts
injest_comma_found:
clc
rts