Makefile.makerom.n 1.13 KB
/*
 * ROM spec file
 */

/* include settings from project header file */
#define SPECFILE
#include "test_rom.h"

beginseg
	name "code"
	flags BOOT OBJECT
	entry boot
	address 0x80060000
	stack bootStack + STACKSIZE
	include "n_test_wave.o"	
	include "$(ROOT)/usr/lib/PR/rspboot.o"
	include "$(ROOT)/usr/lib/PR/gspF3DEX.fifo.o"
	include "$(ROOT)/usr/lib/PR/n_aspMain.o"
endseg

/* workspace */
beginseg
	name "cfb"
	flags OBJECT
	address 0x80000400
	include "test_workspace.o"
endseg



/* MUSIC SEGMENTS */

/* sample data - pointer bank */
beginseg
    name "pbank"
    flags RAW
    include "../SoundData/orch.ptr"
endseg

/* sample data - wave bank */
beginseg
    name "wbank"
    flags RAW
    include "../SoundData/orch.wbk"
endseg

/* tune data */
beginseg
    name "tune"
    flags RAW
    include "../SoundData/orch.bin"
endseg

/* effects data */
beginseg
    name "effects"
    flags RAW
    include "../SoundData/orch.bfx"
endseg


/*
 * Combine all of the segments into a single wave (ROM image)
 */

beginwave
	name "test_wave"

	include "code"

	include "pbank"
	include "wbank"
	include "tune"
	include "effects"

	include "cfb"

endwave