spec 1.54 KB
#include "spacerom.h"
#include "space.h"

/*
 * ROM spec file
 */
beginseg
	name "code"
	flags BOOT OBJECT
	entry boot
	address 0x80200000
	stack bootStack + STACKSIZE
	include "codesegment.o"
	include "$(ROOT)/usr/lib/PR/rspboot.o"
	include "$(ROOT)/usr/lib/PR/gspFast3D.o"
	include "$(ROOT)/usr/lib/PR/gspFast3D.dram.o"
	include "$(ROOT)/usr/lib/PR/aspMain.o"
endseg

beginseg
	name "yield"
	flags OBJECT
	after "code"
	include "gfxyield.o"
endseg

beginseg
	name "zbuffer"
	flags OBJECT
	address 0x80100000
	include "gfxzbuffer.o"
endseg

beginseg
	name "cfb"
	flags OBJECT
	address 0x80001000
	include "gfxcfb.o"
endseg

beginseg
	name "static"
	flags OBJECT
	number STATIC_SEGMENT
	include "gfxinit.o"
	include "gfxstatic.o"
	include "enterprise.o"
endseg

beginseg
	name "dynamic"
	flags OBJECT
	number DYNAMIC_SEGMENT
	include "gfxdynamic.o"
endseg

beginseg
	name "bank"
	flags RAW
#ifdef SIMPLEAUDIO
	include "$(ROOT)/usr/lib/PR/soundbanks/tone.ctl"
#else
	include "$(ROOT)/usr/lib/PR/soundbanks/GenMidiBank.ctl"
#endif
endseg

beginseg
	name "table"
	flags RAW
#ifdef SIMPLEAUDIO
	include "$(ROOT)/usr/lib/PR/soundbanks/tone.tbl"
#else
	include "$(ROOT)/usr/lib/PR/soundbanks/GenMidiBank.tbl"
#endif
endseg

beginseg
	name "seq"
	flags RAW
#ifdef SIMPLEAUDIO
	include "$(ROOT)/usr/lib/PR/sequences/onenote.seq"
#else
	include "$(ROOT)/usr/lib/PR/sequences/startrek.seq"
#endif
endseg

beginwave
	name "space"
	include "code"
	include "yield"
	include "static"
	include "dynamic"
	include "cfb"
	include "zbuffer"
	include "table"
	include "bank"
	include "seq"
endwave