This commit is contained in:
4am 2018-04-19 14:46:06 -04:00
parent ab574eacdb
commit 7d8b9edb82
3 changed files with 12 additions and 4 deletions

View File

@ -115,6 +115,12 @@ OptionsDialog
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; internal functions ; internal functions
;------------------------------------------------------------------------------
; HandleOptions
;
; in: A = key pressed
; out: all registers and flags clobbered
;------------------------------------------------------------------------------
HandleOptionsKey HandleOptionsKey
ldx #_endOptionsKeys-kOptionsKeys ldx #_endOptionsKeys-kOptionsKeys
- cmp kOptionsKeys,x - cmp kOptionsKeys,x

View File

@ -143,8 +143,6 @@ ResumeDialog
; out: all registers and flags clobbered ; out: all registers and flags clobbered
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
HandleResumeKey HandleResumeKey
; A = key pressed
; out: all registers and flags clobbered
ldx #_endResumeKeys-kResumeKeys ldx #_endResumeKeys-kResumeKeys
- cmp kResumeKeys,x - cmp kResumeKeys,x
beq @found beq @found

View File

@ -159,9 +159,13 @@ iNumVersions=*+1
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; internal functions ; internal functions
HandleVersionsKey ;------------------------------------------------------------------------------
; A = key pressed ; HandleVersionsKey
;
; in: A = key pressed
; out: all registers and flags clobbered ; out: all registers and flags clobbered
;------------------------------------------------------------------------------
HandleVersionsKey
ldx #_endVersionsKeys-kVersionsKeys ldx #_endVersionsKeys-kVersionsKeys
- cmp kVersionsKeys,x - cmp kVersionsKeys,x
beq @found beq @found