refactored LOAD routine so that it's parts are reuseable

This commit is contained in:
FeralChild64 committed 2019-07-19 17:23:11 +02:00
1 parent 66047996bb
commit da4cc3a89b
12 files changed
+269 -231

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@ cmd_load:
;; Set filename and length
lda #$00
sta current_filename_length
sta FNLEN
;; Without tape support, LOAD must have a filename
;; (This also skips any leading spaces)
@@ -57,7 +57,7 @@ getting_filename:
jmp got_filename
*
inc current_filename_length
inc FNLEN
jmp getting_filename
got_filename: