more work on MEGA65 keyboard scanner
This commit is contained in:
1 parent
de1e3af061
commit
bdbafaa76e
7 files changed
+125
-12
No files matched your search
@@ -32,6 +32,10 @@
|
||||
!addr C65_EXTKEYS_PR = $D607
|
||||
!addr C65_EXTKEYS_DDR = $D608
|
||||
|
||||
!addr KBSCN_BUCKY = $D611
|
||||
!addr KBSCN_PEEK = $D613
|
||||
!addr KBSCN_SELECT = $D614
|
||||
|
||||
; SD card
|
||||
|
||||
!addr SD_CTL = $D680
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
!ifdef CONFIG_KEYBOARD_C128_CAPS_LOCK { !set _NEED_CAPS_LOCK = 1 }
|
||||
!ifdef CONFIG_KEYBOARD_C65 { !set _NEED_EXTENDED = 1 }
|
||||
!ifdef CONFIG_KEYBOARD_C65_CAPS_LOCK { !set _NEED_CAPS_LOCK = 1 }
|
||||
!ifdef CONFIG_MB_M65 { !set _NEED_CAPS_LOCK = 1 }
|
||||
!ifdef CONFIG_MB_M65 { !set _NEED_EXTENDED = 1 }
|
||||
!ifdef CONFIG_KEYBOARD_C65 { !set _NEED_C65KB = 1 }
|
||||
!ifdef CONFIG_MB_M65 { !set _NEED_C65KB = 1 }
|
||||
@@ -34,7 +35,7 @@
|
||||
!set KEY_FLAG_NO_SCRL = %00100000
|
||||
}
|
||||
!ifdef _NEED_CAPS_LOCK {
|
||||
!set KEY_CAPS_LOCK = %00010000
|
||||
!set KEY_FLAG_CAPSL = %00010000
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -53,7 +53,10 @@
|
||||
!addr M65_TXTWIN_Y1 = $591 ; text window - bottom-right Y coordinate + 1
|
||||
!addr M65_TXTROW_OFF = $592 ; $592-$593 offset to the current text row from the viewport start
|
||||
!addr M65_SCRCOLMAX = $594 ; maximum allowed column
|
||||
; $595-$5EB -- UNUSED --
|
||||
!addr M65_KB_BUCKY = $595 ; result of bucky keys scan
|
||||
!addr M65_KB_COLSCAN = $596 ; $596-$59E results of keyboard scan, columns 0-8
|
||||
|
||||
; $59F-$5EB -- UNUSED --
|
||||
!addr M65_DMAGIC_LIST = $5F1 ; $5EF-$5FF reserved for DMAgic list, 15 bytes (modulo bytes are not needed)
|
||||
!addr M65_RS232_INBUF = $600 ; $600-$6FF -- reserved for RS-232 input buffer --
|
||||
!addr M65_RS232_OUTBUF = $700 ; $700-$7FF -- reserved for RS-232 output buffer --
|
||||
|
||||
Reference in new issue
Block a user