changed TIME variable format to default one

This commit is contained in:
FeralChild64 committed 2020-07-19 16:24:45 +02:00
1 parent 12abb60d22
commit ffbb58bcbc
5 files changed
+12 -12

No files matched your search

@@ -60,10 +60,10 @@ helper_ask_if_sure:
jsr JCHROUT jsr JCHROUT
clc clc
lda TIME+0 lda TIME+2
adc #$0C adc #$0C
!: !:
cmp TIME+0 cmp TIME+2
bne !- bne !-
// FALLTROUGH // FALLTROUGH
@@ -75,8 +75,8 @@ assign_variable_TI_string_loop_next:
// Set the resulting value // Set the resulting value
ldy INDEX+0 ldy INDEX+2
ldx INDEX+1 ldx INDEX+1
lda INDEX+2 lda INDEX+0
jmp JSETTIM jmp JSETTIM
@@ -17,9 +17,9 @@ fetch_variable_TI_string:
jsr JRDTIM jsr JRDTIM
sty INDEX+0 sty INDEX+2
stx INDEX+1 stx INDEX+1
sta INDEX+2 sta INDEX+0
// Now calculate the digits, starting from the most important one // Now calculate the digits, starting from the most important one
+1 -1
View File
@@ -21,7 +21,7 @@ rnd_seed_init:
eor CIA1_TIMAHI eor CIA1_TIMAHI
sta RNDX+4 sta RNDX+4
lda TIME+0 // byte from jiffy counter might be useful too lda TIME+2 // byte from jiffy counter might be useful too
eor SID_RANDOM // not sure if SID set correctly, but it will not hurt eor SID_RANDOM // not sure if SID set correctly, but it will not hurt
#if CONFIG_MB_MEGA_65 #if CONFIG_MB_MEGA_65
eor VIC_XPOS // not sure if VIC-IV visible, but it will not hurt eor VIC_XPOS // not sure if VIC-IV visible, but it will not hurt
+5 -5
View File
@@ -18,14 +18,14 @@ UDTIM:
// after this time we have to reset the clock. // after this time we have to reset the clock.
#if !HAS_OPCODES_65CE02 #if !HAS_OPCODES_65CE02
inc TIME+0 inc TIME+2
bne udtim_time_done // done with clock bne udtim_time_done // done with clock
inc TIME+1 inc TIME+1
#else #else
inw TIME+0 inw TIME+2
#endif #endif
bne udtim_clock_rollover bne udtim_clock_rollover
inc TIME+2 inc TIME+0
// FALLTROUGH // FALLTROUGH
@@ -39,10 +39,10 @@ udtim_clock_rollover:
lda TIME+1 lda TIME+1
cmp #$1A cmp #$1A
bne udtim_time_done // done with clock bne udtim_time_done // done with clock
lda TIME+2 lda TIME+0
cmp #$4F cmp #$4F
bne udtim_time_done // done with clock bne udtim_time_done // done with clock
lda #$00 lda #$00
sta TIME+2 sta TIME+0
sta TIME+1 sta TIME+1
beq udtim_time_done // done with clock - will always jump beq udtim_time_done // done with clock - will always jump