started work on VERIFY and SAVE commands

This commit is contained in:
FeralChild64 committed 2020-06-05 20:16:34 +02:00
1 parent c5d7bb250f
commit 580cd65941
7 files changed
+225 -150

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
cmd_save:
// Set default device and secondary address; channel is not important now
jsr select_device
ldy #$00 // secondary address
jsr JSETFLS
// Check if file name is supplied
jsr basic_end_of_statement_check
bcs_16 do_MISSING_FILENAME_error
// Fetch the file name
jsr cmd_load_fetch_filename
// XXX - finish the implementation
jmp basic_main_loop