spec 1.6 KB
#include "musicrom.h"
#include "music.h"
#include "UniversalSP.h"


/*
 * ROM spec file
 */
beginseg
	name "code"
	flags BOOT OBJECT
	entry boot
	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 0x80118000
	include "gfxzbuffer.o"
endseg

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

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

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

beginseg
	name "sfxbank"
	flags RAW
	include "$(ROOT)/usr/lib/PR/soundbanks/sfx.ctl"
endseg

beginseg
	name "sfxtable"
	flags RAW
	include "$(ROOT)/usr/lib/PR/soundbanks/sfx.tbl"
endseg

beginseg
	name "midibank"
	flags RAW
	include "$(ROOT)/usr/lib/PR/soundbanks/GenMidiBank.ctl"
endseg

beginseg
	name "miditable"
	flags RAW
	include "$(ROOT)/usr/lib/PR/soundbanks/GenMidiBank.tbl"
endseg

beginseg
	name "seq"
	flags RAW
#ifdef COMP_SEQ_PLAY
	include "$(ROOT)/usr/lib/PR/sequences/cmpship.sbk"
#else
	include "$(ROOT)/usr/lib/PR/sequences/ship.sbk"
#endif
endseg

beginwave
	name "music"
	include "code"
	include "yield"
	include "static"
	include "dynamic"
	include "cfb"
	include "zbuffer"
	include "sfxtable"
	include "sfxbank"
	include "miditable"
	include "midibank"
	include "seq"
endwave