File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
- DEBUGFLAGS = -DDEBUG=1
1
+ # DEBUGFLAGS = -DDEBUG=1
2
2
# VMFLAGS = -DUSEVM=1
3
3
C1541 := /usr/bin/c1541
4
4
# X64 := /usr/bin/x64
@@ -8,12 +8,12 @@ X64 := /usr/bin/x64 -warp -autostart-delay-random
8
8
# all: dragon
9
9
# all: minform
10
10
# all: czechz3
11
- # all: czechz5
11
+ all : czechz5
12
12
# all: strictz3
13
13
# all: strictz5
14
14
# all: etude
15
15
# all: praxix
16
- all : oztestz3
16
+ # all: oztestz3
17
17
18
18
d64.czechz3 :
19
19
acme -DZ3=1 $(DEBUGFLAGS ) $(VMFLAGS ) --cpu 6510 --format cbm -l acme_labels.txt --outfile ozmoo ozmoo.asm
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ printchar_buffered
181
181
cmp #$20
182
182
beq .printchar_done
183
183
.not_first_space
184
- ; add this char in the buffer
184
+ ; add this char to the buffer
185
185
cmp #$0d
186
186
bne .check_space
187
187
; newline. Print line and reset the buffer
@@ -197,6 +197,14 @@ printchar_buffered
197
197
ldy .buffer_index
198
198
sty .buffer_last_space
199
199
.not_space
200
+ cmp #46 ; .
201
+ bne .add_char
202
+ ; use period as separator of last resort if no space found
203
+ sty .buffer_last_space
204
+ bne .add_char
205
+ ldy .buffer_index
206
+ sty .buffer_last_space
207
+ .add_char
200
208
ldy .buffer_index
201
209
sta .buffer,y
202
210
inc .buffer_index
You can’t perform that action at this time.
0 commit comments