I'm trying to use a Colour Dreams mapper located on GitHub to dump Spiritual Warfare by Wisdom Tree and the end result seems to consistently be 40KB. I'm using the Kazzo by Infinite Lives. I believe the correct size should be around 257KB. I ran into a very similar issue with Romstar Thunder and Lightning using the GNROM mapper on GitHub. I think that may be worth mentioning because I hear the GNROM mapper should be very similar to Colour Dreams. Also, the issue I was having with Romstar Thunder and Lightning was producing incorrect dumps that were also 40KB.
The fix that worked for Thunder and Lightning came from lidnariq (thanks again). Lidnariq suggested that I try changing cpu_rom { size_base to 0x20000 and ppu_rom { size_base to 0x8000 (essentially, doubling these values in the script). I tried a similar solution for Colour Dreams. Doubling the size_base for cpu and ppu did change the file size of the dump to 140KB. However, that was still not large enough. I tried doubling again and the dump reverted to 40KB. Is there a way to know which values to use for these areas of the script, or is it usually trial and error? Also, if anyone thinks the issue may be somewhere else in the script unrelated to size_base feel free to let me know.
-Bootgood entry I referenced for Wisdom Tree Spiritual Warfare: http://bootgod.dyndns.org:7777/profile.php?id=960
-GitHub page I used for Anago Kazzo scripts: https://github.com/arantius/anago-scripts
-Similar conversation in NesDev that resulted in a fix for Romstar Thunder and Lightning: viewtopic.php?f=10&t=16464&start=15
-For convenience, I have the Colour Dreams Script Below that I am trying to use:
board <- {
mappernum = 11,
cpu_rom = {
size_base = 0x10000, size_max = 1 * mega, banksize = 0x8000
},
ppu_rom = {
size_base = 0x8000, size_max = 1 * mega, banksize = 0x2000
},
ppu_ramfind = false, vram_mirrorfind = true
};
function cpu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
}
function ppu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i << 4);
ppu_read(d, 0, 0x2000);
}
}
The fix that worked for Thunder and Lightning came from lidnariq (thanks again). Lidnariq suggested that I try changing cpu_rom { size_base to 0x20000 and ppu_rom { size_base to 0x8000 (essentially, doubling these values in the script). I tried a similar solution for Colour Dreams. Doubling the size_base for cpu and ppu did change the file size of the dump to 140KB. However, that was still not large enough. I tried doubling again and the dump reverted to 40KB. Is there a way to know which values to use for these areas of the script, or is it usually trial and error? Also, if anyone thinks the issue may be somewhere else in the script unrelated to size_base feel free to let me know.
-Bootgood entry I referenced for Wisdom Tree Spiritual Warfare: http://bootgod.dyndns.org:7777/profile.php?id=960
-GitHub page I used for Anago Kazzo scripts: https://github.com/arantius/anago-scripts
-Similar conversation in NesDev that resulted in a fix for Romstar Thunder and Lightning: viewtopic.php?f=10&t=16464&start=15
-For convenience, I have the Colour Dreams Script Below that I am trying to use:
board <- {
mappernum = 11,
cpu_rom = {
size_base = 0x10000, size_max = 1 * mega, banksize = 0x8000
},
ppu_rom = {
size_base = 0x8000, size_max = 1 * mega, banksize = 0x2000
},
ppu_ramfind = false, vram_mirrorfind = true
};
function cpu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i);
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
}
}
function ppu_dump(d, pagesize, banksize) {
for (local i = 0; i < pagesize; i += 1) {
cpu_write(d, 0x8000, i << 4);
ppu_read(d, 0, 0x2000);
}
}