ckhub.asm

来自「用cy7c66113开发的HUB」· 汇编 代码 · 共 74 行

ASM
74
字号
;-------------------------------------------------------------------------
;   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 + =
减小字号Ctrl + -
显示快捷键?