initial SAVE implementation

This commit is contained in:
FeralChild64 committed 2019-11-05 17:09:57 +01:00
1 parent 6f39064916
commit b860322a09
6 files changed
+135 -45

No files matched your search

@@ -1,6 +1,6 @@
//
// Helper functions for various LOAD/VERIVY/SAVE routine variants (IEC / U64 / etc.)
// Helper functions for various LOAD/VERIFY/SAVE routine variants (IEC / U64 / etc.)
//
@@ -149,6 +149,29 @@ lvs_display_done:
ldx #__MSG_KERNAL_TO_HEX
jmp !-
lvs_display_saving:
// Display SAVING and file name
lda MSGFLG
bpl lvs_display_end
ldx #__MSG_KERNAL_SAVING
jsr print_kernal_message
ldy #$00
!:
cpy FNLEN
beq !+
lda (FNADDR), y
jsr JCHROUT
iny
bne !- // jump alwayys
!:
jsr print_return
rts
lvs_error_end:
sec