mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
fix seek(0) and update demos for low-cost seek
This commit is contained in:
parent
67df3e36f0
commit
13d65a0b67
BIN
res/DEMO/AC
BIN
res/DEMO/AC
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/BB
BIN
res/DEMO/BB
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/BK
BIN
res/DEMO/BK
Binary file not shown.
BIN
res/DEMO/BOLO
BIN
res/DEMO/BOLO
Binary file not shown.
BIN
res/DEMO/BU
BIN
res/DEMO/BU
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CB
BIN
res/DEMO/CB
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CL
BIN
res/DEMO/CL
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/CYCLOD
BIN
res/DEMO/CYCLOD
Binary file not shown.
BIN
res/DEMO/DIG.DUG
BIN
res/DEMO/DIG.DUG
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/FALCONS
BIN
res/DEMO/FALCONS
Binary file not shown.
BIN
res/DEMO/FIREBUG
BIN
res/DEMO/FIREBUG
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/GUMBALL
BIN
res/DEMO/GUMBALL
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/MC
BIN
res/DEMO/MC
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/NI
BIN
res/DEMO/NI
Binary file not shown.
BIN
res/DEMO/NIBBLER
BIN
res/DEMO/NIBBLER
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/PACMAN
BIN
res/DEMO/PACMAN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/PM
BIN
res/DEMO/PM
Binary file not shown.
BIN
res/DEMO/POOYAN
BIN
res/DEMO/POOYAN
Binary file not shown.
BIN
res/DEMO/REPTON
BIN
res/DEMO/REPTON
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
res/DEMO/TB
BIN
res/DEMO/TB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -11,7 +11,7 @@
|
||||
; ...unused...
|
||||
; E000..E3FF - HGR font data
|
||||
; ...unused...
|
||||
; E8F2..FFEE - main program code
|
||||
; E8CA..FFEE - main program code
|
||||
; FFEF..FFF9 - API functions and global constants available for main program
|
||||
; code, prelaunchers, transition effects, &c.
|
||||
; (LoadFileDirect, Wait/UnwaitForVBL, MockingboardStuff, MachineStatus)
|
||||
@ -20,9 +20,9 @@
|
||||
; LC RAM BANK 2
|
||||
; D000..D5FF - ProRWTS data
|
||||
; D600..D8B4 - ProRWTS code
|
||||
; D8C5..DC86 - ProRWTS glue code
|
||||
; DC87..DC8C - backup of stack (during gameplay and self-running demos)
|
||||
; DC8D..DC92 - okvs cache (attract state saved across self-running demo)
|
||||
; D8C5..DC94 - ProRWTS glue code
|
||||
; DC95..DC9A - backup of stack (during gameplay and self-running demos)
|
||||
; DC9B..DCA0 - okvs cache (attract state saved across self-running demo)
|
||||
; ...unused...
|
||||
; DFB4..DFFF - (de)acceleration function
|
||||
;
|
||||
@ -202,7 +202,7 @@ iCurBlockLo = $D601 ; constant
|
||||
iCurBlockHi = $D603 ; constant
|
||||
launchpatch = $D853 ; glue.launch.a
|
||||
iAddToPath = $FEA5 ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
itraverse = $DB31 ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
itraverse = $DB3F ; Roger Rabbit, avoid, use Infiltrator 2 style instead
|
||||
ldrlo = $55 ; constant
|
||||
ldrhi = $56 ; constant
|
||||
namlo = $57 ; constant
|
||||
|
@ -218,6 +218,15 @@ ProDOS_enter
|
||||
resetval=$f0
|
||||
@imp_seek
|
||||
jsr @set_rdwrbuff
|
||||
lda sizelo
|
||||
ora ldrlo
|
||||
ora ldrhi
|
||||
bne @not_zero
|
||||
sta treeidx
|
||||
sta blkidx
|
||||
beq @link_jmpzp
|
||||
|
||||
@not_zero
|
||||
lda sizelo
|
||||
lsr
|
||||
pha
|
||||
|
Loading…
Reference in New Issue
Block a user