Makefile.makerom.n 1.02 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

/* worksapce */
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/drumtest.ptr"
endseg

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

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


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

beginwave
	name "test_wave"

	include "code"

	include "pbank"
	include "wbank"
	include "tune1"

	include "cfb"

endwave