changed TIME variable format to default one
This commit is contained in:
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
|
||||
|
||||
clc
|
||||
lda TIME+0
|
||||
lda TIME+2
|
||||
adc #$0C
|
||||
!:
|
||||
cmp TIME+0
|
||||
cmp TIME+2
|
||||
bne !-
|
||||
|
||||
// FALLTROUGH
|
||||
|
||||
@@ -75,8 +75,8 @@ assign_variable_TI_string_loop_next:
|
||||
|
||||
// Set the resulting value
|
||||
|
||||
ldy INDEX+0
|
||||
ldy INDEX+2
|
||||
ldx INDEX+1
|
||||
lda INDEX+2
|
||||
lda INDEX+0
|
||||
|
||||
jmp JSETTIM
|
||||
@@ -17,9 +17,9 @@ fetch_variable_TI_string:
|
||||
|
||||
jsr JRDTIM
|
||||
|
||||
sty INDEX+0
|
||||
sty INDEX+2
|
||||
stx INDEX+1
|
||||
sta INDEX+2
|
||||
sta INDEX+0
|
||||
|
||||
// Now calculate the digits, starting from the most important one
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ rnd_seed_init:
|
||||
eor CIA1_TIMAHI
|
||||
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
|
||||
#if CONFIG_MB_MEGA_65
|
||||
eor VIC_XPOS // not sure if VIC-IV visible, but it will not hurt
|
||||
|
||||
Reference in new issue
Block a user