Makefile.makerom 1.03 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 "test_wave.o"	
	include "$(ROOT)/usr/lib/PR/rspboot.o"
	include "$(ROOT)/usr/lib/PR/gspF3DEX.fifo.o"
	include "$(ROOT)/usr/lib/PR/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/drumtest.ptr"
endseg

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

/* tune data */
beginseg
    name "tune"
    flags RAW
    include "../../SoundData/dt_song1.bin"
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 "cfb"

endwave