mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-23 12:33:32 +00:00
Merge branch 'master' of https://github.com/a2-4am/4cade
This commit is contained in:
commit
03de1b2a1a
@ -37,6 +37,20 @@ BestMatchScore
|
|||||||
BestMatchIndex
|
BestMatchIndex
|
||||||
!byte 0
|
!byte 0
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
; ResetTextRank
|
||||||
|
; reset the Match variables to allow re-scanning (e.g. because of backspace)
|
||||||
|
|
||||||
|
; in: nothing
|
||||||
|
; out: X, MatchCount, BestMatchScore, BestMatchIndex zeroed
|
||||||
|
;------------------------------------------------------------------------------
|
||||||
|
ResetTextRank
|
||||||
|
ldx #0
|
||||||
|
stx MatchCount
|
||||||
|
stx BestMatchScore
|
||||||
|
stx BestMatchIndex
|
||||||
|
rts
|
||||||
|
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
; TextRankCallback
|
; TextRankCallback
|
||||||
; callback called by okvs_iter_values on gGamesListStore
|
; callback called by okvs_iter_values on gGamesListStore
|
||||||
@ -132,6 +146,7 @@ TextRankCallback
|
|||||||
pha
|
pha
|
||||||
ldy #1
|
ldy #1
|
||||||
lda (zpstring),y
|
lda (zpstring),y
|
||||||
|
+LOW_ASCII_TO_LOWER
|
||||||
sta firstletter
|
sta firstletter
|
||||||
pla
|
pla
|
||||||
ldx InputBuffer
|
ldx InputBuffer
|
||||||
|
@ -39,7 +39,8 @@ InputLoop
|
|||||||
|
|
||||||
cmp #$7F ; delete key
|
cmp #$7F ; delete key
|
||||||
bne +
|
bne +
|
||||||
- ldx #kInputBackspace
|
- jsr ResetTextRank
|
||||||
|
ldx #kInputBackspace
|
||||||
bne InputDispatch ; always branches
|
bne InputDispatch ; always branches
|
||||||
|
|
||||||
+ cmp #$08 ; left arrow = delete
|
+ cmp #$08 ; left arrow = delete
|
||||||
|
@ -121,9 +121,9 @@ cscript /nologo bin\rsync.js res\demo\* build\DEMO >>build\log
|
|||||||
cscript /nologo bin\rsync.js res\fx\* build\FX >>build\log
|
cscript /nologo bin\rsync.js res\fx\* build\FX >>build\log
|
||||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/FX" "build\FX" >>build\log
|
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/FX" "build\FX" >>build\log
|
||||||
%CADIUS% CREATEFOLDER "build\%DISK%" "/%VOLUME%/X/" >>build\log
|
%CADIUS% CREATEFOLDER "build\%DISK%" "/%VOLUME%/X/" >>build\log
|
||||||
cscript /nologo bin\do2po.js res\dsk build\po
|
rem cscript /nologo bin\do2po.js res\dsk build\po
|
||||||
cscript /nologo bin\rsync.js res\dsk\*.po build\po
|
rem cscript /nologo bin\rsync.js res\dsk\*.po build\po
|
||||||
cscript /nologo bin\extract.js build\po >>build\log
|
rem cscript /nologo bin\extract.js build\po >>build\log
|
||||||
echo y|1>nul 2>nul del /s build\X\.DS_Store
|
echo y|1>nul 2>nul del /s build\X\.DS_Store
|
||||||
echo y|1>nul 2>nul del /s build\X\PRODOS
|
echo y|1>nul 2>nul del /s build\X\PRODOS
|
||||||
echo y|1>nul 2>nul del /s build\X\LOADER.SYSTEM
|
echo y|1>nul 2>nul del /s build\X\LOADER.SYSTEM
|
||||||
|
Loading…
Reference in New Issue
Block a user