Merge branch 'v8_maintenance'

# Conflicts:
#	compiler/res/prog8lib/cx16/syslib.p8
#	examples/test.p8
This commit is contained in:
Irmen de Jong 2023-05-21 15:05:17 +02:00
commit b24f2f1756

View File

@ -70,7 +70,9 @@ asmsub RDTIM16() -> uword @AY {
; -- like RDTIM() but only returning the lower 16 bits in AY for convenience
%asm {{
phx
sei
jsr cbm.RDTIM
cli
pha
txa
tay
@ -933,9 +935,13 @@ _loop lda P8ZP_SCRATCH_W1
plx
rts
+ jsr cbm.RDTIM
+ sei
jsr cbm.RDTIM
cli
sta P8ZP_SCRATCH_B1
- jsr cbm.RDTIM
- sei
jsr cbm.RDTIM
cli
cmp P8ZP_SCRATCH_B1
beq -