2018-03-15 22:46:16 +00:00
|
|
|
; a very simple NES cartridge format
|
|
|
|
; uses mapper 0 and no bankswitching, so it's only good for very simple games
|
2018-03-17 16:09:30 +00:00
|
|
|
; assumes CHRROM is at chrrom:$0000-$1fff and PRGROM is at prgrom:$8000-$ffff
|
2018-03-15 22:46:16 +00:00
|
|
|
; uses horizontal mirroring; to use vertical mirroring, change byte #6 of the header from 0 to 1
|
2018-03-17 16:09:30 +00:00
|
|
|
; output file size: 40976 bytes
|
2018-03-15 22:46:16 +00:00
|
|
|
|
|
|
|
[compilation]
|
|
|
|
arch=ricoh
|
2018-07-12 16:30:35 +00:00
|
|
|
modules=nes_hardware,nes_routines,default_panic,stdlib
|
2018-03-15 22:46:16 +00:00
|
|
|
ro_arrays=true
|
|
|
|
|
|
|
|
[allocation]
|
|
|
|
zp_pointers=all
|
|
|
|
|
|
|
|
segments=default,prgrom,chrrom
|
|
|
|
default_code_segment=prgrom
|
|
|
|
|
|
|
|
segment_default_start=$200
|
|
|
|
segment_default_end=$7ff
|
|
|
|
|
|
|
|
segment_prgrom_start=$8000
|
|
|
|
segment_prgrom_end=$ffff
|
|
|
|
|
|
|
|
segment_chrrom_start=$0000
|
2018-03-17 16:09:30 +00:00
|
|
|
segment_chrrom_end=$1fff
|
2018-03-15 22:46:16 +00:00
|
|
|
|
2018-07-12 16:30:35 +00:00
|
|
|
[define]
|
|
|
|
NES=1
|
|
|
|
WIDESCREEN=0
|
|
|
|
KEYBOARD=0
|
|
|
|
JOYSTICKS=2
|
|
|
|
HAS_BITMAP_MODE=0
|
|
|
|
|
2018-03-15 22:46:16 +00:00
|
|
|
[output]
|
|
|
|
style=single
|
2018-03-17 16:09:30 +00:00
|
|
|
format=$4E,$45,$53,$1A, 2,1,0,0, 0,0,0,0, 0,0,0,0, prgrom:$8000:$ffff, chrrom:$0000:$1fff
|
2018-03-15 22:46:16 +00:00
|
|
|
extension=nes
|
|
|
|
|
|
|
|
|