mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-22 22:33:41 +00:00
.
This commit is contained in:
parent
2d392ba566
commit
a544cb9621
12
src/4cade.a
12
src/4cade.a
@ -88,6 +88,9 @@ ResetVector ; 6 bytes, copied to $100
|
||||
!source "src/ui.credits.a" ; \__ execution falls through
|
||||
!source "src/ui.browse.mode.a" ; /
|
||||
|
||||
!source "src/ui.attract.hgr.a" ; \__ execution falls through
|
||||
!source "src/glue.font.a" ; /
|
||||
|
||||
!source "src/prodos.path.a"
|
||||
!source "src/ui.overlay.a"
|
||||
!source "src/ui.offscreen.a"
|
||||
@ -95,19 +98,14 @@ ResetVector ; 6 bytes, copied to $100
|
||||
!source "src/ui.attract.shr.a"
|
||||
!source "src/ui.attract.gr.a"
|
||||
|
||||
!source "src/ui.attract.hgr.a" ; \__ execution falls through
|
||||
!source "src/glue.font.a" ; /
|
||||
|
||||
!source "src/ui.cheats.a"
|
||||
!source "src/glue.launch.a"
|
||||
!source "src/okvs.a"
|
||||
!source "src/wait.a"
|
||||
!source "src/textrank.a"
|
||||
!source "src/parse.common.a"
|
||||
|
||||
!source "src/parse.prefs.a" ; \__ execution falls through
|
||||
!source "src/glue.prorwts2.a" ; /
|
||||
|
||||
!source "src/parse.prefs.a"
|
||||
!source "src/glue.prorwts2.a"
|
||||
!source "src/ui.common.a"
|
||||
|
||||
; add new files above here so ui.wait stays last
|
||||
|
@ -4,7 +4,6 @@
|
||||
; ProRWTS2 glue functions
|
||||
;
|
||||
; Public functions
|
||||
; - SaveSmallFile
|
||||
; - LoadFile
|
||||
; - LoadDHRFile
|
||||
;
|
||||
@ -33,26 +32,6 @@
|
||||
; 'FX/RIPPLE' points to a file named 'RIPPLE' in a directory named 'FX' in the
|
||||
; PROGRAM ROOT DIRECTORY.
|
||||
|
||||
; /!\ execution falls through from parse.perfs/pref_set
|
||||
;------------------------------------------------------------------------------
|
||||
; SaveSmallFile
|
||||
; Save a file into memory all at once, using ProRWTS2.
|
||||
; /!\ Only first block (512 bytes) is written. Keep those files small. /!\
|
||||
; /!\ All 512 bytes are written to disk. Clear buffer before calling. /!\
|
||||
;
|
||||
; supports paths, see note
|
||||
;
|
||||
; in: A/Y points to data buffer
|
||||
; gPathname contains path+filename to write
|
||||
; out: all flags clobbered
|
||||
; all registers clobbered
|
||||
;------------------------------------------------------------------------------
|
||||
SaveSmallFile
|
||||
+STAY ldrlo ; set data buffer address for ProRWTS2
|
||||
jsr SwitchToBank2
|
||||
jsr SaveSmallFileInternal
|
||||
jmp SwitchToBank1
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; LoadFile
|
||||
; Load a file into memory all at once, using ProRWTS2
|
||||
|
@ -6,6 +6,7 @@
|
||||
; Public functions
|
||||
; - pref_get
|
||||
; - pref_set
|
||||
; - SaveSmallFile
|
||||
;
|
||||
; Public constants (all length-prefixed strings)
|
||||
; - kNextAttract
|
||||
@ -205,3 +206,21 @@ pref_set
|
||||
jsr SetPath
|
||||
+LDAY kGlobalPrefsBuffer
|
||||
; /!\ execution falls through here to glue.prorwts/SaveSmallFile
|
||||
;------------------------------------------------------------------------------
|
||||
; SaveSmallFile
|
||||
; Save a file into memory all at once, using ProRWTS2.
|
||||
; /!\ Only first block (512 bytes) is written. Keep those files small. /!\
|
||||
; /!\ All 512 bytes are written to disk. Clear buffer before calling. /!\
|
||||
;
|
||||
; supports paths, see note
|
||||
;
|
||||
; in: A/Y points to data buffer
|
||||
; gPathname contains path+filename to write
|
||||
; out: all flags clobbered
|
||||
; all registers clobbered
|
||||
;------------------------------------------------------------------------------
|
||||
SaveSmallFile
|
||||
+STAY ldrlo ; set data buffer address for ProRWTS2
|
||||
jsr SwitchToBank2
|
||||
jsr SaveSmallFileInternal
|
||||
jmp SwitchToBank1
|
||||
|
Loading…
x
Reference in New Issue
Block a user