attempt at building a cd image (failed)
[psx_test1] / psx.ld
diff --git a/psx.ld b/psx.ld
index 4f6d4cd..fc5a306 100644 (file)
--- a/psx.ld
+++ b/psx.ld
@@ -5,7 +5,7 @@ MEMORY {
        dcache : ORIGIN = 0x1f800000, LENGTH = 0x400
 }
 
-_stacktop = ORIGIN(ram) + LENGTH(ram);
+_stacktop = ORIGIN(ram) + LENGTH(ram) - 16;
 _dcache = ORIGIN(dcache);
 _dcache_end = ORIGIN(dcache) + LENGTH(dcache);
 _progsize = _imgend - _start;