mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
precompute gDFXStore data
This commit is contained in:
parent
73f3faab69
commit
dab54e2a96
3
Makefile
3
Makefile
@ -35,7 +35,8 @@ dsk: asm
|
|||||||
$(ACME) -r build/helper.lst src/helper/helper.a >>build/log
|
$(ACME) -r build/helper.lst src/helper/helper.a >>build/log
|
||||||
bin/buildokvs.sh "res/ATTRACT.CONF" "build/ATTRACT.DATA" >>build/log
|
bin/buildokvs.sh "res/ATTRACT.CONF" "build/ATTRACT.DATA" >>build/log
|
||||||
bin/buildokvs.sh "res/FX.CONF" "build/FX.DATA" >>build/log
|
bin/buildokvs.sh "res/FX.CONF" "build/FX.DATA" >>build/log
|
||||||
for f in res/TITLE res/COVER res/HELP res/GAMES.CONF build/ATTRACT.DATA build/FX.DATA res/DFX.CONF build/PREFS.CONF res/CREDITS res/HELPTEXT build/HELPER build/HELPFUL res/DECRUNCH res/JOYSTICK res/Finder.Data res/Finder.Root; do $(CADIUS) ADDFILE build/"$(DISK)" "/$(VOLUME)/" "$$f" >>build/log; done
|
bin/buildokvs.sh "res/DFX.CONF" "build/DFX.DATA" >>build/log
|
||||||
|
for f in res/TITLE res/COVER res/HELP res/GAMES.CONF build/ATTRACT.DATA build/FX.DATA build/DFX.DATA build/PREFS.CONF res/CREDITS res/HELPTEXT build/HELPER build/HELPFUL res/DECRUNCH res/JOYSTICK res/Finder.Data res/Finder.Root; do $(CADIUS) ADDFILE build/"$(DISK)" "/$(VOLUME)/" "$$f" >>build/log; done
|
||||||
bin/buildfileinfo.sh res/TITLE.HGR "06" "4000" >>build/log
|
bin/buildfileinfo.sh res/TITLE.HGR "06" "4000" >>build/log
|
||||||
bin/buildfileinfo.sh res/TITLE.DHGR "06" "4000" >>build/log
|
bin/buildfileinfo.sh res/TITLE.DHGR "06" "4000" >>build/log
|
||||||
bin/buildfileinfo.sh res/ACTION.HGR "06" "3FF8" >>build/log
|
bin/buildfileinfo.sh res/ACTION.HGR "06" "3FF8" >>build/log
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
LAUNCHER.SYSTEM=Type(FF),AuxType(2000),Access(C3)
|
LAUNCHER.SYSTEM=Type(FF),AuxType(2000),Access(C3)
|
||||||
PREFS.CONF=Type(04),AuxType(8000),Access(C3)
|
PREFS.CONF=Type(04),AuxType(8000),Access(C3)
|
||||||
GAMES.CONF=Type(04),AuxType(8000),Access(C3)
|
GAMES.CONF=Type(04),AuxType(8000),Access(C3)
|
||||||
ATTRACT.CONF=Type(04),AuxType(8000),Access(C3)
|
ATTRACT.DATA=Type(06),AuxType(6000),Access(C3)
|
||||||
FX.CONF=Type(04),AuxType(8000),Access(C3)
|
FX.DATA=Type(06),AuxType(6000),Access(C3)
|
||||||
DFX.CONF=Type(04),AuxType(8000),Access(C3)
|
DFX.DATA=Type(06),AuxType(6000),Access(C3)
|
||||||
COVER=Type(06),AuxType(2000),Access(C3)
|
COVER=Type(06),AuxType(2000),Access(C3)
|
||||||
TITLE=Type(06),AuxType(2000),Access(C3)
|
TITLE=Type(06),AuxType(2000),Access(C3)
|
||||||
HELP=Type(06),AuxType(2000),Access(C3)
|
HELP=Type(06),AuxType(2000),Access(C3)
|
||||||
|
@ -122,9 +122,9 @@ kFXDataFile
|
|||||||
!byte 7
|
!byte 7
|
||||||
!raw "FX.DATA"
|
!raw "FX.DATA"
|
||||||
|
|
||||||
kDFXConfFile
|
kDFXDataFile
|
||||||
!byte 8
|
!byte 8
|
||||||
!raw "DFX.CONF"
|
!raw "DFX.DATA"
|
||||||
|
|
||||||
kCreditsFile
|
kCreditsFile
|
||||||
!byte 7
|
!byte 7
|
||||||
|
@ -136,14 +136,10 @@ gMachineInDHGRMode=*+1
|
|||||||
; $6000..$BFFF/main contains transition effect code
|
; $6000..$BFFF/main contains transition effect code
|
||||||
;------------------------------------------------------------------------------
|
;------------------------------------------------------------------------------
|
||||||
LoadDHGRTransition
|
LoadDHGRTransition
|
||||||
jsr LoadFile ; load DHGR transition effects list into $8000
|
jsr LoadFile ; load DHGR transition effects list into $6000
|
||||||
!word kRootDirectory
|
!word kRootDirectory
|
||||||
!word kDFXConfFile
|
!word kDFXDataFile
|
||||||
- !word $8000
|
!word $6000
|
||||||
jsr ParseKeyValueList ; parse DHGR transition effects list into $6000
|
|
||||||
!word gDFXStore
|
|
||||||
!word -
|
|
||||||
!byte 0
|
|
||||||
|
|
||||||
jsr pref_get ; get DHGR transition effect from prefs
|
jsr pref_get ; get DHGR transition effect from prefs
|
||||||
!word kNextDFX
|
!word kNextDFX
|
||||||
|
Loading…
Reference in New Issue
Block a user