Fixed *KEY bug.
This commit is contained in:
parent
c8264a17b8
commit
179184d36c
BIN
applecorn.po
BIN
applecorn.po
Binary file not shown.
|
@ -326,8 +326,9 @@ STARKEYLP1 JSR GSREAD
|
|||
STA FKEYBUF,X ; Store char of definition
|
||||
>>> WRTAUX ; Back to writing aux again
|
||||
INX
|
||||
CPX MOVEDST-1 ; See if we are out of space
|
||||
CPX MOVEDST ; See if we are out of space
|
||||
BNE STARKEYLP1
|
||||
LDX FKEYNUM
|
||||
>>> WRTMAIN ; Write main memory
|
||||
STZ FKEYLENS,X ; Out of space. Set len=0
|
||||
>>> WRTAUX ; Back to writing aux again
|
||||
|
@ -367,7 +368,6 @@ KEYOPENGAP PHA
|
|||
SEC
|
||||
SBC MOVELEN ; Compute dest for move
|
||||
STA MOVEDST ; Dest offset for move
|
||||
LDX MOVESRC ; Source
|
||||
JSR MOVEKEYS ; Open the gap
|
||||
PLY
|
||||
PLX
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
*
|
||||
* Miscellaneous routines used by main memory code.
|
||||
|
||||
FKEYLENS DS $0F ; Length of f-key definitions 0..15
|
||||
FKEYBUF DS $FF ; 256 bytes for f-key definitions
|
||||
FKEYLENS DS 16 ; Length of f-key definitions 0..15
|
||||
FKEYBUF DS 256 ; 256 bytes for f-key definitions
|
||||
|
||||
* Copy a block of main memory
|
||||
* A1L/A1H: Start address
|
||||
|
|
Loading…
Reference in New Issue