mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-22 16:31:07 +00:00
SHELL:fixed bug in history
This commit is contained in:
parent
7cbf06faf4
commit
92dc3f937d
@ -112,6 +112,8 @@ History.GetPrev ldy #hCmdHistory
|
|||||||
tay
|
tay
|
||||||
sec
|
sec
|
||||||
adc (ZPPTR1),y
|
adc (ZPPTR1),y
|
||||||
|
bcs History.RTS out of buffer
|
||||||
|
|
||||||
ldy #CmdHistory.IDX
|
ldy #CmdHistory.IDX
|
||||||
cmp (pData),y
|
cmp (pData),y
|
||||||
bne .1 reached current index
|
bne .1 reached current index
|
||||||
|
Loading…
Reference in New Issue
Block a user