File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -191,17 +191,6 @@ int main(int argc, char **argv) {
191
191
192
192
fseek (context .rom , (context .page + 1 )* PAGE_SIZE - 3 , SEEK_SET );
193
193
194
- if (context .c_headers ) {
195
- printf ("#ifndef __JUMPTABLE_H\n#define __JUMPTABLE_H\n\n" );
196
- printf ("#define PCALL(ADDRESS) \\\n"
197
- "\t.if ADDRESS & 0xFF \\ \\\n"
198
- "\t\trst 0x20 \\ \\\n"
199
- "\t\t.dw ADDRESS \\ \\\n"
200
- "\t.else \\ \\\n"
201
- "\t\tcall 0x4000 - (((ADDRESS >> 8) + 1) * 3) \\ \\\n"
202
- "\t.endif\n\n" );
203
- }
204
-
205
194
for (ent = context .symbols ; ent ; ent = ent -> next ) {
206
195
fputc (0xC3 , context .rom );
207
196
fputc (ent -> address & 0xff , context .rom );
@@ -214,10 +203,6 @@ int main(int argc, char **argv) {
214
203
}
215
204
}
216
205
217
- if (context .c_headers ) {
218
- printf ("\n#endif" );
219
- }
220
-
221
206
fclose (context .rom );
222
207
223
208
return 0 ;
You can’t perform that action at this time.
0 commit comments