more work towards making LOAD command accept filename
This commit is contained in:
1 parent
2824abafd9
commit
4958ad696f
5 files changed
+147
-28
No files matched your search
@@ -17,6 +17,17 @@ cmd_load:
|
||||
lda #$00 ; LOAD not verify
|
||||
ldx #<$0801 ; LOAD address = $0801
|
||||
ldy #>$0801
|
||||
|
||||
;; Set filename and length
|
||||
lda #$24
|
||||
sta $0400
|
||||
lda #$01
|
||||
sta current_filename_length
|
||||
lda #<$0400
|
||||
sta current_filename_ptr+0
|
||||
lda #>$0401
|
||||
sta current_filename_ptr+1
|
||||
|
||||
jsr $ffd5
|
||||
bcc +
|
||||
|
||||
|
||||
Reference in new issue
Block a user