mahlemiut WIP

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

User avatar
Chad
Tournament Coordinator
Posts: 4463
Joined: Tue Mar 05, 2002 3:15 pm
Location: calif

Post by Chad »

wish i could understand emulation code enough to do something similar, i get thrown for a loop ever time i look at the ROM_START() #declaration, nice job Barry!
-skito
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Back to looking at Megaplay. If no one else wants to look at it.... I guess someone ought to.

Memory test now is completed. IC-3, IC-37, and IC-36 come up bad still. Must investigate this further.

Also added the second SN76489 (part of the SMS VDP). Now you get a sound when you insert a credit. :)
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Image

Sonic the Hedgehog hiscore screen. I've somehow got it to trigger a demo loop... I wish I knew how. :) No, I have no idea why the table data is corrupt.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
Haze
MARP Knight
MARP Knight
Posts: 350
Joined: Sat Mar 23, 2002 5:04 pm

Post by Haze »

cool
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Image Image

Image

Sonic and Tecmo World Cup now coin up and run demos at the right time. Still can't start them however.

EDIT: Actually, you CAN start them - button 4 being the Start button.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
zlk
MARPaltunnel Wrists
MARPaltunnel Wrists
Posts: 491
Joined: Sat Dec 07, 2002 11:41 pm

Post by zlk »

Keep up the good work!
User avatar
QRS
Editor
Posts: 954
Joined: Wed Feb 06, 2002 3:33 pm
Location: Sweden

Post by QRS »

Nice work Barry! Now go and fix the sound in Vandyke ;)
QRS
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Image Image

In-game DIP switches now work.
Instructions appear.
One more test passes. Only one more to figure out (IC-3 is only marked bad because of the startup kludge).

Still many things to do. Like cleaning up the driver, and splitting Megatech/Megaplay from the C2 driver. Sounds like work. :)

http://mahlemiut.marpirc.net/segac2-update1904-2.zip
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
The TJT
MARPaholic
MARPaholic
Posts: 2479
Joined: Wed Mar 06, 2002 10:56 am
Location: 20 Grand Palace

Post by The TJT »

Nice :P

Btw, what happened to Malzak...Can not submit at Marp?
Maybe I'll have to go after Alex Lux's Scramble semi-marathon then...
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Malzak is archived as it lacks collision detection. To get it working, I'll have to figure out just what those dozen-odd wires coming out of one of the S2636s (sprite chips) are supposed to do. An S2636 pinout might help, but I've never found one online.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
The TJT
MARPaholic
MARPaholic
Posts: 2479
Joined: Wed Mar 06, 2002 10:56 am
Location: 20 Grand Palace

Post by The TJT »

I searched google, and first link with s2636s search was:
http://www.watchersweb.com/stories/s2636.htm

I guess this won't help, nice family story though 8O
Haze
MARP Knight
MARP Knight
Posts: 350
Joined: Sat Mar 23, 2002 5:04 pm

Post by Haze »

btw barry, if you want to fix the megaplay logo then you need the yflip on the tiles doing something ...

find this code in segasyse.c and add the last 2 lines to it

tile_no = (vram_word & 0x01ff);
flipx = (vram_word & 0x0200) >> 9;
flipy = (vram_word & 0x0400) >> 10;
palette = (vram_word & 0x0800) >> 11;
priority= (vram_word & 0x1000) >> 12;

tilesline2= (line + vscroll) % 8;
if (flipy) tilesline2 = 7-tilesline2;
Haze
MARP Knight
MARP Knight
Posts: 350
Joined: Sat Mar 23, 2002 5:04 pm

Post by Haze »

QRS wrote:Nice work Barry! Now go and fix the sound in Vandyke ;)
custom nmk sound cpu / mcu, chances are it has internal code which can't be dumped (sound 'program' roms appear to contain data only)

might be possible to interpret the data and simulate it (although thats far from ideal) but emulating it may well be impossible.
User avatar
QRS
Editor
Posts: 954
Joined: Wed Feb 06, 2002 3:33 pm
Location: Sweden

Post by QRS »

Haze wrote: custom nmk sound cpu / mcu, chances are it has internal code which can't be dumped (sound 'program' roms appear to contain data only)

might be possible to interpret the data and simulate it (although thats far from ideal) but emulating it may well be impossible.
Yeah, Barry told me a long time ago (not in detail) that it may indeed be impossible to do it :( I was just trying to boost him by saying "if he can fix the megaplay games, sure he can fix anything!" :P
QRS
User avatar
mahlemiut
Editor
Posts: 4189
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

Fixed SMS VDP Y-Flip (thanks Haze) :)

Golden Axe II now starts and is playable.

The Megatech version of Golden Axe II should be startable now too, I have no idea where that fix went, but it's in there now. I'll fix it up to be the same as for Megaplay eventually, but this will do for now.

http://mahlemiut.marpirc.net/segac2-update2104.zip

Current issues:
How the BIOS tells the 68000 to reset has yet to determined. Games can go quite nutty after exiting from test mode, especially after the memory test.
Continuing without any credits in Sonic and Golden Axe II. Tecmo World Cup is fine here as for this game, the BIOS controls the continue functions.
Golden Axe II reads the amount of credits from 0xa02001 - just how that gets there is something to still figure out...

Note: Haze, if you want to switch off the GAME_NOT_WORKING flag, then that's fine with me. It's your call.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
Post Reply