Made room for up to 10 textures.

This commit is contained in:
Martin Haye 2013-09-01 12:44:03 -07:00
parent 3b55e1a336
commit 0df74eef43
4 changed files with 7 additions and 7 deletions

View File

@ -59,9 +59,9 @@
<arg value="--config"/>
<arg value="${src.dir}/link.cfg"/>
<arg value="--start-addr"/>
<arg value="0x$6000"/>
<arg value="0x$7000"/>
<arg value="-o"/>
<arg value="${build.dir}/render.bin#6000"/>
<arg value="${build.dir}/render.bin#7000"/>
<fileset dir="${build.dir}" includes="render.o"/>
</apply>

View File

@ -1,7 +1,7 @@
.org $800
.pc02
pTex = $A
selectMip0 = $6003
selectMip0 = $7003
selectMip1 = selectMip0+3
selectMip2 = selectMip1+3
selectMip3 = selectMip2+3

View File

@ -23,7 +23,7 @@ outFile = open("expand.s", "w")
outFile.write(" .org $800\n")
outFile.write(" .pc02\n")
outFile.write("pTex = $A\n")
outFile.write("selectMip0 = $6003\n")
outFile.write("selectMip0 = $7003\n")
outFile.write("selectMip1 = selectMip0+3\n")
outFile.write("selectMip2 = selectMip1+3\n")
outFile.write("selectMip3 = selectMip2+3\n")

View File

@ -1,5 +1,5 @@
.org $6000
.org $7000
codeBeg = *
.pc02 ; Enable 65c02 ops
@ -82,8 +82,8 @@ screen = $2000
;---------------------------------
; The following are all in aux mem...
expandVec = $800
expandCode = $900 ; occupies $35 pages
textures = $3E00 ; in aux mem
expandCode = $900 ; size $2F8C
textures = $3900
tex0 = textures
tex1 = tex0+TEX_SIZE
tex2 = tex1+TEX_SIZE