// #LAYOUT# STD * #TAKE // #LAYOUT# * BASIC_0 #TAKE // #LAYOUT# * * #IGNORE // XXX does not fully work fetch_variable_TI_string: // Alocate memory for 6-byte temporary string, copy the string descriptor lda #$06 jsr tmpstr_alloc jsr helper_strdesccpy // Fetch the time in a safe way, store it in temporary area jsr JRDTIM sty INDEX+2 stx INDEX+1 sta INDEX+0 // Now calculate the digits, starting from the most important one #if CONFIG_MEMORY_MODEL_60K ldx #