Author Topic: Memory map help wanted  (Read 4944 times)

Laszo

  • ArcadeLifeStyler'
  • ***
  • Posts: 993
  • Building
    • View Profile
Memory map help wanted
« on: February 11, 2018, 07:29:37 AM »
Hi Guys,

I decided to get to know the Fluke 9010 a bit better so I took an unknow board with a z80 and started cleaning it and working out the pinout. It turned out to be a Naughty Boy. The game is working now so  I hooked up the Fluke and started in learn mode.

I was hoping to get a nice memory map but it did not give me that.

I got:

- 4 areas of ram
- No io mapping
- Rom areas that constantly change, only the first and the last area are always the same and test good. The other rom areas located by the Fluke fail the Fluke rom test. There are 8 eprom present so I would expect at least 8 rom memory areas but so far the learn mode only comes up with 6 or 7.

1  - So is this expected behavior for the Fluke?
2 - How should I go forward finding out what the real memory map is?

Any suggestions?



philmurr

  • Jr. Member
  • *
  • Posts: 31
    • View Profile
Re: Memory map help wanted
« Reply #1 on: February 11, 2018, 08:41:50 PM »
The mame driver describes the memory map:-

0000-3fff 16Kb Program ROM
4000-7fff 1Kb Work RAM (mirrored)
8000-87ff 2Kb Video RAM Charset A (lower priority, mirrored)
8800-8fff 2Kb Video RAM Charset b (higher priority, mirrored)
9000-97ff 2Kb Video Control write-only (mirrored)
9800-9fff 2Kb Video Scroll Register (mirrored)
a000-a7ff 2Kb Sound Control A (mirrored)
a800-afff 2Kb Sound Control B (mirrored)
b000-b7ff 2Kb 8bit Game Control read-only (mirrored)
b800-bfff 1Kb 8bit Dip Switch read-only (mirrored)
c000-ffff 16Kb Unused
memory mapped ports:
read-only:
b000-b7ff IN
b800-bfff DSW

Laszo

  • ArcadeLifeStyler'
  • ***
  • Posts: 993
  • Building
    • View Profile
Re: Memory map help wanted
« Reply #2 on: February 11, 2018, 10:44:15 PM »
Thank you, can you explain where/how you can find this and how I should read this when it comes to the fluke terms rom, ram i/o. The learn function comes up with the line 0000-3fff. All other lines are unknow to the fluke.

The mame driver describes the memory map:-

0000-3fff 16Kb Program ROM
4000-7fff 1Kb Work RAM (mirrored)
8000-87ff 2Kb Video RAM Charset A (lower priority, mirrored)
8800-8fff 2Kb Video RAM Charset b (higher priority, mirrored)
9000-97ff 2Kb Video Control write-only (mirrored)
9800-9fff 2Kb Video Scroll Register (mirrored)
a000-a7ff 2Kb Sound Control A (mirrored)
a800-afff 2Kb Sound Control B (mirrored)
b000-b7ff 2Kb 8bit Game Control read-only (mirrored)
b800-bfff 1Kb 8bit Dip Switch read-only (mirrored)
c000-ffff 16Kb Unused
memory mapped ports:
read-only:
b000-b7ff IN
b800-bfff DSW

ajhippel

  • Member
  • **
  • Posts: 147
    • View Profile
Re: Memory map help wanted
« Reply #3 on: April 10, 2018, 01:57:57 PM »
Hi,

go to:

https://github.com/mamedev/mame

klick "find file" button in the middle....

enter "naughty" in the field... (the drivers name is mostly an abbreviation of the full name...

choose the naughtyb.cpp file from the "drivers" folder   (the other files are the graphics driver.... for a memory map, we need the main driver)


most of the time, the memory map is explained in the remarks on top of the cpp file.

if not, search for "_map" in the driver...



there is too much butter on those trays

Laszo

  • ArcadeLifeStyler'
  • ***
  • Posts: 993
  • Building
    • View Profile
Re: Memory map help wanted
« Reply #4 on: April 11, 2018, 12:10:09 AM »
Thanks !!