Skip to content

Commit 8583e72

Browse files
improve comments
1 parent 4393330 commit 8583e72

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/min_mon.s

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
3030
read:
@@ -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
7575
read_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

0 commit comments

Comments
 (0)