BLOAD/BVERIFY can now parse parameters and read data

This commit is contained in:
FeralChild64 committed 2020-06-24 17:30:49 +02:00
1 parent f2520eacb2
commit 4462a15061
6 files changed
+92 -42

No files matched your search

@@ -0,0 +1,26 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Fetches file name for BLOAD/BVERIFY/MERGE, reports error if not found
//
helper_bload_fetch_filename:
// Fetch the file name
jsr helper_load_fetch_filename
bcc !+
// No filename supplied - this should only be allowed for tape (device number below 8)
lda FA
and #%11111000
bne_16 do_MISSING_FILENAME_error
lda #$00
sta FNLEN
!:
rts