gint: get 104 kB of end RAM instead of 64 kB with HH2

This commit is contained in:
Lephe 2024-06-04 17:57:09 +02:00
parent 58eb5d92d7
commit 371e593f1d
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -10,8 +10,10 @@ MEMORY
{
/* VRAM backup - our main fixed area to load code, size 320x528x2 */
ram (rwx): o = 0x8c052800, l = 337920
/* End-of-RAM area, 64 kB are safe to use according to experience */
eram (rwx): o = 0x8cff0000, l = 61184 /* 64k - 0x1100 */
/* End-of-RAM area, 104 kB are safe to use according to experience. What
happens is HollyHock itself is loaded at 0x8cfe0000 (128 kB before the
end) so we have to fit after it. CPBoy uses 0x8cfe6000, follow that. */
eram (rwx): o = 0x8cfe6000, l = 102144 /* 104k - 0x1100 */
/* Space for the vbr */
vbr (rwx): o = 0x8cffef00, l = 0x1100
/* On-chip IL memory */