
/* source files */
nandwrite.obj

/* opts */
-c
-a
-stack 0x400


MEMORY
{
	TCODE:	origin = 0x800000  length = 0x10000
	DATA:   origin = 0x810000  length = 0x10000
	STACK:  origin = 0x820000  length = 0x400

	WRITE_BUF : origin   = 0x0c000000 length = 0x40000
	READ_BUF  : origin   = 0x0c040000 length = 0x40000
	SPARE_BUF : origin   = 0x0c080000 length = 0x20000
	SCRATCH_BUF : origin = 0x0c0a0000 length = 0x20000
}

SECTIONS
{
	.text > TCODE

	.data   > DATA
	.far    > DATA
	.const  > DATA
	.switch > DATA
	.bss    > DATA
	.cinit  > DATA

	.stack > STACK

	.d1 > WRITE_BUF
	{
		_writeBlock = .;
	}

	.d2 > READ_BUF
	{
		_readBlock = .;
	}

	.d3 > SPARE_BUF
	{
		_spareBlock = .;
	}

	.d4 > SCRATCH_BUF
	{
		_scratchBlock = .;
	}
}


