mirror of
https://github.com/a2-4am/4cade.git
synced 2025-04-10 06:37:08 +00:00
.
This commit is contained in:
parent
eafd31134e
commit
7d004e7ea6
BIN
res/attic/sneakers/sneakers#060800
Executable file
BIN
res/attic/sneakers/sneakers#060800
Executable file
Binary file not shown.
BIN
res/attic/sneakers/sneakers.1#060800
Executable file
BIN
res/attic/sneakers/sneakers.1#060800
Executable file
Binary file not shown.
BIN
res/attic/wavynavy-prodos-uncompressed/wavy.navy#060800
Executable file
BIN
res/attic/wavynavy-prodos-uncompressed/wavy.navy#060800
Executable file
Binary file not shown.
BIN
res/attic/wavynavy-prodos-uncompressed/wavy.navy.1#060000
Executable file
BIN
res/attic/wavynavy-prodos-uncompressed/wavy.navy.1#060000
Executable file
Binary file not shown.
41
src/4cade.a
41
src/4cade.a
@ -186,31 +186,17 @@ AttractMode
|
||||
jmp BlankHGR
|
||||
|
||||
@HGRSlideshow
|
||||
jsr okvs_nth ; get filename of transition effect code
|
||||
!word gFXStore
|
||||
@fxindex !byte 0
|
||||
+STAY @fxkey
|
||||
|
||||
inc @fxindex ; increment transition effect index for next time
|
||||
jsr okvs_len
|
||||
!word gFXStore
|
||||
cmp @fxindex
|
||||
bne +
|
||||
lda #0
|
||||
sta @fxindex
|
||||
+
|
||||
; load transition effect code at $6000
|
||||
+LOAD_FILE kFXDirectory, @fxkey
|
||||
|
||||
jsr LoadTransition
|
||||
jsr okvs_iter
|
||||
!word gSlideshowStore
|
||||
!word HGRLoad
|
||||
rts
|
||||
@fxkey !word $FDFD
|
||||
|
||||
HGRLoad
|
||||
ldx $C000
|
||||
bmi Exit
|
||||
bpl +
|
||||
rts
|
||||
+
|
||||
+STAY PTR
|
||||
|
||||
; load HGR screenshot at $4000
|
||||
@ -249,6 +235,25 @@ WaitOnScreenshot
|
||||
@burn3 jsr Exit
|
||||
Exit rts
|
||||
|
||||
LoadTransition
|
||||
jsr okvs_nth ; get filename of transition effect code
|
||||
!word gFXStore
|
||||
@fxindex !byte 0
|
||||
+STAY @fxkey
|
||||
|
||||
inc @fxindex ; increment transition effect index for next time
|
||||
jsr okvs_len
|
||||
!word gFXStore
|
||||
cmp @fxindex
|
||||
bne +
|
||||
lda #0
|
||||
sta @fxindex
|
||||
+
|
||||
; load transition effect code at $6000
|
||||
+LOAD_FILE kFXDirectory, @fxkey
|
||||
rts
|
||||
@fxkey !word $FDFD
|
||||
|
||||
Reboot
|
||||
ldx #(@end-@start-1)
|
||||
- lda @start,x
|
||||
|
Loading…
x
Reference in New Issue
Block a user