54 lines
2.1 KiB
ArmAsm
54 lines
2.1 KiB
ArmAsm
// Names of ZP and low memory locations
|
|
// (Only those of relevance for the KERNAL)
|
|
// (And only those for now that we feel the need to implement initially)
|
|
// (https://www.c64-wiki.com/wiki/Zeropage)
|
|
|
|
// XXX get rid of this file, use ,aliases_ram_lowmem.s instead
|
|
|
|
.label current_file_num = $98
|
|
.label input_device_number = DFLTN
|
|
.label cassette_buffer_bytes_used = $A6
|
|
.label load_or_scroll_temp_pointer = $AC
|
|
// We also use the following for temp colour pointer when scrolling
|
|
.label load_save_verify_end_address = $AE
|
|
.label current_logical_filenum = $B8
|
|
.label current_secondary_address = $B9
|
|
.label current_device_number = $BA
|
|
.label current_filename_ptr = $BB
|
|
.label load_save_end_ptr = $C3
|
|
.label last_key_matrix_position = $C5
|
|
.label keys_in_key_buffer = $C6
|
|
.label reverse_video_flag = $C7
|
|
.label end_of_input_line = $C8
|
|
.label start_of_keyboard_input = $C9
|
|
.label current_key_index_entry = $CB
|
|
.label cursor_blink_disable = $CC
|
|
.label cursor_blink_countdown = $CD
|
|
.label cursor_saved_character = $CE
|
|
.label cursor_is_visible = $CF
|
|
.label keyboard_input_ready = $D0
|
|
.label current_screen_line_ptr = $D1
|
|
.label current_screen_x = $D3
|
|
.label logical_line_length = $D5
|
|
.label current_screen_y = $D6
|
|
.label last_printed_character_ascii = $D7
|
|
.label insert_mode = $D8
|
|
// Bits 0 -3 = bits 8-11 of screen line address
|
|
// Bit 7 = line spans multiple physical lines
|
|
.label screen_line_link_table = $D9
|
|
.label current_screen_line_colour_ptr = $F3
|
|
.label keyboard_decoding_table_ptr = $F5
|
|
|
|
#if CONFIG_MEMORY_MODEL_60K
|
|
|
|
// Under-ROM routines
|
|
// (BASIC also includes them. XXX - We should de-duplicate them in a safe manner)
|
|
.label missed_nmi_flag = $2A7
|
|
.label tiny_nmi_handler = $2A8
|
|
.label peek_under_roms = tiny_nmi_handler+peek_under_roms_routine-tiny_nmi_handler_routine
|
|
.label poke_under_roms = tiny_nmi_handler+poke_under_roms_routine-tiny_nmi_handler_routine
|
|
.label memmap_allram = tiny_nmi_handler+memmap_allram_routine-tiny_nmi_handler_routine
|
|
.label memmap_normal = tiny_nmi_handler+memmap_normal_routine-tiny_nmi_handler_routine
|
|
|
|
#endif // CONFIG_MEMORY_MODEL_60K
|