📄 ckhub.asm
字号:
;-------------------------------------------------------------------------
; Program information
;-------------------------------------------------------------------------
include "Readme" ; To show this infomation on list file.
;-------------------------------------------------------------------------
; Definition
;-------------------------------------------------------------------------
include "Equate.inc"
include "macro.inc"
include "hub.inc"
include "malloc.inc"
include "option.inc"
include ".\kbd\ps2.inc" ; IFDEF PS2KB
include ".\kbd\KB101.inc"
;-------------------------------------------------------------------------
; Enable XPAGE Insertion
;-------------------------------------------------------------------------
; The XPAGEON derective enables the automatic insertion of XPAGE
; instructions at page breaks. Most often this is useful when defining
; ROM tables or jump tables.
;
; The XPAGEON directive the enables automatic insertion XPAGE and NOP
; instructions at page breaks after an XPAGEOFF directive has disabled it.
; The assembler defaults to XPAGE insertion on at the top of the file.
;-------------------------------------------------------------------------
XPAGEON
ORG LOWER_4K ; Vector / ISR / Main loop
include "kbhub.asm"
include "suspend.asm"
IFDEF PS2KB
include ".\kbd\ps2main.asm"
ENDIF
;------------------------------------------------------------------------
; Version/System Data
;------------------------------------------------------------------------
XPAGEOFF
VERSION: DS "CKHUB V1.67" ; JUK v1.67-2
DESIGNER: DS "JUK"
OWNER: DS "(c)2000 Cypress Semiconductor."
XPAGEON
;------------------------------------------------------------------------
; Upper 4K of EPROM
;------------------------------------------------------------------------
ORG UPPER_4K ; Functions, Subroutines ( With RET )
IFDEF AnyKB
include ".\kbd\Kbmatrix.asm"
include ".\kbd\KBscan.asm"
ENDIF
IFDEF USBKB
include ".\kbd\KBusb.asm"
ENDIF
IFDEF PS2KB
include ".\kbd\ps2_io.asm"
include ".\kbd\ps2key.asm"
ENDIF
IFDEF CombiKB
include ".\kbd\ck.asm"
ENDIF
include "ocp.asm"
;------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -