mirror of
https://github.com/Pecusx/jataricart.git
synced 2026-05-20 22:33:22 +02:00
a little more flexibility to integrate flasher into other projects
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
|
||||
_SOURCE equ $6000
|
||||
BankNum equ $88
|
||||
MAIN_PROCESS_JMP equ $2003
|
||||
|
||||
opt h-
|
||||
org 0
|
||||
;dta a($ffff)
|
||||
;------------
|
||||
dta a(BankNum)
|
||||
dta a(BankNum)
|
||||
.print "#define BLK_BANKNUM 0x",*
|
||||
dta 0
|
||||
;------------
|
||||
dta a(_SOURCE)
|
||||
dta a(_SOURCE+$1fff)
|
||||
.print "#define BLK_SOURCE 0x",*
|
||||
:8192 dta 0
|
||||
;------------
|
||||
dta a($2e2)
|
||||
dta a($2e3)
|
||||
dta a(MAIN_PROCESS_JMP)
|
||||
TEnd
|
||||
;------------
|
||||
@@ -0,0 +1,3 @@
|
||||
.define TITLE dta c'Menu4Car generated'
|
||||
.define CARTSIZE dta c' 1024'
|
||||
.define BANKS 0
|
||||
@@ -0,0 +1,2 @@
|
||||
../makeflashwrite.sh . noprocess | grep "^#define" | sed "s/\\$//" >flashgenerator.h
|
||||
mads bankpart.asx | grep "^#define" | sed "s/\\$//" >>flashgenerator.h
|
||||
Reference in New Issue
Block a user