tape wedge now accepts file name

This commit is contained in:
FeralChild64 committed 2020-06-28 22:47:55 +02:00
1 parent 01775af002
commit 3b11d1b881
5 files changed
+106 -42

No files matched your search

@@ -0,0 +1,27 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
//
// Prepare interpreter to execute commands in direct mode
//
prepare_direct_execution:
// Setup pointer to the statement
lda #<BUF
sta TXTPTR+0
lda #>BUF
sta TXTPTR+1
// There is no stored line, so zero that pointer out
lda #$00
sta OLDTXT+0
sta OLDTXT+1
// Put invalid line number in current line number value,
// so that we know we are in direct mode (Computes Mapping the 64 p19)
lda #$FF
sta CURLIN+1
rts