MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

drewcifer
One bad Mutha-(shut yo' mouth!)
Reged: 07/01/04
Posts: 428
Loc: Sweden
Send PM
Re: Memory banking in Polygonet Commanders
05/13/06 08:52 PM


> In other words, I believe they set this bit [ed: ffe3 & 0x0020] before
> they even think about doing memory accesses of any sort.

Just checked. Indeed - this is set before any external memory of any sort is touched by the dsp56k.

> I'll double-check when i get home tonight, but I believe the loop which does the
> checking is exactly the same as the loop which does the writing. Instead of a "jump
> to write subroutine" call though, there's a "jump to read-and-verify subroutine."

Confirmed. The loops are perfectly symmetric - the 'checking' loops just call a different jump to do memory reading instead of writing...

I'm guessing the behavior is reasonable, it just doesn't seem like MAME is set up to handle something like this. For now, I've implemented the bits at 0x001c as banking and have left the 0x0181 stuff as a hack. Whenever we get further with the driver, we'll probably have to fix things even more. Heh there still 4 bits in that output port which haven't been touched yet .

Is this the type of thing that makes Konami such devious hardware designers?

Andrew

* Maybe one way to handle this is to have two seperate memory maps and switch between them based on bit 0002 and 0020? Gonna' look to see if that's possible...







Entire thread
Subject Posted by Posted on
* Memory banking in Polygonet Commanders drewcifer 05/10/06 02:22 AM
. * Re: Memory banking in Polygonet Commanders R. Belmont  05/11/06 09:21 PM
. * Re: Memory banking in Polygonet Commanders drewcifer  05/11/06 10:52 PM
. * Re: Memory banking in Polygonet Commanders drewcifer  05/13/06 08:52 PM
. * Re: Memory banking in Polygonet Commanders R. Belmont  05/13/06 11:13 PM
. * Re: Memory banking in Polygonet Commanders Haze  05/16/06 01:53 AM
. * Re: Memory banking in Polygonet Commanders drewcifer  05/16/06 12:27 AM
. * Re: Memory banking in Polygonet Commanders Anonymous  08/25/06 06:21 AM
. * Re: Memory banking in Polygonet Commanders R. Belmont  05/16/06 02:37 AM

Extra information Permissions
Moderator:  Pi 
0 registered and 110 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4368