forked from kervinck/gigatron-rom
-
Notifications
You must be signed in to change notification settings - Fork 2
/
interface.json
166 lines (157 loc) · 5.38 KB
/
interface.json
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"romTypeValue_ROMv1" : "0x1c",
"romTypeValue_ROMv2" : "0x20",
"romTypeValue_ROMv3" : "0x28",
"romTypeValue_ROMv4" : "0x38",
"romTypeValue_ROMv5" : "0x40",
"romTypeValue_DEVROM" : "0xf8",
"zeroConst" : "0x0000",
"memSize" : "0x0001",
"entropy" : "0x0006",
"videoY" : "0x0009",
"frameCount" : "0x000e",
"serialRaw" : "0x000f",
"buttonState" : "0x0011",
"xoutMask" : "0x0014",
"vPC" : "0x0016",
"vPCL" : "0x0016",
"vPCH" : "0x0017",
"vAC" : "0x0018",
"vACL" : "0x0018",
"vACH" : "0x0019",
"vLR" : "0x001a",
"vLRL" : "0x001a",
"vLRH" : "0x001b",
"vSP" : "0x001c",
"romType" : "0x0021",
"channelMask_v4" : "0x0021",
"sysFn" : "0x0022",
"sysArgs0" : "0x0024",
"sysArgs1" : "0x0025",
"sysArgs2" : "0x0026",
"sysArgs3" : "0x0027",
"sysArgs4" : "0x0028",
"sysArgs5" : "0x0029",
"sysArgs6" : "0x002a",
"sysArgs7" : "0x002b",
"soundTimer" : "0x002c",
"ledState_v2" : "0x002e",
"ledTempo" : "0x002f",
"userVars" : "0x0030",
"oneConst" : "0x0080",
"userVars2" : "0x0081",
"v6502_PC" : "0x001a",
"v6502_PCL" : "0x001a",
"v6502_PCH" : "0x001b",
"v6502_A" : "0x0018",
"v6502_X" : "0x002a",
"v6502_Y" : "0x002b",
"videoTable" : "0x0100",
"vReset" : "0x01f0",
"vIRQ_v5" : "0x01f6",
"videoTop_v5" : "0x01f9",
"userCode" : "0x0200",
"soundTable" : "0x0700",
"screenMemory" : "0x0800",
"qqVgaWidth" : 160,
"qqVgaHeight" : 120,
"channel1" : "0x0100",
"channel2" : "0x0200",
"channel3" : "0x0300",
"channel4" : "0x0400",
"wavA" : 250,
"wavX" : 251,
"keyL" : 252,
"keyH" : 253,
"oscL" : 254,
"oscH" : 255,
"buttonRight" : 1,
"buttonLeft" : 2,
"buttonDown" : 4,
"buttonUp" : 8,
"buttonStart" : 16,
"buttonSelect" : 32,
"buttonB" : 64,
"buttonA" : 128,
"maxTicks" : 14,
"LDWI" : "0x0311",
"LD" : "0x031a",
"CMPHS_v5" : "0x031f",
"LDW" : "0x0321",
"STW" : "0x032b",
"BCC" : "0x0335",
"EQ" : "0x033f",
"GT" : "0x034d",
"LT" : "0x0350",
"GE" : "0x0353",
"LE" : "0x0356",
"LDI" : "0x0359",
"ST" : "0x035e",
"POP" : "0x0363",
"NE" : "0x0372",
"PUSH" : "0x0375",
"LUP" : "0x037f",
"ANDI" : "0x0382",
"CALLI_v5" : "0x0385",
"ORI" : "0x0388",
"XORI" : "0x038c",
"BRA" : "0x0390",
"INC" : "0x0393",
"CMPHU_v5" : "0x0397",
"ADDW" : "0x0399",
"PEEK" : "0x03ad",
"SYS" : "0x03b4",
"SUBW" : "0x03b8",
"DEF" : "0x03cd",
"CALL" : "0x03cf",
"ALLOC" : "0x03df",
"ADDI" : "0x03e3",
"SUBI" : "0x03e6",
"LSLW" : "0x03e9",
"STLW" : "0x03ec",
"LDLW" : "0x03ee",
"POKE" : "0x03f0",
"DOKE" : "0x03f3",
"DEEK" : "0x03f6",
"ANDW" : "0x03f8",
"ORW" : "0x03fa",
"XORW" : "0x03fc",
"RET" : "0x03ff",
"HALT" : "0x80b4",
"vIRQ_Return" : "0x0400",
"SYS_Exec_88" : "0x00ad",
"SYS_ReadRomDir_v5_80" : "0x00ef",
"SYS_Out_22" : "0x00f4",
"SYS_In_24" : "0x00f9",
"SYS_Random_34" : "0x04a7",
"SYS_LSRW7_30" : "0x04b9",
"SYS_LSRW8_24" : "0x04c6",
"SYS_LSLW8_24" : "0x04cd",
"SYS_Draw4_30" : "0x04d4",
"SYS_VDrawBits_134" : "0x04e1",
"SYS_LSRW1_48" : "0x0600",
"SYS_LSRW2_52" : "0x0619",
"SYS_LSRW3_52" : "0x0636",
"SYS_LSRW4_50" : "0x0652",
"SYS_LSRW5_50" : "0x066d",
"SYS_LSRW6_48" : "0x0687",
"SYS_LSLW4_46" : "0x06a0",
"SYS_Read3_40" : "0x06b9",
"SYS_Unpack_56" : "0x06c0",
"font32up" : "0x0700",
"font82up" : "0x0800",
"notesTable" : "0x0900",
"invTable" : "0x0a00",
"SYS_SetMode_v2_80" : "0x0b00",
"SYS_SetMemory_v2_54" : "0x0b03",
"SYS_SendSerial1_v3_80": "0x0b06",
"SYS_ExpanderControl_v4_40" : "0x0b09",
"SYS_Run6502_v4_80" : "0x0b0c",
"SYS_ResetWaveforms_v4_50" : "0x0b0f",
"SYS_ShuffleNoise_v4_46" : "0x0b12",
"SYS_SpiExchangeBytes_v4_134": "0x0b15",
"SYS_Sprite6_v3_64" : "0x0c00",
"SYS_Sprite6x_v3_64" : "0x0c40",
"SYS_Sprite6y_v3_64" : "0x0c80",
"SYS_Sprite6xy_v3_64" : "0x0cc0"
}