Swapped words of ReadTime trap

This commit is contained in:
2026-05-12 14:27:56 +01:00
parent 70995430ac
commit 1691d98c82
+2 -2
View File
@@ -414,8 +414,8 @@ mov #&o21*256+0,-(sp) ; GETTIM - Get Time
mov sp,r0 mov sp,r0
emt &o375 emt &o375
cmp (sp)+,(sp)+ ; Drop command and address cmp (sp)+,(sp)+ ; Drop command and address
mov (sp)+,r1 ; Get 50Hz/60Hz tick to r1:r0 mov (sp)+,r0 ; Get 50Hz/60Hz tick to r1:r0
mov (sp)+,r0 mov (sp)+,r1 ; These have been swapped. Majenko 2026.
mov (sp),sp ; Restore SP mov (sp),sp ; Restore SP
rts pc rts pc