Files
open-roms/c64/basic/init/basic_warm_start_internal.s
T

34 lines
564 B
ArmAsm

#if ROM_LAYOUT_STD || (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
//
// Continuation of the BASIC cold start routine
//
basic_warm_start_real:
#if CONFIG_MEMORY_MODEL_60K
// We need our helpers to get to filenames under ROMs or IO area
jsr install_ram_routines
#endif
// If warm start caused by BRK, print it address
// XXX sys 58235 also triggers this - to be fixed
lda CMP0
ora CMP0+1
beq !+
ldx #32
jsr print_packed_message
lda CMP0+1
jsr print_hex_byte
lda CMP0+0
jsr print_hex_byte
jsr print_return
!:
jmp basic_main_loop
#endif // ROM layout