mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +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
|
||||
!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
|
||||
; callback called by okvs_iter_values on gGamesListStore
|
||||
@ -132,6 +146,7 @@ TextRankCallback
|
||||
pha
|
||||
ldy #1
|
||||
lda (zpstring),y
|
||||
+LOW_ASCII_TO_LOWER
|
||||
sta firstletter
|
||||
pla
|
||||
ldx InputBuffer
|
||||
|
@ -39,7 +39,8 @@ InputLoop
|
||||
|
||||
cmp #$7F ; delete key
|
||||
bne +
|
||||
- ldx #kInputBackspace
|
||||
- jsr ResetTextRank
|
||||
ldx #kInputBackspace
|
||||
bne InputDispatch ; always branches
|
||||
|
||||
+ 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
|
||||
%CADIUS% ADDFOLDER "build\%DISK%" "/%VOLUME%/FX" "build\FX" >>build\log
|
||||
%CADIUS% CREATEFOLDER "build\%DISK%" "/%VOLUME%/X/" >>build\log
|
||||
cscript /nologo bin\do2po.js res\dsk build\po
|
||||
cscript /nologo bin\rsync.js res\dsk\*.po build\po
|
||||
cscript /nologo bin\extract.js build\po >>build\log
|
||||
rem cscript /nologo bin\do2po.js res\dsk build\po
|
||||
rem cscript /nologo bin\rsync.js res\dsk\*.po build\po
|
||||
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\PRODOS
|
||||
echo y|1>nul 2>nul del /s build\X\LOADER.SYSTEM
|
||||
|
Loading…
Reference in New Issue
Block a user