0 Members and 1 Guest are viewing this topic.
Asm(217884 ; ld hl, OP1014904 ; ld bc, $04490D ; dec cEDA2 ; ini20FB ; jr nz, $ - 5113C00 ; ld de, 60EFB180 ; B_CALL Div32ByDE){e8486}→S ; number of secondsAsm(113C00 ; ld de, 60EFB180 ; B_CALL Div32ByDE){e8486}→M ; number of minutesAsm(111800 ; ld de, 24EFB180 ; B_CALL Div32ByDE){e8486}→H ; number of hours
Im trying to do something like the Basic GetTimeStr(12)
getTime->L1
i do know a BASIC syntax for this:Code: [Select]getTime->L1
EF5B51 EF9043 grab OP1 seconds EF9043 grab OP1 minutes EF9043 grab OP1 hours
EF5B51 EF9043 EF8D43 EF8A43 OP1 = secs OP2 = minutes OP3 = hours