Mini demo / tech MD stuff posted by members :)
Moderator: Mask of Destiny
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
You can't BTST VDP !!! You need to read to reg, and BTST the reg otherwise the thing locks up... at least it has always happened on my MDs.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Still doesn't work.....
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
That's because memory mirroring is a hardware effect that doesn't need to be emulated to make games work properly, and therefore is usually not emulated. In fact, it's more trouble to implement it in an emulator than to not implement it. On the other hand, it's easier to have mirroring in hardware, because that's fewer address lines to decode, and it doesn't matter that you can see the RAM in addresses that you won't use.Jorge Nuno wrote:My method detects 65536B in the emus, instead of 2MB so I assume it's the way to go ... but I can't test on my MD because my RAMcart isn't ready...
You can't use an emulator to develop hardware tests like that.
I tried it under genesis plus with debugging ON and here's what I get:TmEE co.(TM) wrote:I directly streamed the BIN to my flashcart form the Internet... no go....
(actually re-DLed and flashed )
Leave the RAM check out.... maybe it works then ?
You are writing into ROM space, maybe it doesn't work with flashcarts ?Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
if you want to to some debugging without hardware, here's the version I use for personal testing
drop your bin file into gen.exe, it's a DOS executable but should work
error.txt give you informations about useless or illegal (will lock the machine) access
http://www.file-upload.net/download-697174/gp.zip.html
I'm not sure to understand: are you talking about the fact that the 64KB or WRAM are mirrored between $e00000 and $ffffff ? this is emulated by most emulators..That's because memory mirroring is a hardware effect that doesn't need to be emulated to make games work properly, and therefore is usually not emulated. In fact, it's more trouble to implement it in an emulator than to not implement it. On the other hand, it's easier to have mirroring in hardware, because that's fewer address lines to decode, and it doesn't matter that you can see the RAM in addresses that you won't use.
how could a program detect 2MB of memory on the genesis ? I probably missed something
Last edited by Eke on Fri Feb 29, 2008 2:30 pm, edited 1 time in total.
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Jorge has added extra RAM to his MD (I guess it was 256KB ?)... And to fool my flashcart, you need to write 4x RIGHT commands... otherwise it goes on with normal operation.
And thanks for the tool Eke
And thanks for the tool Eke
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
.
it's a fully functionning emulator, with the exact same features/compatibility of the GCN port... ok ok, it has no sound, no joypad support or filtered graphics because I have absolutely no competence in allegro/sdl/directx/etc and only use it to test my builds
but it should be pretty accurate and run every known genny roms flawless (please tell me if it doesn't, I love debugging roms ) :
oh, I seeJorge has added extra RAM to his MD (I guess it was 256KB ?)
how dare you call this a "tool"And thanks for the tool Eke
it's a fully functionning emulator, with the exact same features/compatibility of the GCN port... ok ok, it has no sound, no joypad support or filtered graphics because I have absolutely no competence in allegro/sdl/directx/etc and only use it to test my builds
but it should be pretty accurate and run every known genny roms flawless (please tell me if it doesn't, I love debugging roms ) :
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
I found out that it is a emulator after DLing and finishing my post.... but emulator is technically a tool if you use it in dev process.
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
Sounds like the memory test is going one loop too far making it test 0x1000000 (which is the same as 0x000000 in the Genny).Eke wrote: I tried it under genesis plus with debugging ON and here's what I get:
You are writing into ROM space, maybe it doesn't work with flashcarts ?Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
Unused write16 00000000 = 0002 (PC = 00000320)
As mentioned in another post, some folks have increased the amount of RAM in the Genny. I myself am looking at trying to boost the work RAM to 2 MB. It's mostly a matter of finding the right PSRAM parts, then replacing the RAM on the main board.how could a program detect 2MB of memory on the genesis ?
-
- Very interested
- Posts: 159
- Joined: Sat Feb 24, 2007 11:35 pm
- Location: San Antonio, TX
Another thing to be careful about when doing a memory test is to not go outside the areas that get DTACK on a standard MD. Because there is no bus error circuitry, the system will lock up in those areas.
Even if your memory modification has DTACK, an unmodified MD will not have the DTACK and will still lock up.
Even if your memory modification has DTACK, an unmodified MD will not have the DTACK and will still lock up.
-
- Very interested
- Posts: 374
- Joined: Mon Jun 11, 2007 3:09 am
- Location: Azeitão, PT
-
- Very interested
- Posts: 2443
- Joined: Tue Dec 05, 2006 1:37 pm
- Location: Estonia, Rapla City
- Contact:
Nice demo !!!
Tested and found to work on real HW in any config
what is XPMCK ?
Tested and found to work on real HW in any config
what is XPMCK ?
Mida sa loed ? Nagunii aru ei saa
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen
http://www.tmeeco.eu
Files of all broken links and images of mine are found here : http://www.tmeeco.eu/FileDen