Skip to content

Commit c2df005

Browse files
committed
Print 3. later
1 parent 995c0b3 commit c2df005

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ box16-icon56-24.png
1010
icons.png
1111
prog8compiler-*.jar
1212
x16emu
13+
rom.bin

pi.p8

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,7 @@ main {
2525

2626
cx16.VERA_IEN = 0 ; Disable interrupts for a smidgen more CPU time
2727

28-
; It would be nice if this was delayed to reduce the gap after displaying
29-
; 3. and the first 1. But I don't think it can be done without increasing
30-
; PRG size.
3128
txt.clear_screen() ; chrout(147)
32-
txt.chrout('3')
33-
txt.chrout('.')
3429

3530
uword numberOfDigits
3631
%asm{{
@@ -63,6 +58,12 @@ main {
6358
@(cx16.r0 + 1) = 0
6459
}
6560

61+
; It would be nice if this was delayed to reduce the gap after displaying
62+
; 3. and the first 1.
63+
; But I don't think it can be done without increasing PRG size.
64+
txt.chrout('3')
65+
txt.chrout('.')
66+
6667
ubyte nines
6768
ubyte predigit
6869

0 commit comments

Comments
 (0)