CHRIN for MEGA65 - code complete, but needs bugfixing

This commit is contained in:
FeralChild64 committed 2020-08-27 22:44:42 +02:00
1 parent 0d07074b20
commit dee452d352
6 files changed
+80 -24

No files matched your search

@@ -19,13 +19,14 @@
.label VK1__load_tape_auto = $4000 + 2 * 5
.label VK1__tape_head_align = $4000 + 2 * 6
.label VK1__m65_chrout_screen = $4000 + 2 * 7
.label VK1__M65_MODE64 = $4000 + 2 * 8
.label VK1__M65_MODE65 = $4000 + 2 * 9
.label VK1__M65_SCRMODEGET = $4000 + 2 * 10
.label VK1__M65_SCRMODESET = $4000 + 2 * 11
.label VK1__M65_CLRSCR = $4000 + 2 * 12
.label VK1__M65_CLRWIN = $4000 + 2 * 13
.label VK1__m65_screen_upd_txtrow_off = $4000 + 2 * 14
.label VK1__m65_chrin_keyboard = $4000 + 2 * 8
.label VK1__M65_MODE64 = $4000 + 2 * 9
.label VK1__M65_MODE65 = $4000 + 2 * 10
.label VK1__M65_SCRMODEGET = $4000 + 2 * 11
.label VK1__M65_SCRMODESET = $4000 + 2 * 12
.label VK1__M65_CLRSCR = $4000 + 2 * 13
.label VK1__M65_CLRWIN = $4000 + 2 * 14
.label VK1__m65_screen_upd_txtrow_off = $4000 + 2 * 15
#else
@@ -60,6 +61,7 @@
#endif
.word m65_chrout_screen
.word m65_chrin_keyboard
.word M65_MODE64
.word M65_MODE65
+2
View File
@@ -30,6 +30,8 @@
.label udtim_keyboard = KERNAL_0.udtim_keyboard
.label chrout_to_screen_code = KERNAL_0.chrout_to_screen_code
.label colour_codes = KERNAL_0.colour_codes
.label screen_check_toggle_quote = KERNAL_0.screen_check_toggle_quote
.label screen_code_to_petscii = KERNAL_0.screen_code_to_petscii
.label setup_irq_timer = KERNAL_0.setup_irq_timer
.label wait_x_bars = KERNAL_0.wait_x_bars
@@ -13,6 +13,12 @@ m65_chrout_screen:
jsr map_NORMAL
jmp chrout_done_success
m65_chrin_keyboard:
jsr map_KERNAL_1
jsr_ind VK1__m65_chrin_keyboard
jmp map_NORMAL
m65_screen_upd_txtrow_off:
jsr map_KERNAL_1