summaryrefslogtreecommitdiff
path: root/src/rom_header.s
blob: 9ab7240fba08f6ac2054d08b8a1835fbfaf01c94 (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@ Note: ROM header data is empty space here.
@       It's populated by gbafix using data provided in the Makefile. 

	.global Start
Start:
	b Init

	.global RomHeaderNintendoLogo
RomHeaderNintendoLogo:
	.space 156

RomHeaderGameTitle:
	.space 12

	.global RomHeaderGameCode
RomHeaderGameCode:
	.space 4

RomHeaderMakerCode:
	.space 2

RomHeaderMagic:
	.byte 0

RomHeaderMainUnitCode:
	.byte 0

RomHeaderDeviceType:
	.byte 0

RomHeaderReserved1:
	.space 7

	.global RomHeaderSoftwareVersion
RomHeaderSoftwareVersion:
	.byte 0

RomHeaderChecksum:
	.byte 0

RomHeaderReserved2:
	.space 2

    .word 0

    .global GPIOPortData
GPIOPortData:
    .2byte 0

    .global GPIOPortDirection
GPIOPortDirection:
    .2byte 0

    .global GPIOPortReadEnable
GPIOPortReadEnable:
    .2byte 0

    .2byte 0

    .space 0x34