mirror of
https://github.com/irmen/prog8.git
synced 2024-12-25 08:29:25 +00:00
Merge branch 'v8_maintenance'
# Conflicts: # compiler/res/prog8lib/cx16/syslib.p8 # examples/test.p8
This commit is contained in:
commit
b24f2f1756
@ -70,7 +70,9 @@ asmsub RDTIM16() -> uword @AY {
|
|||||||
; -- like RDTIM() but only returning the lower 16 bits in AY for convenience
|
; -- like RDTIM() but only returning the lower 16 bits in AY for convenience
|
||||||
%asm {{
|
%asm {{
|
||||||
phx
|
phx
|
||||||
|
sei
|
||||||
jsr cbm.RDTIM
|
jsr cbm.RDTIM
|
||||||
|
cli
|
||||||
pha
|
pha
|
||||||
txa
|
txa
|
||||||
tay
|
tay
|
||||||
@ -933,9 +935,13 @@ _loop lda P8ZP_SCRATCH_W1
|
|||||||
plx
|
plx
|
||||||
rts
|
rts
|
||||||
|
|
||||||
+ jsr cbm.RDTIM
|
+ sei
|
||||||
|
jsr cbm.RDTIM
|
||||||
|
cli
|
||||||
sta P8ZP_SCRATCH_B1
|
sta P8ZP_SCRATCH_B1
|
||||||
- jsr cbm.RDTIM
|
- sei
|
||||||
|
jsr cbm.RDTIM
|
||||||
|
cli
|
||||||
cmp P8ZP_SCRATCH_B1
|
cmp P8ZP_SCRATCH_B1
|
||||||
beq -
|
beq -
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user