Start on FILE i/O
This commit is contained in:
1 parent
7033104799
commit
03518c4937
22 files changed
+330
-127
No files matched your search
+2
-2
@@ -33,7 +33,7 @@ BACKSPACE: DEY ; Back up text index.
|
||||
BMI GETLINE ; Beyond start of line, reinitialize.
|
||||
|
||||
NEXTCHAR:
|
||||
LDA $BC01 ; Check status.
|
||||
LDA IO_KBD ; Check status.
|
||||
BMI NEXTCHAR ; Loop until ready.
|
||||
STA IN,Y ; Add to text buffer.
|
||||
JSR ECHO ; Display character.
|
||||
@@ -165,5 +165,5 @@ PRHEX:
|
||||
ADC #$06 ; Add offset for letter.
|
||||
|
||||
ECHO:
|
||||
STA $BC00 ; Output character.
|
||||
STA IO_SCREEN ; Output character.
|
||||
RTS ; Return.
|
||||
Reference in new issue
Block a user