File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ V_INPT: ; byte in from simulated ACIA
2020 BIT fd_in ; check for read fd
2121 BPL read ; use read() handler
2222 BIT RIA_READY
23- BVC LAB_nobyw ; branch if no byte waiting
23+ BVC acia_nobyw ; branch if no byte waiting
2424 LDA RIA_RX ; get byte from simulated ACIA
2525 SEC ; flag byte received
2626 RTS
27- LAB_nobyw :
27+ acia_nobyw :
2828 CLC ; flag no byte received
2929 RTS
3030read:
@@ -69,7 +69,7 @@ read_ready_loop:
6969 LDA (ptr1) , y
7070 JSR V_OUTP_wait
7171 INY
72- CPY # $ 07
72+ CPY # $ 07 ; only print first part of ready string
7373 BMI read_ready_loop
7474 PLY
7575read_cr:
@@ -104,7 +104,7 @@ write_skip:
104104 RTS
105105
106106
107- V_LOAD: ; empty load vector for EhBASIC
107+ V_LOAD: ; load vector for EhBASIC
108108 LDA # $ 01 ; O_RDONLY
109109 JSR open
110110 BMI syntax_error ; TODO file error instead of syntax
@@ -127,7 +127,7 @@ V_LOAD: ; empty load vector for EhBASIC
127127 RTS
128128
129129
130- V_SAVE:
130+ V_SAVE: ; save vector for EhBASIC
131131 LDA # $ 32 ; O_TRUNC | O_CREAT | O_WRONLY
132132 JSR open
133133 BMI syntax_error ; TODO file error instead of syntax
You can’t perform that action at this time.
0 commit comments