debug.h

来自「辞典 dict3.asm.grammar.asm,newword.asm 学」· C头文件 代码 · 共 46 行

H
46
字号
; ***************************************************************************
; *     Project : Electronic Dictionary                                     *
; *        Date : 2003.9                                                    *
; *   File Name : DEBUG.H                                                   *
; ***************************************************************************

        argchk  off

;[M]-----------------------------------------------[M]
;
;[M]-----------------------------------------------[M]
ShowVal8 macro  _sv1
        ldx   _sv1
        LA2XY
        stx     TextBuffor+2*16+12
        sty     TextBuffor+2*16+13
        LUpdateScreen
        endm

;[M]-----------------------------------------------[M]
;
;[M]-----------------------------------------------[M]
ShowVal16 macro  _sv1,_sv2
        ldx   _sv1
        LA2XY
        stx     TextBuffor+0
        sty     TextBuffor+1

        ldx     #' '
        stx     TextBuffor+2

        ldx   _sv2
        LA2XY
        stx     TextBuffor+3
        sty     TextBuffor+4
        LUpdateScreen
        endm

;[M]-----------------------------------------------[M]
;       Wait....
;[M]-----------------------------------------------[M]
WaitLoop macro
_waitlab jmp     _waitlab
        endm

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?