MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   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/16/06 12:27 AM


> Generally what makes them devious is that all of their custom chips are *extremely*
> flexible.

I can only imagine how long you stared at those tilemaps before realizing how that chip was laid out (great work)! I have noticed that if you're expecting something really weird, you can find these things more easily though. I'd imagine you're at that point with this Konamii stuff (thus your comments when working on Lethal Enforcers). Heh, I'm really looking forward to seeing what they do with their custom 3d chips ...

> In this case, you're best off just defining each of the ranges (6000-6fff, 7000-7fff,
> 8000-fbff) as a READ32_HANDLER/WRITE32_HANDLER and auto_malloc()'ing the necessary
> RAM space.

Well shiver me' timbers - I had no idea you could just do it like that! Seriously, up until I read what you wrote, I've been severely mistaken about how you need to register memory in an ADDRESS_MAP. I've always figured the only way to write to a piece of memory in a memory handler is having a BASE for it. I've also thought the only way to bank is by using the banking functions... I dunno why, there are tons of examples right in front of me that tell me otherwise, I just haven't paid enough attention. I was *really* getting confused when trying to figure out how to make a memory handler for a piece of banked, shared memory

Anyways, thanks Arbee. Everything works in the banking without the old hacks now...

Andrew







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 58 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 4369