Makefile.makedisk.n 1.27 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 0x80000400
	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

/* colour frame buffers (16bit 320x240 - 2 screens - 0x4b000 bytes) */
/*
beginseg
	name "cfb"
	flags OBJECT
	address 0x80000400
	include "data_cfb.o"
endseg
*/

/* Yield buffer for graphics task */
/*
beginseg
	name "yield"
	flags OBJECT
	after "code"
	include "data_gfxyield.o"
endseg
*/

/* MUSIC SEGMENTS */

/* sample data - pointer bank */
beginseg
    name "pbank"
	lba after "code"
    flags RAW
    include "../SoundData/ddtest0.ptr"
endseg

/* sample data - wave bank */
beginseg
    name "wbank"
	lba after "pbank"
    flags RAW
    include "../SoundData/ddtest0.wbk"
endseg

/* tune data */
beginseg
    name "tune"
	lba after "wbank"
    flags RAW
    include "../SoundData/ddtest0.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 "yield"
	include "cfb"
*/
endwave