-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTestAPUltra.asm
More file actions
40 lines (28 loc) · 832 Bytes
/
TestAPUltra.asm
File metadata and controls
40 lines (28 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// https://github.com/emmanuel-marty/apultra
// use the compressor above to generate data
//
// NOTE : this file won't build AS IS it will need data
//
// we only write CODE and DATA
.file [name="TestAPUltra.prg", segments="CODE,DATA"]
// NOTE: doesn't get written to the prg
.segment ZP [start=$02]
.segment CODE [start=$0801]
.segment DATA [startAfter="CODE"]
.segment CODE
//-------------------------------------------------------------
// This creates a basic sys line that can start your program
//-------------------------------------------------------------
BasicUpstart2(Start)
// Our code
Start:
{
// just to disable the kernal messing around
sei
// unpack to $4000
APUltraUnpack(sprite_data,$4000)
rts
}
#import "APUltra.asm"
.segment DATA
sprite_data: .import binary <datafile>