2021-07-08 12:46:35 +00:00
|
|
|
; Test driver to exercise graphics routines.
|
2021-08-06 19:41:23 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
REL
|
|
|
|
DSK MAINSEG
|
2021-08-06 19:41:23 +00:00
|
|
|
|
2021-08-26 13:52:43 +00:00
|
|
|
use Locator.Macs.s
|
|
|
|
use Misc.Macs.s
|
2021-08-25 14:38:02 +00:00
|
|
|
use EDS.GSOS.MACS.s
|
2021-08-26 13:52:43 +00:00
|
|
|
use Tool222.Macs.s
|
|
|
|
use Util.Macs.s
|
2021-10-06 12:10:09 +00:00
|
|
|
use CORE.MACS.s
|
2021-08-26 21:45:23 +00:00
|
|
|
use ../../src/GTE.s
|
|
|
|
use ../../src/Defs.s
|
2021-07-29 10:35:09 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
mx %00
|
2021-07-29 10:35:09 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
; Feature flags
|
2021-10-06 12:10:09 +00:00
|
|
|
NO_INTERRUPTS equ 0 ; turn off for crossrunner debugging
|
|
|
|
NO_MUSIC equ 1 ; turn music + tool loading off
|
2021-07-12 05:16:18 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
; Typical init
|
|
|
|
phk
|
|
|
|
plb
|
2020-08-19 05:35:30 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
jsl EngineStartUp
|
2020-08-19 05:35:30 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
lda #^MyPalette
|
|
|
|
ldx #MyPalette
|
|
|
|
ldy #0
|
|
|
|
jsl SetPalette
|
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
ldx #0
|
|
|
|
jsl SetScreenMode
|
2020-12-08 00:38:20 +00:00
|
|
|
|
2021-08-06 02:19:43 +00:00
|
|
|
; Set up our level data
|
2021-10-06 12:10:09 +00:00
|
|
|
jsr BG0SetUp
|
2021-10-08 04:54:45 +00:00
|
|
|
jsr BG1SetUp
|
2021-10-06 12:10:09 +00:00
|
|
|
jsr TileAnimInit
|
2021-08-17 14:33:27 +00:00
|
|
|
|
2021-07-18 13:59:19 +00:00
|
|
|
; Allocate room to load data
|
2020-08-19 05:35:30 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
jsl AllocBank ; Alloc 64KB for Load/Unpack
|
|
|
|
sta BankLoad ; Store "Bank Pointer"
|
2021-07-18 13:59:19 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
jsr MovePlayerToOrigin ; Put the player at the beginning of the map
|
2021-10-11 19:09:38 +00:00
|
|
|
|
|
|
|
jsr InitOverlay ; Initialize the status bar
|
2021-08-09 11:08:09 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
lda #DIRTY_BIT_BG0_REFRESH ; Redraw all of the tiles on the next Render
|
|
|
|
ora #DIRTY_BIT_BG1_REFRESH
|
|
|
|
tsb DirtyBits
|
2021-08-08 02:22:37 +00:00
|
|
|
|
2021-10-11 19:09:38 +00:00
|
|
|
stz frameCount
|
2021-10-12 02:39:30 +00:00
|
|
|
ldal OneSecondCounter
|
|
|
|
sta oldOneSecondCounter
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
lda #$FFFF
|
2021-08-25 14:38:02 +00:00
|
|
|
jsl Render
|
2020-08-23 05:25:39 +00:00
|
|
|
EvtLoop
|
2021-10-08 04:54:45 +00:00
|
|
|
jsl DoTimers
|
|
|
|
jsl Render
|
2021-10-11 19:09:38 +00:00
|
|
|
inc frameCount
|
2021-10-08 04:54:45 +00:00
|
|
|
|
2021-10-12 02:39:30 +00:00
|
|
|
ldal OneSecondCounter
|
|
|
|
cmp oldOneSecondCounter
|
|
|
|
beq :noudt
|
|
|
|
sta oldOneSecondCounter
|
|
|
|
jsr UdtOverlay
|
|
|
|
stz frameCount
|
|
|
|
:noudt
|
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
jsl ReadControl
|
2021-10-06 12:10:09 +00:00
|
|
|
and #$007F ; Ignore the buttons for now
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
cmp #'q'
|
|
|
|
bne :1
|
|
|
|
brl Exit
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
:1
|
|
|
|
cmp #'l'
|
2021-08-25 14:38:02 +00:00
|
|
|
bne :1_1
|
|
|
|
jsr DoLoadFG
|
2021-10-06 12:10:09 +00:00
|
|
|
brl EvtLoop
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
:1_1 cmp #'b'
|
|
|
|
bne :2
|
|
|
|
jsr DoLoadBG1
|
2021-10-06 12:10:09 +00:00
|
|
|
brl EvtLoop
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
:2 cmp #'m'
|
|
|
|
bne :3
|
|
|
|
jsr DumpBanks
|
2021-10-06 12:10:09 +00:00
|
|
|
brl EvtLoop
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
:3 cmp #'f' ; render a 'f'rame
|
2021-08-25 14:38:02 +00:00
|
|
|
bne :4
|
|
|
|
jsl Render
|
2021-10-06 12:10:09 +00:00
|
|
|
brl EvtLoop
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
:4 cmp #'h' ; Show the 'h'eads up display
|
2021-08-25 14:38:02 +00:00
|
|
|
bne :5
|
|
|
|
jsr DoHUP
|
2021-10-06 12:10:09 +00:00
|
|
|
brl EvtLoop
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
:5 cmp #'1' ; User selects a new screen size
|
2021-08-25 14:38:02 +00:00
|
|
|
bcc :6
|
|
|
|
cmp #'9'+1
|
|
|
|
bcs :6
|
|
|
|
sec
|
|
|
|
sbc #'1'
|
|
|
|
tax
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl SetScreenMode
|
2021-10-08 04:54:45 +00:00
|
|
|
jsr MovePlayerToOrigin
|
2021-08-25 14:38:02 +00:00
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:6 cmp #'t'
|
|
|
|
bne :7
|
|
|
|
jsr DoTiles
|
|
|
|
brl EvtLoop
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
:7 cmp #$15 ; left = $08, right = $15, up = $0B, down = $0A
|
2021-08-25 14:38:02 +00:00
|
|
|
bne :8
|
|
|
|
lda #1
|
|
|
|
jsr MoveRight
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:8 cmp #$08
|
|
|
|
bne :9
|
|
|
|
lda #1
|
|
|
|
jsr MoveLeft
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:9 cmp #$0B
|
|
|
|
bne :10
|
|
|
|
lda #1
|
|
|
|
jsr MoveUp
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:10 cmp #$0A
|
|
|
|
bne :11
|
|
|
|
lda #1
|
|
|
|
jsr MoveDown
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:11 cmp #'d'
|
|
|
|
bne :12
|
|
|
|
lda #1
|
|
|
|
jsr Demo
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:12 cmp #'z'
|
|
|
|
bne :13
|
|
|
|
jsr AngleUp
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:13 cmp #'x'
|
|
|
|
bne :14
|
|
|
|
jsr AngleDown
|
|
|
|
brl EvtLoop
|
|
|
|
|
|
|
|
:14 brl EvtLoop
|
2021-03-22 02:59:54 +00:00
|
|
|
|
2021-07-08 12:46:35 +00:00
|
|
|
; Exit code
|
|
|
|
Exit
|
2021-08-25 14:38:02 +00:00
|
|
|
jsl EngineShutDown
|
2021-07-12 05:16:18 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
_QuitGS qtRec
|
2021-07-08 12:46:35 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
bcs Fatal
|
|
|
|
Fatal brk $00
|
2021-07-30 13:01:16 +00:00
|
|
|
|
2021-10-12 02:39:30 +00:00
|
|
|
MyPalette dw $0000,$0777,$0F31,$0E51,$00A0,$02E3,$0BF1,$0FA4,$0FD7,$0EE6,$0F59,$068F,$01CE,$09B9,$0EDA,$0EEE
|
2021-10-06 12:10:09 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
StartMusic
|
|
|
|
pea #^MusicFile
|
|
|
|
pea #MusicFile
|
|
|
|
_NTPLoadOneMusic
|
2021-07-08 12:46:35 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
pea $0001 ; loop
|
2021-08-25 14:38:02 +00:00
|
|
|
_NTPPlayMusic
|
|
|
|
rts
|
2021-07-08 12:46:35 +00:00
|
|
|
|
2021-08-08 02:22:37 +00:00
|
|
|
; Position the screen with the botom-left corner of the tilemap visible
|
|
|
|
MovePlayerToOrigin
|
2021-10-06 12:10:09 +00:00
|
|
|
lda #0 ; Set the player's position
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl SetBG0XPos
|
2021-08-25 14:38:02 +00:00
|
|
|
lda #0
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl SetBG1XPos
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
lda TileMapHeight
|
|
|
|
asl
|
|
|
|
asl
|
|
|
|
asl
|
|
|
|
sec
|
|
|
|
sbc ScreenHeight
|
|
|
|
pha
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl SetBG0YPos
|
2021-08-25 14:38:02 +00:00
|
|
|
pla
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl SetBG1YPos
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
rts
|
2021-08-08 02:22:37 +00:00
|
|
|
|
2021-07-18 13:59:19 +00:00
|
|
|
ClearBankLoad
|
2021-08-25 14:38:02 +00:00
|
|
|
lda BankLoad
|
|
|
|
phb
|
|
|
|
pha
|
|
|
|
plb
|
|
|
|
ldx #$FFFE
|
|
|
|
:lp sta: $0000,x
|
|
|
|
dex
|
|
|
|
dex
|
|
|
|
cpx #0
|
|
|
|
bne :lp
|
|
|
|
plb
|
|
|
|
plb
|
|
|
|
rts
|
|
|
|
|
|
|
|
SecondsStr str 'SECONDS'
|
|
|
|
TicksStr str 'TICKS'
|
2021-03-22 02:59:54 +00:00
|
|
|
|
|
|
|
; Print a bunch of messages on screen
|
|
|
|
DoHUP
|
2021-08-25 14:38:02 +00:00
|
|
|
lda #SecondsStr
|
|
|
|
ldx #{160-12*4}
|
|
|
|
ldy #$7777
|
|
|
|
jsr DrawString
|
2021-10-06 12:10:09 +00:00
|
|
|
lda OneSecondCounter ; Number of elapsed seconds
|
|
|
|
ldx #{160-4*4} ; Render the word 4 charaters from right edge
|
2021-08-25 14:38:02 +00:00
|
|
|
jsr DrawWord
|
|
|
|
|
|
|
|
lda #TicksStr
|
|
|
|
ldx #{8*160+160-12*4}
|
|
|
|
ldy #$7777
|
|
|
|
jsr DrawString
|
|
|
|
PushLong #0
|
|
|
|
_GetTick
|
|
|
|
pla
|
|
|
|
plx
|
|
|
|
ldx #{8*160+160-4*4}
|
|
|
|
jsr DrawWord
|
|
|
|
rts
|
2020-08-25 02:59:58 +00:00
|
|
|
|
2021-07-09 20:38:32 +00:00
|
|
|
; Fill up the virtual buffer with tile data
|
|
|
|
DoTiles
|
2021-08-25 14:38:02 +00:00
|
|
|
:row equ 1
|
|
|
|
:column equ 3
|
|
|
|
:tile equ 5
|
2021-07-08 12:46:35 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
pea $0000 ; Allocate local variable space
|
2021-08-25 14:38:02 +00:00
|
|
|
pea $0000
|
|
|
|
pea $0000
|
2020-11-30 12:38:20 +00:00
|
|
|
|
2021-07-09 20:38:32 +00:00
|
|
|
:rowloop
|
2021-08-25 14:38:02 +00:00
|
|
|
lda #0
|
|
|
|
sta :column,s
|
|
|
|
lda #$0010
|
|
|
|
sta :tile,s
|
2020-08-26 04:40:49 +00:00
|
|
|
|
2021-07-09 20:38:32 +00:00
|
|
|
:colloop
|
2021-08-25 14:38:02 +00:00
|
|
|
lda :row,s
|
|
|
|
tay
|
|
|
|
lda :column,s
|
|
|
|
tax
|
|
|
|
lda :tile,s
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl CopyBG0Tile
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
lda :column,s
|
|
|
|
inc
|
|
|
|
sta :column,s
|
|
|
|
cmp #41
|
|
|
|
bcc :colloop
|
|
|
|
|
|
|
|
lda :row,s
|
|
|
|
inc
|
|
|
|
sta :row,s
|
|
|
|
cmp #26
|
|
|
|
bcc :rowloop
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
pla ; restore the stack
|
2021-08-25 14:38:02 +00:00
|
|
|
pla
|
|
|
|
pla
|
|
|
|
rts
|
2021-07-08 12:46:35 +00:00
|
|
|
|
2021-07-16 18:09:16 +00:00
|
|
|
; Load a binary file in the BG1 buffer
|
|
|
|
DoLoadBG1
|
2021-08-25 14:38:02 +00:00
|
|
|
lda BankLoad
|
|
|
|
ldx #BG1DataFile
|
|
|
|
jsr LoadFile
|
2021-07-16 22:05:29 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
ldx BankLoad
|
|
|
|
lda #0
|
|
|
|
ldy BG1DataBank
|
2021-08-26 21:12:08 +00:00
|
|
|
jsl CopyBinToBG1
|
2021-07-16 22:05:29 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
lda BankLoad
|
|
|
|
ldx #BG1AltDataFile
|
|
|
|
jsr LoadFile
|
2021-07-16 22:05:29 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
ldx BankLoad
|
|
|
|
lda #0
|
|
|
|
ldy BG1AltBank
|
2021-08-26 21:12:08 +00:00
|
|
|
jsl CopyBinToBG1
|
2021-07-16 22:05:29 +00:00
|
|
|
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
2021-07-16 18:09:16 +00:00
|
|
|
|
2021-07-18 13:59:19 +00:00
|
|
|
; Load a raw pixture into the code buffer
|
|
|
|
DoLoadFG
|
2021-08-25 14:38:02 +00:00
|
|
|
lda BankLoad
|
|
|
|
ldx #FGName
|
|
|
|
jsr LoadFile
|
2021-07-18 13:59:19 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
ldx BankLoad ; Copy it into the code field
|
2021-08-25 14:38:02 +00:00
|
|
|
lda #0
|
2021-08-26 21:12:08 +00:00
|
|
|
jsl CopyBinToField
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
2021-07-18 13:59:19 +00:00
|
|
|
|
2021-07-09 20:38:32 +00:00
|
|
|
; Load a simple picture format onto the SHR screen
|
2020-08-23 05:25:39 +00:00
|
|
|
DoLoadPic
|
2021-08-25 14:38:02 +00:00
|
|
|
lda BankLoad
|
2021-10-06 12:10:09 +00:00
|
|
|
ldx #ImageName ; Load+Unpack Boot Picture
|
|
|
|
jsr LoadPicture ; X=Name, A=Bank to use for loading
|
2020-08-23 05:25:39 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
ldx BankLoad ; Copy it into the code field
|
2021-08-25 14:38:02 +00:00
|
|
|
lda #0
|
2021-08-26 13:52:43 +00:00
|
|
|
jsl CopyPicToField
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
2020-08-23 05:25:39 +00:00
|
|
|
|
2020-08-19 05:35:30 +00:00
|
|
|
; Graphics helpers
|
|
|
|
|
2020-08-23 05:25:39 +00:00
|
|
|
LoadPicture
|
2021-10-06 12:10:09 +00:00
|
|
|
jsr LoadFile ; X=Nom Image, A=Banc de chargement XX/00
|
2021-08-25 14:38:02 +00:00
|
|
|
bcc :loadOK
|
|
|
|
rts
|
2020-08-23 05:25:39 +00:00
|
|
|
:loadOK
|
2021-10-06 12:10:09 +00:00
|
|
|
jsr UnpackPicture ; A=Packed Size
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
|
|
|
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
UnpackPicture sta UP_PackedSize ; Size of Packed Data
|
|
|
|
lda #$8000 ; Size of output Data Buffer
|
2021-08-25 14:38:02 +00:00
|
|
|
sta UP_UnPackedSize
|
2021-10-06 12:10:09 +00:00
|
|
|
lda BankLoad ; Banc de chargement / Decompression
|
|
|
|
sta UP_Packed+1 ; Packed Data
|
2021-08-25 14:38:02 +00:00
|
|
|
clc
|
|
|
|
adc #$0080
|
2021-10-06 12:10:09 +00:00
|
|
|
stz UP_UnPacked ; On remet a zero car modifie par l'appel
|
2021-08-25 14:38:02 +00:00
|
|
|
stz UP_UnPacked+2
|
2021-10-06 12:10:09 +00:00
|
|
|
sta UP_UnPacked+1 ; Unpacked Data buffer
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
PushWord #0 ; Space for Result : Number of bytes unpacked
|
|
|
|
PushLong UP_Packed ; Pointer to buffer containing the packed data
|
|
|
|
PushWord UP_PackedSize ; Size of the Packed Data
|
|
|
|
PushLong #UP_UnPacked ; Pointer to Pointer to unpacked buffer
|
|
|
|
PushLong #UP_UnPackedSize ; Pointer to a Word containing size of unpacked data
|
2021-08-25 14:38:02 +00:00
|
|
|
_UnPackBytes
|
2021-10-06 12:10:09 +00:00
|
|
|
pla ; Number of byte unpacked
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
UP_Packed hex 00000000 ; Address of Packed Data
|
|
|
|
UP_PackedSize hex 0000 ; Size of Packed Data
|
|
|
|
UP_UnPacked hex 00000000 ; Address of Unpacked Data Buffer (modified)
|
|
|
|
UP_UnPackedSize hex 0000 ; Size of Unpacked Data Buffer (modified)
|
2020-08-19 05:35:30 +00:00
|
|
|
|
|
|
|
; Basic I/O function to load files
|
|
|
|
|
2021-07-18 13:59:19 +00:00
|
|
|
LoadFile
|
2021-10-06 12:10:09 +00:00
|
|
|
stx openRec+4 ; X=File, A=Bank (high word) assumed zero for low
|
2021-08-25 14:38:02 +00:00
|
|
|
stz readRec+4
|
|
|
|
sta readRec+6
|
|
|
|
jsr ClearBankLoad
|
|
|
|
|
|
|
|
:openFile _OpenGS openRec
|
|
|
|
bcs :openReadErr
|
|
|
|
lda openRec+2
|
|
|
|
sta eofRec+2
|
|
|
|
sta readRec+2
|
|
|
|
|
|
|
|
_GetEOFGS eofRec
|
|
|
|
lda eofRec+4
|
|
|
|
sta readRec+8
|
|
|
|
lda eofRec+6
|
|
|
|
sta readRec+10
|
|
|
|
|
|
|
|
_ReadGS readRec
|
|
|
|
bcs :openReadErr
|
|
|
|
|
|
|
|
:closeFile _CloseGS closeRec
|
|
|
|
clc
|
2021-10-06 12:10:09 +00:00
|
|
|
lda eofRec+4 ; File Size
|
2021-08-25 14:38:02 +00:00
|
|
|
rts
|
|
|
|
|
|
|
|
:openReadErr jsr :closeFile
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
|
|
|
|
PushWord #0
|
|
|
|
PushLong #msgLine1
|
|
|
|
PushLong #msgLine2
|
|
|
|
PushLong #msgLine3
|
|
|
|
PushLong #msgLine4
|
|
|
|
_TLTextMountVolume
|
|
|
|
pla
|
|
|
|
cmp #1
|
|
|
|
bne :loadFileErr
|
|
|
|
brl :openFile
|
|
|
|
:loadFileErr sec
|
|
|
|
rts
|
|
|
|
|
|
|
|
msgLine1 str 'Unable to load File'
|
|
|
|
msgLine2 str 'Press a key :'
|
|
|
|
msgLine3 str ' -> Return to Try Again'
|
|
|
|
msgLine4 str ' -> Esc to Quit'
|
2020-08-19 05:35:30 +00:00
|
|
|
|
2021-07-29 10:35:09 +00:00
|
|
|
; Data storage
|
2021-08-25 14:38:02 +00:00
|
|
|
MusicFile str '1/main.ntp'
|
|
|
|
BG1DataFile strl '1/bg1a.bin'
|
|
|
|
BG1AltDataFile strl '1/bg1b.bin'
|
|
|
|
|
|
|
|
ImageName strl '1/test.pic'
|
|
|
|
FGName strl '1/fg1.bin'
|
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
openRec dw 2 ; pCount
|
|
|
|
ds 2 ; refNum
|
|
|
|
adrl FGName ; pathname
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
eofRec dw 2 ; pCount
|
|
|
|
ds 2 ; refNum
|
|
|
|
ds 4 ; eof
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
readRec dw 4 ; pCount
|
|
|
|
ds 2 ; refNum
|
|
|
|
ds 4 ; dataBuffer
|
|
|
|
ds 4 ; requestCount
|
|
|
|
ds 4 ; transferCount
|
2021-08-25 14:38:02 +00:00
|
|
|
|
2021-10-06 12:10:09 +00:00
|
|
|
closeRec dw 1 ; pCount
|
|
|
|
ds 2 ; refNum
|
2021-08-25 14:38:02 +00:00
|
|
|
|
|
|
|
qtRec adrl $0000
|
|
|
|
da $00
|
|
|
|
|
2021-08-26 13:52:43 +00:00
|
|
|
PUT App.Msg.s
|
|
|
|
PUT Actions.s
|
|
|
|
PUT font.s
|
|
|
|
|
2021-08-26 21:45:23 +00:00
|
|
|
PUT gen/App.TileMapBG0.s
|
|
|
|
PUT gen/App.TileMapBG1.s
|
2021-10-06 12:10:09 +00:00
|
|
|
PUT gen/App.TileSetAnim.s
|
2021-10-11 19:09:38 +00:00
|
|
|
|
|
|
|
PUT Overlay.s
|