Previous Thread
Next Thread
Print Thread
Page 1 of 14 1 2 3 13 14
#118351 01/08/21 05:08 PM
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Micro Craft Dimension 68K, currently with a hack because they're doing something we don't support with the disks (double-stepping assuming a double-density disk in a high-density drive):

[Linked Image from rbelmont.mameworld.info]

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
SM1810, Russian clone of the Intel ISBC 86/30 with a clone/hack of IRMX.

[Linked Image from i.imgur.com]

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Starting to work on lo-res graphics for the Dimension:

[Linked Image from rbelmont.mameworld.info]

Joined: Dec 1969
Posts: 920
Likes: 3
R
Senior Member
Offline
Senior Member
R
Joined: Dec 1969
Posts: 920
Likes: 3
I haven't looked at MAME in quite a while, but I have to say I'm thrilled to see that improvements to support for ridiculously obscure hardware continue to appear.

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
Coming soon:

[Linked Image from i.imgur.com]

The ROMs were rescued from here: https://twitter.com/bitsavers/status/1348706959160078336

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Heh! Glad those ROMs actually read out OK.

Joined: Feb 2000
Posts: 219
Likes: 1
T
Senior Member
Offline
Senior Member
T
Joined: Feb 2000
Posts: 219
Likes: 1
I've been working on finishing the driver for the Ensoniq Mirage:

[Linked Image from macmess.org]


tim lindner
tlindner@macmess.org
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
That's great, Tim!

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
The recently dumped Konami card game "Pontoon" has a classic Konami POST that's putting up a fight! eek

[Linked Image from rbelmont.mameworld.info]

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
One step forward, then find out the sound program contains no valid Z80 code.

[Linked Image from rbelmont.mameworld.info]

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
And we got a proper dump of the sound program. It's weird - I don't know if it was made with some kind of compiler or they gave it to the intern, but the code's very strange.

[Linked Image from rbelmont.mameworld.info]

Joined: Jun 2001
Posts: 71
Likes: 4
O
Member
Offline
Member
O
Joined: Jun 2001
Posts: 71
Likes: 4
Nice progress!

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
De-Skeletonizing the m3.cpp driver:

[Linked Image from i.imgur.com]

Rescue thread is here: http://www.vcfed.org/forum/showthre...LSI-M-THREE-computer-restoration-project

That monitor ROM is unofficial, and there is no other software as far as I can tell.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
I love seeing machines I've never heard of coming up in MAME. Hopefully some software will turn up for it.

Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
This is the Kyber Minus from Kyber Calcolatori, it's a CP/M clone thing.

[Linked Image from i.imgur.com]

The owner has provided a boot floppy image for it but am having trouble getting it to even attempt to boot, a ready signal from the floppy drive should generate an interrupt to trigger the boot process. I have a schematic so may submit as is in case anyone else can make more sense of it.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
Insight Enterprises Z80 Single Board Computer (maybe?)

[Linked Image from i.imgur.com]

No idea what this thing really is or even if it's complete. Only source of info is this video:

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
I've been in contact with Steve Hunt, who dumped the m3 ROMs and wrote the replacement monitor ROM. He gave me his custom CP/M floppy images, so that I've been able to hook up floppy support:

[Linked Image from i.imgur.com]

[Linked Image from i.imgur.com]

Still no official software, but at least the machine is usable now.

I also have a new version of the monitor ROM that supports booting from IDE.

3 members like this: SteveH, Stiletto, R. Belmont
Joined: Mar 2002
Posts: 1,349
Likes: 106
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,349
Likes: 106
G.T. Block Challenger (1978 arcade game) dumped by chaneman.
I was unable to find where it reads the paddle (or maybe ball/paddle collision detection)

[Linked Image from i.imgur.com]

1 member likes this: Duke
Joined: Jun 2001
Posts: 71
Likes: 4
O
Member
Offline
Member
O
Joined: Jun 2001
Posts: 71
Likes: 4
Very nice to see this very rare game dumped and quickly emulated, too smile

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Neat. Did it actually use a green monitor? Most 70s games were black & white.

Joined: Mar 2002
Posts: 1,349
Likes: 106
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,349
Likes: 106
More likely a green overlay (it is using a color overlay on MAME)
https://sunsoft.fandom.com/wiki/G.T._Block_Challenger_(video_game)

Joined: Feb 2021
Posts: 1
G
Member
Offline
Member
G
Joined: Feb 2021
Posts: 1
Having researched Sun Electronics/Sunsoft for five years, I am really happy to finally see that G.T. Block Challenger have been dumped. I made that Fandom wiki page. The text is not very correct. I am almost finished with my first magazine about Sunsoft, where I cover their old games. So, I will be really happy to make changes to the text so it no longer says it is lost. And some screenshots will be great too.

Joined: Mar 2015
Posts: 65
Likes: 1
F
Member
Offline
Member
F
Joined: Mar 2015
Posts: 65
Likes: 1
Just a sneak peek of what PR #7695 will allow.. Emulated HP9845 connecting to Hercules-emulated IBM S/370 mainframe!

[Linked Image from fulivi.github.io]

(I wrote here the relevant instructions)

Thanks for watching!
--F.Ulivi

1 member likes this: Edstrom
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
The Regnecentralen RC759 can now boot one of the floppies:

[Linked Image from i.imgur.com]

Keyboard works, and the 82730 was much improved too.

There are random floppy I/O errors though and other disks don't even get that far. I'll probably take a break now, the 186 isn't really my favorite CPU.

1 member likes this: R. Belmont
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Some stuff you can do with the recently promoted Mac drivers. All of these are fresh installs from floppy images using the new floppy emulation.

Adobe Illlustrator
[Linked Image from rbelmont.mameworld.info]

Aldus FreeHand
[Linked Image from rbelmont.mameworld.info]

Aldus PageMaker
[Linked Image from rbelmont.mameworld.info]

Microsoft Word 5.1a
[Linked Image from rbelmont.mameworld.info]

2 members like this: Sune, Stiletto
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
I took a look at a random skeleton driver and fleshed it out:

[Linked Image from i.imgur.com]

It's a "Bingo Pinball". It partially works, but of course it's a bit pointless without ball physics simulation. The service mode is interesting though, it allows you to read and write all locations in memory.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Neat, Duke! I'd love to see more of these "everything but the physics" wireups for mechanical/pinball games.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Finally: CD-ROM on the Mac! AJR and Al Claus contributed to getting this far.

[Linked Image from rbelmont.mameworld.info]

And here's booting off of the System 7.5.3 CD-ROM:

[Linked Image from rbelmont.mameworld.info]

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
And of course once you have a CD-ROM drive working on the Mac, it must be time for Myst.

[Linked Image from rbelmont.mameworld.info]

1 member likes this: Sune
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
That's awesome. Why does the CD-ROM list "available space"?

Joined: Feb 2004
Posts: 2,526
Likes: 218
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,526
Likes: 218
Originally Posted by Duke
That's awesome. Why does the CD-ROM list "available space"?
Because it’s an HFS CD-ROM and the filesystem has some free blocks in it. It was probably prepared on a hard disk partition and then burned to CD-ROM.

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
The terminal for Sega's "Bingo Circus" was dumped last year. I've made it mostly work:

[Linked Image from i.imgur.com]

You can see the attract mode and use the service mode. However when you insert coins it tells you to wait for the game to start - here it wants to communicate with the host. In reality there are 8 terminals attached to the host system. Not an issue for MAME of course:

[Linked Image from i.imgur.com]

The machine info looks cool with 17 Z80 CPUs and more :P

Here's a picture of the full unit: https://segaretro.org/File:BingoCircus_Arcade_Cabinet.jpg

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
I'd love to see one of these server+terminals games actually fully working, so this is cool progress. Looks like the server is System 16-ish, and the terminals are upgraded Master Systems, so it oughta be possible to get it running.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
the problem is a lot of the time there are more boards than just server / terminal, at least with the EM ones, but yes, it would be good if one day we can just type "mame bingoc" and have it fire up a server and all the terminals

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
I'm curious about the Pontoon one in the 16-bit drivers, to this day I'm not sure if that's a terminal or the main screen.

Joined: Nov 2016
Posts: 71
Likes: 59
P
Member
Offline
Member
P
Joined: Nov 2016
Posts: 71
Likes: 59
Reached an initial milestone for the extremely rare NS32016-based Tektronix 6130 Intelligent Graphic Workstation. It was supposed to be part of a family of 6100 systems, but it never gained much traction. There's a slightly younger 4132 model which is very similar, mainly exchanging the MFM hard disk controller for SCSI, so hopefully that will be fairly straightforward to emulate as soon as firmware shows up.

It's starting up and passing a number of diagnostics before failing to boot and reverting to a strange monitor on the second serial port. The Am9516 DMA controller used by the floppy controller isn't implemented yet (also needed elsewhere, like Sun 3), and it doesn't like something about the i82586, but otherwise looking pretty good. Now we just need the 6100 version of UTek installation media or a hard disk image and we should be able to claim another unique Unix workstation emulation for MAME.

With this and the Acorn 32016 second processor now running the Panos operating system successfully, it seems like most of the bugs in the NS32000 CPU core are sorted out; the major remaining task is to implement the 32082 MMU. Fortunately given the abysmal performance of this CPU, emulating at full speed via interpreter is no problem.

[Linked Image from i.imgur.com]

Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
Coming soon (most likely tomorrow) to a pull request near you, the VTech "Smart Keyboard" peripheral for V.Smile:

[Linked Image from i.imgur.com]

EDIT: Pull request submitted.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Haze pointed out that x68000 Terra Drive doesn't move unless a keyboard key is pressed (and even that is flaky). https://github.com/mamedev/mame/commit/381d97ed9d8385058b06ebd2f22dc482e95642a4 fixes it.
[Linked Image from i.imgur.com]

1 member likes this: R. Belmont
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
it's noted in the software list (that note should be updated now it's fixed) so I can't take credit for the observation, I just mentioned it in passing conversation because I'm trying to put together some driving games to play on stream, and noticed both this and overtake had problems, with this one being mentioned, but no note at all for overtake (so I don't know if I'm doing something wrong there, but I can't get that one to recognize disk changes)

Joined: May 2010
Posts: 92
Likes: 2
R
r09 Offline
Member
Offline
Member
R
Joined: May 2010
Posts: 92
Likes: 2
Overtake is a bit weird with how it handles the disks. You need to:

- Boot with the system disk on drive 1 and data disk A on drive 2
- Select "game" from the first menu
- Wait a long time until it requests disk B
- At this point the machine should have ejected the system disk from drive 1 (the X68k has a Mac-like software-controlled ejection mechanism). Insert data disk B in its place.
- It will continue loading and eventually show another menu where you can actually start the game

It seems to have a lot of graphical glitches, though.

Last edited by r09; 05/14/21 09:43 AM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Yeah, the x68k emulation still has it's fair share of issues; seems to handle most of the shooters I've tried, but results with other types of game have been mixed, although I'm not always sure if that's user error or not (being a full-blown computer, there's plenty of room for user error, even if it's just using the wrong amount of RAM, or not understanding a disk prompt change, or not understanding a game needs HDD install, or some extra peripheral)

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
https://github.com/mamedev/mame/commit/c89891e4aa3746da8d3f325a6e4db5bd1468e1c8 fixes the overtake flickering. The pcm audio doesn't work though (the fm music does work if it's enabled in the menu). The walls beside the track which don't appear in XM6 seem to be in real hardware videos so AFAICT they aren't a graphic error.

[Linked Image from i.imgur.com]

Last edited by crazyc; 05/14/21 06:50 PM.
1 member likes this: R. Belmont
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
nice, definitely looks more like it'll be worth showing now.

is the cause of the PCM issue obvious? could it be lack of RAM, or the game needing to be HDD installed?

slightly off-topic, but does anybody know how to get Runner's High on the PC98 machines to run (which machines, which options etc.?) I can't tell from the notes if that will be worth showing, but they indicate it should be doing more than I could ever get it to do.

Joined: May 2010
Posts: 92
Likes: 2
R
r09 Offline
Member
Offline
Member
R
Joined: May 2010
Posts: 92
Likes: 2
As far as I can tell it's an emulation issue, the game requires 2 MB (the MAME default is 4) and it should be playing ADPCM sounds even with that.

Runner's High supports the PC-9801-86 sound card, so you probably want to use it. Also, I'd recommend using a 486-based machine like the Ce2 for the best speed.

The "right" way to run it would be using the DiscStation 10 CD, but there's also a "fake" floppy version in the softlist that was ripped from the CD, and it's easier to use. You could use this command line:

mame pc9821ce2 -cbus0 pc9801_86 -flop1 dstat_10:flop2

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17

1 member likes this: R. Belmont
Joined: May 2010
Posts: 92
Likes: 2
R
r09 Offline
Member
Offline
Member
R
Joined: May 2010
Posts: 92
Likes: 2
Since we're on an "old Japanese computers" theme now, my fix for the FM Towns audio balance just went in, so anything that uses FM+PCM or FM+CDDA (which means, of course, a lot of eroge, but also some "clean" stuff like Asuka 120%, Emit or Genocide Square) should sound a lot better.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
FM Towns Asuka 120% draws to the sprite ram while it's "busy". https://github.com/mamedev/mame/commit/f4db018d8e0841dfe5b98f99eb62f6059e4610cf changes it to draw at the end not the start. Picture doesn't really illustrate the fix well but the sprites were corrupt when the characters did moves.
[Linked Image from i.imgur.com]

Last edited by crazyc; 05/15/21 08:14 PM.
Joined: May 2010
Posts: 92
Likes: 2
R
r09 Offline
Member
Offline
Member
R
Joined: May 2010
Posts: 92
Likes: 2
I think the Asuka fix has broken some other things... I haven't tested too many, but Shadow of the Beast and Galaxy Force 2 hang when you are about to start playing, for example.

When I was investigating other things I found out that some games are very sensitive to the timing of the sprite flag, so maybe it's related to that.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Originally Posted by crazyc
https://github.com/mamedev/mame/commit/c89891e4aa3746da8d3f325a6e4db5bd1468e1c8 fixes the overtake flickering. The pcm audio doesn't work though (the fm music does work if it's enabled in the menu). The walls beside the track which don't appear in XM6 seem to be in real hardware videos so AFAICT they aren't a graphic error.

[Linked Image from i.imgur.com]

You can turn the walls on / off in the config menu before you start the game, it calls them Polywall

The game seems to work pretty well, although the tunnels on the Monaco track look like the raster isn't quite working as it should, I suspect it should repeat a blank line, instead it repeats the top of the road?
[Linked Image from ]

doesn't impact playability, but thought it was worth pointing out.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
It turns out to be an off by one in the tile bg scroll.
[Linked Image from i.imgur.com]
I'm not super comfortable with the fix though, regression tested is really needed.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
I had previously noticed other games where there was a line of bad pixels at the bottom (even DirectX IIRC) maybe related?

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Rather than a off by one, the partial updates were including the current line which was drawing it before the irq handler could update the scroll register. The line of bad pixel at the bottom is a harmless hack to make sure a raster irq at the last line would arrive before vblank (which broke akumajo), the correct solution would be to make 256 modes be 512 pixel high and double scan every line.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Ah, makes sense, and overtake looks great now. With terradrive working too I'll be sure to include both in the upcoming stream, as something a bit different

While still on the subject of x68k racing games, super hangon for the x68k seems to have a different issue, one with background colours often being rendered as black rather than as they should be. This means the music select screen has a black background, when it should be orange, and parts of the sky are black too. Had that one just been the sky, I would have guessed raster split too, but because an entire screen has the wrong background colour, I'm not so certain

(also does anybody know how to accelerate in groupx, also on the x68k, I can find the gear shift keys, I can see the mouse does some kind of steering thing at the top, but nothing seems to be move me forward)

Joined: May 2010
Posts: 92
Likes: 2
R
r09 Offline
Member
Offline
Member
R
Joined: May 2010
Posts: 92
Likes: 2
I got curious about Group X... it's pretty hard to guess the controls without a manual, but I think I figured it out.

First you have to map something to the HELP key on the keyboard and push it once, that's the car ignition. Then you shift gears with S and D, and push space to accelerate. You can steer the car by moving the mouse while holding down a button (I think it doesn't matter which one).

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
ah, thanks, I wouldn't have thought to map the HELP key, that's the unfortunate thing with systems that have keys not present on a PC keyboard :-)

it's a little odd in letting you redefine 4 of the keys (gear up / gear down / half-clutch and one other) but nothing else.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Quote
While still on the subject of x68k racing games, super hangon for the x68k seems to have a different issue, one with background colours often being rendered as black rather than as they should be. This means the music select screen has a black background, when it should be orange, and parts of the sky are black too. Had that one just been the sky, I would have guessed raster split too, but because an entire screen has the wrong background colour, I'm not so certain
[Linked Image from i.imgur.com]
This part is caused by apparently the hardware selects the lowest priority tile layer pixel to draw if all layers are transparent.

[Linked Image from i.imgur.com]
This one by the 0 color index being treated as transparent which as I recall I assumed was true based on other behavior but nothing expects it (at least nothing I know of... ).

1 member likes this: Haze
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Originally Posted by crazyc
Quote
While still on the subject of x68k racing games, super hangon for the x68k seems to have a different issue, one with background colours often being rendered as black rather than as they should be. This means the music select screen has a black background, when it should be orange, and parts of the sky are black too. Had that one just been the sky, I would have guessed raster split too, but because an entire screen has the wrong background colour, I'm not so certain
[Linked Image from i.imgur.com]
This part is caused by apparently the hardware selects the lowest priority tile layer pixel to draw if all layers are transparent.

[Linked Image from i.imgur.com]
This one by the 0 color index being treated as transparent which as I recall I assumed was true based on other behavior but nothing expects it (at least nothing I know of... ).

very nice, I'll be sure to give this one a spin in an upcoming stream :-)

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
[Linked Image from i.imgur.com]

Fixed the gaps in the full color sprites in Towns Shadow of the Beast 2.

1 member likes this: R. Belmont
Joined: Sep 2004
Posts: 392
Likes: 4
A
Senior Member
Offline
Senior Member
A
Joined: Sep 2004
Posts: 392
Likes: 4
Just added a fancy internal layout for the TX81Z, which is sounding quite reasonable now. (Sadly, missed the 0.232 cutoff, so you'll need top of tree.)

[Linked Image from aarongiles.com]

Also a 16:9-friendly view because the full one is hard to read unless you've got a 4k display:

[Linked Image from aarongiles.com]

(And yes, crt-geom-deluxe seems to be applying to the LCD display -- probably shouldn't)

1 member likes this: Sune
Joined: Sep 2004
Posts: 392
Likes: 4
A
Senior Member
Offline
Senior Member
A
Joined: Sep 2004
Posts: 392
Likes: 4
The TX81Z was actually a run-up to doing a PSR-60 layout. [Linked Image from aarongiles.com]

(Full resolution link)

Keys are hooked up (thanks to RB for already figuring out that part), but the copious buttons and LEDs will require emulating the little driver multiplexer chip. Shouldn't be too hard, I think.

The goal is to be able to switch instruments so I can see how the OPQ is handling things other than "organ", which seems to be the default.

Last edited by AaronGiles; 05/25/21 06:17 PM.
3 members like this: Stiletto, Duke, kmg
Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
[Linked Image from i.imgur.com]
Clamped the sprites to the sprite coordinate space rather than the layer size. Fixes the bottom of SofB2.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Fixed the visible area so Cotton is correctly stretched. The score bar is correctly opaque, at least in videos from unknown sources, too but the part above should either be black or in the overscan area. It's a bit neat to see the keyboard lights which seem to act as some kind of music visualization.
[Linked Image from i.imgur.com]

Last edited by crazyc; 05/27/21 02:25 AM.
1 member likes this: R. Belmont
Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Fixed the Mid-garts opening sequence.
[Linked Image from i.imgur.com]
As part of that fix most games have 512 lines now.

Edit: Fixed crash due to unimplemented dmac transfer array chaining. To run the actual game you have to boot the machine from disk 2 as disk 1 only contains the intro.
[Linked Image from i.imgur.com]

Last edited by crazyc; 05/29/21 02:53 AM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
another one I'll have to have a look at one stream

I've been testing a few more, and noticed that "ilmlaser Illumination Laser Rebuild" runs the menus in super slow-motion with the regular x68000 driver, but the menus are ok with the 16mhz 'x68kxvi' driver. Is that the same in other emulators? (if you manage to start the game it's fine in both drivers, it's just the menu where it's trying to do some raster effect that's painfully slow on the regular x68k)

there also seem to be quite a few games I can find videos of that aren't softlisted, so I guess some games need locating and documenting, unless they only exist in unsuitable formats.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
It's a regression in .232 as it is okay in .231.

Edit: Fixed, timings for the opening are very tight and refresh for the mode it uses were too fast. It uses hsync irq for the title effect and before when they were suppressed during vsync it had extra time to work with. Further testing shows that change to fix terra drive is correct and the slower refresh is also right.

Last edited by crazyc; 05/31/21 03:42 AM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
midgarts crashed when I reached level 3 on stream btw
Code
https://youtu.be/eyM190NfMWQ?t=4600

I seem to recall some other videos of the game play some kinda awful sounds at this point (death for those enemies?) could be related.

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Yes I saw that and the audio in XM6 does freak out there. It's loading the adpcm dma channel with bad data which seems to halt the cpu with a bus error. Maybe the dmac isn't supposed to cause bus errors? BTW, I did find a cheat 0x3ed1e is the lives counter.

Last edited by crazyc; 06/01/21 11:31 PM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
hmm I wonder if ADPCM is just meant to read blank data rather than causing a bus error in that case then (I guess XM6 doesn't generate the bus error, but does feed it garbage?)

was there an older non-gold Mid Garts release? maybe they cut a sound but forgot to remove the trigger? (or could it be a bad dump? failing to load a sound it needs?)

Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
Mid Garts was for PC98 (and MSX, etc): [video:youtube]
[/video]. Mid Garts Gold is a modified version (shooter instead of adventure hybrid) that came out later the same year on the x68000.

Last edited by kmg; 06/02/21 12:01 AM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
ah interesting, didn't know that, explains why it is so story heavy anyway. I'm curious to know if there are any original hardware videos for the x68k version to know if there's meant to be a sound effect at the point it crashes which isn't just garbage however (and if the dumped disk has ever been tested on hardware)

(this original release looks like a much better game too, although I guess it relies on more Japanese knowledge)

Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
This series of videos says it's original hardware: https://www.nicovideo.jp/watch/sm7111789.

From video description with [added translation]: キャプチャ環境 [capture environment] X68000 ACE-HD→XPC-4(D端子出力 [D-Terminal output])→MonsterX-i

The possible offending sound effect is at 10:45ish. Looks like it's the screech of the fiery griffins.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
yeah that's a proper sound effect, nothing like the other emulator, clearly not a bad pull.

does make me wonder if the dump is bad.

Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
There's this group: https://mijet.eludevisibility.org/Preservation/. I can't find a match for the opening disk 1, but the other 3 disks match MAME's software list (after format conversion). Notably they have marked the game disk 2 as [f], that is "fixed". Maybe it's related to whatever the presumable copy protection fix was? Also note they keep track of the non-fixed file in the separate "pristine" files list. I don't have that one either.

Last edited by kmg; 06/02/21 02:13 AM.
Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Originally Posted by Haze
hmm I wonder if ADPCM is just meant to read blank data rather than causing a bus error in that case then (I guess XM6 doesn't generate the bus error, but does feed it garbage?)
It's using link-chain mode so it ends up bouncing around reading semi-random locations in ram.

Originally Posted by kmg
The possible offending sound effect is at 10:45ish. Looks like it's the screech of the fiery griffins.
It's the death noise when any griffin is killed.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
given the 'fixed' image, I guess there is either some bug in the game here (or the image we have is from the same source as the non-fixed one listed?)

the question is does it crash on real hardware without the fix, is it protection, is the non-fixed one actually a bad / corrupt disk that's been dumped by multiple people...

I tried the NeoKobe image and that crashed in the same way, but for all I know they could have been converted from the same source too.

Also the magic selection does work on stage 2, but always defaults back to showing 'attitude' even when you have a different powerup selected (you can tell if you have argentina selected because you're slower but more powerful) that seems odd and doesn't match videos I can see?

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Originally Posted by Haze
given the 'fixed' image, I guess there is either some bug in the game here (or the image we have is from the same source as the non-fixed one listed?)

the question is does it crash on real hardware without the fix, is it protection, is the non-fixed one actually a bad / corrupt disk that's been dumped by multiple people...
What AJR posted in the shoutbox suggests that the dmac is supposed to receive the bus error and end the transfer and the cpu bus error input is gated off.

The game plays the sound then ignores the bus error when the dma goes off the rails. It's possible the developers made this mistake but didn't notice becuase the bus error ends the erroneous transfer.

Originally Posted by Haze
Also the magic selection does work on stage 2, but always defaults back to showing 'attitude' even when you have a different powerup selected (you can tell if you have argentina selected because you're slower but more powerful) that seems odd and doesn't match videos I can see?
Pressing space selects the magic.
I misread this, selecting the weapon works on stage 3 for all except argentina which, as you noted, always shows attitude. The nicovideo also shows that happen at 7:30.

Last edited by crazyc; 06/02/21 08:21 PM.
Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Originally Posted by crazyc
I misread this, selecting the weapon works on stage 3 for all except argentina which, as you noted, always shows attitude. The nicovideo also shows that happen at 7:30.

Ah, what a strange bug to have in the game, but yeah you're right, I saw it had changed to some of the other ones on a later level, but didn't notice it can never change to argentina even when you're using it.

I'm not even sure how you manage to program something that badly to be honest, it's the type of case where I'd start to suspect protection, but I don't think there's any indication these disks were protected?

For the sound, I wonder what the odds are on it trying to play valid, but wrong addresses? or is it hardcoded to an address that will always 'fail' and stop the dma?

Joined: Jan 2012
Posts: 890
Likes: 17
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 890
Likes: 17
Originally Posted by Haze
For the sound, I wonder what the odds are on it trying to play valid, but wrong addresses? or is it hardcoded to an address that will always 'fail' and stop the dma?
In the nicovideo video on stage 3 when the birds are shot sometimes they scream and sometimes they don't. This is the behavior I see with the bus errors working. When the bus errors are off like XM6 sometimes they scream and sometimes the audio freaks out for ~10sec. I guess to to be sure if the dump is bad we'd need to know whether the video is using original disks or not.

Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
Rudimentary Super A'Can sound, courtesy of mostly SuperCTR and OG, with some initial device fleshing-out done by myself.

[video:youtube]
[/video]

2 members like this: ssj, Osso
Joined: Mar 2008
Posts: 225
Likes: 7
R
Senior Member
Online Content
Senior Member
R
Joined: Mar 2008
Posts: 225
Likes: 7
Is that Sango Fighter?

Joined: Apr 2012
Posts: 442
Likes: 1
S
ssj Online Content
Senior Member
Online Content
Senior Member
S
Joined: Apr 2012
Posts: 442
Likes: 1
Pretty cool to finally see some working sound for super acan! Thanks to everyone involved on pulling it off.

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
I should have some nice video / stability fixes to submit for it too if I get my act together, they've been sitting here for a few months now, based on hardware research done a couple of years back (before the guy doing the research gave up because his unit broke, and he decided they were too fragile to risk another, even a donated one, due to the cost)

Joined: Apr 2012
Posts: 442
Likes: 1
S
ssj Online Content
Senior Member
Online Content
Senior Member
S
Joined: Apr 2012
Posts: 442
Likes: 1
Can't that unit be revived? I don't see why risking a donated unit would be a problem though smile

Yeah this stuff is getting insanely expensive these days, I bought Formosa Duel maybe 2 or 3 years back for like €200 iirc today it would be way more expensive than that (if we can even find one for sale that is). Rebel Star is still undumped and the only hope to get it preserved is to hopefully find a collector willing to get it dumped it.

Either way, you should definitely submit those fixes I know the driver still has quite some issues, but I definitely wasn't expecting to see sound working out of the blue like that.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Originally Posted by ssj
I definitely wasn't expecting to see sound working out of the blue like that.

I was almost surprised until I saw CTR was involved. After that it all made sense smile

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
Originally Posted by ssj
Can't that unit be revived? I don't see why risking a donated unit would be a problem though smile

best he could tell one of the customs blew, so no

and yes, he was finding people wanting $1000 for a system / game, even the more common ones, and that was 2 years ago.

the strange thing is the tests he did manage to do confirmed MAME's sprite size behavior, which the Speedy D pre-title attract demo disagrees with. I do wonder if there might be some bad bits in ROM.

Joined: Nov 2019
Posts: 4
S
Member
Offline
Member
S
Joined: Nov 2019
Posts: 4
Maybe it would be the prefect unit to do decapping of then?

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
was already sold for parts

Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
Currently waiting to hopefully make some other improvements before submitting a pull request, but DMA-driven samples are now working, albeit in a hacky way. This fixes voice samples and certain sound effects in both Sango Fighter and Monopoly, possibly others as well:

[video:youtube]
[/video]

3 members like this: Stiletto, ssj, Robbbert
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
With the latest FPU changes, we can run the Mac version of Photoshop 3.0 and load pictures.

[Linked Image from rbelmont.mameworld.info]

5 members like this: RowanD, tlindner, Dam0, Duke, Robbbert
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
I made a big update to the Colour Genie softlist. Some examples of newly working games include this Qix clone:

[Linked Image from i.imgur.com]

A Q*bert clone:

[Linked Image from i.imgur.com]

Or this nice version of the classic Star Trek:

[Linked Image from i.imgur.com]

(which plays the Star Wars theme on the title screen!)

3 members like this: Stiletto, Robbbert, R. Belmont
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Some additional 680x0 FPU fixes allow us to load and view wireframes in Strata StudioPro, a popular early 3D modeling program for the Mac. (Strata was used to render the graphics in Myst).

[Linked Image from rbelmont.mameworld.info]

3 members like this: u-man, RowanD, Duke
Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
Here's a mildly amusing case of a NES bootleg. As you may recall the original Japanese Super Mario Bros 2 was only released in Japan on the Famicom Disk System. It was, however, heavily bootlegged on cartridge and on multicarts. One such bootleg can be seen running on hardware here: SMB2 (LE10). You'll observe something strange right away: the status bar at the top scrolls with the game! Additionally if you make it to the end of the video you'll see the game apparently freeze on a black screen.

Now, this title has run in various emulators for years (in MAME sadly it's always been just a grey screen) and none of them AFAIK exhibit the real hardware bugs; the status bar stays nicely fixed, and players talented enough to make it to World 4-4 are pleasantly greeted by World 5-1 after finding out their princess is in another castle. Why? Because, not knowing how the cart actually behaves, clever folks deduced that the number of CPU cycles between VBLANK and the end of the status bar was about 5750. At least that got the game running smoothly so all was good.

Your humble narrator comes into the story at this point. In an attempt to get this game running in MAME I *also* mucked around with values around 5750 and had it running smoothly. I almost submitted a patch with a nice formula: PPU cycles * (# of lines after VBLANK + status bar height) per 3 CPU cycles etc etc. It occurred to me though, all the other bootlegs of this game have 12-bit IRQ counters. It further occurred to me that bootleggers like to borrow the work of other bootleggers. It further further occurred to me that bootleggers don't typically take pride in polishing up their handiwork and may not even had somebody around who was good enough at this tough little game to play test to the end of 4-4, even with warps!

It may not be the final word on this bootleg, maybe krzysiobal over at NesDev will give us a nice schematic someday soon, but in the meantime—with any luck and the blessing of the MAME devs—enjoy a nice SMB2 bootleg, 12-bit IRQ counter, broken status bar, and crashing at the end of 4-4 like the bootleggers...intended?

Last edited by kmg; 07/26/21 06:26 AM.
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
That's great, kmg. Running as badly as hardware seems counterintuitive but it's always the right way.

Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
Just submitted a couple of N64 fixes via pull request.

8bpp mode for framebuffers was completely nonexistent. After some back-and-forth with some N64 test programs courtesy of krom and my 64drive, it matches a real N64's output almost exactly:

[Linked Image from i.imgur.com]

There's some difference in gamma, but beyond that, it seems to work. Bit interesting in that the VI still scans the framebuffer out as 16bpp 5:5:5:1 pixels, but the neighboring 8-bit values that exist in the framebuffer effectively get paired together. I suspect if the test drew fill-rects with an odd number of pixels rather than even, we'd see a fringe of "wrong" colors on one or the other side of each column.

It also turns out that the "Magic Matrix" used for some dither operations was transposed along its axis. Fixing that fixes the dither patterns used in krom's AlphaCompare test:

[Linked Image from i.imgur.com]

2 members like this: kmg, R. Belmont
Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
Making progress on the only known Positron 9000 to exist https://binarydinosaurs.co.uk/Museum/Positron/index.php

It's the first time I've seen a SAA5050 being used to generate 80 columns.

[Linked Image from i.imgur.com]


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
3 members like this: mixmaster, Duke, R. Belmont
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
Support for SPI SD cards was recently added by R. Belmont and used for an Apple II SD card device. The "BennVenn SD Loader" for the VZ-300/VZ-200 appreciates it:

[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]

1 member likes this: R. Belmont
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
That's great! I was hoping that implementation would work for other hosts as well, but I'm really happy that it worked without any changes to the SDCard device.

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
It does use an unsupported command (CMD16 - set block len), but it likes the answer it's getting (0x00) so that works out anyway.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Ok. I'll hook up CMD16 anyway, since it'll then make us SD 2.0 compliant (A2SD prefers SDHC which has a fixed 512 byte block size, but can fall back to plain SD 2.0 and even the ancient MMC standard).

Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
"Well if it ain't Skinny Mule!" The novelty/party/drinking game Super Russian Roulette for NES is coming soon to a MAME release near you! Even if you don't have a zapper and friends to play with it's worth a gander and a listen—8 megabytes of glorious 7-bit audio, much of it the amusing recorded speech of Cowboy Rob:
[Linked Image from i.imgur.com]

Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
Originally Posted by R. Belmont
That's great! I was hoping that implementation would work for other hosts as well, but I'm really happy that it worked without any changes to the SDCard device.
I'm also looking at some devices that can use it, but need CMD10 implementing. The device is using SEND_CID to check the CRC to determine whether the card has been changed.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Joined: Dec 2012
Posts: 246
Likes: 1
L
Senior Member
Offline
Senior Member
L
Joined: Dec 2012
Posts: 246
Likes: 1
I did some research on that board a while back. It's an Insight Enterprises EQ-4, from about 1983-1984. Apparently it was released, as an Argentinean wrote into Byte magazine in August 1985 asking for "[a]n Insight Enterprises EQ-4 single-board computer user to solve a problem."

There's even an IMP driver for the board http://oldcomputers.dyndns.org/public/pub/cdrom/walnut_creek_cdrom/cpm/imp/i2eq-4.asm

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Originally Posted by Pernod
I'm also looking at some devices that can use it, but need CMD10 implementing. The device is using SEND_CID to check the CRC to determine whether the card has been changed.

I can do a blind implementation from the spec, but more info helps of course. Is this an open-source thing where I can see the firmware code to make sure I'm giving it what it expects?

Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
Originally Posted by R. Belmont
Originally Posted by Pernod
I'm also looking at some devices that can use it, but need CMD10 implementing. The device is using SEND_CID to check the CRC to determine whether the card has been changed.

I can do a blind implementation from the spec, but more info helps of course. Is this an open-source thing where I can see the firmware code to make sure I'm giving it what it expects?

The code that sends the command SEND_CID is at https://github.com/hoglet67/MMFS/blob/c4e4c1ba02092a4460b03fc59ead00d60f41d2c2/MMC.asm#L165, it's only interested in the returned CRC. I believe all SD cards have a unique CID so not sure how to handle this and return realistic data.

There's a similar device for the Dragon machines that also requires CMD9 SEND_CSD.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Thanks Pernod. That code isn't quite doing what they seem to think. CMD10 returns a CRC7 at the end, not a CRC16, so they're actually going by the CRC in 1 byte and the month and low 4 bits of the year the card was manufactured. (The CRC7 includes the manufacturing date, so it's a little redundant, but I can't imagine people are swapping cards that much).

I'll probably use the file date on the image file as the manufacture date and calculate the correct CRC7.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
...And I've now discovered that I misunderstood what the SD Association specs were trying to say in my previous post. CMD10's response is handled as a data transfer, like CMD17, so there is a CRC16 at the end.

The latest committed version of spi_sdcard should have an MMFS-compliant CMD10 response.

Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
Originally Posted by R. Belmont
The latest committed version of spi_sdcard should have an MMFS-compliant CMD10 response.

Thanks. I'm now getting a 'MMC Read Fault' immediately after CMD10, could be an issue on my side so need to look into it.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
NES roundup—because it's not all multicarts! (Ok, it's mostly multicarts.)

With a code freeze on the horizon I thought I'd share a small selection of things from the past month. Probably of most interest to people would be a couple small bug fixes for Japanese Konami games. One improves the IRQ emulation for a number of games, so you'll not be seeing shaky things like this or this anymore. Things aren't perfect however; there are still the occasional 1-line glitches here and there.

For the diehard collectors of schlock a bunch of unlicensed and pirate fighting games have coincidentally come together this month as well. We have the polished yet poorly playing Street Heroes by Sachen, the reasonably-okay-by-8-bit-NES-fighting-game-standards World Hero, an alright attempt at Samurai Spirits (8 character version) by Rex Soft, the hilariously bad, but must-play Kart Fighter starring big, goofy, poorly-drawn Mario characters, and finally the absurdly bad AV Bishoujo Senshi Girl Fighting—for all your *ahem* AV needs.

These last two games are by everybody's favorite masters of schlock, Hummer Team, and so it's probably worth mentioning that the original Somari cartridge is also now playable in MAME along with those fighting games. Again coincidentally, work on some multicart stuff led to the addition of yet another Hummer game which I'll leave as my parting gifts: intro 1 and intro 2.

Last edited by kmg; 10/19/21 10:51 AM.
1 member likes this: anoid
Joined: Feb 2004
Posts: 2,526
Likes: 218
Very Senior Member
Online Content
Very Senior Member
Joined: Feb 2004
Posts: 2,526
Likes: 218
Originally Posted by kmg
the hilariously bad, but must-play Kart Fighter starring big, goofy, poorly-drawn Mario characters
The funny thing is, this game is almost like a precursor to Super Smash Bros. It showed that there was a market for a fighting game featuring Mario characters, it had Kinopio (or Toad) depicted as a bare-knuckle brawler long before that became a Mii costume for purchase, and it introduces Yoshi’s tail attack that’s become his trademark smash.

Joined: Jul 2007
Posts: 42
Likes: 2
Member
Offline
Member
Joined: Jul 2007
Posts: 42
Likes: 2
Kmg. Thanks for all your hard work on these mappers. I enjoyed trying out some of the multigames this past weekend and see the huge improvements you’ve made.

Just a question (no request to fix): There are games, such as Star Force, that have scrolling issues. In Star Force it appears that the screen is drawing the bottom 8 lines at the top of the screen. The whole playfield seems to be shifted downwards about 8 lines. This happened in the multicart as well as in the original cart. Just curious what would cause this and if it’s mapping related?

A-noid

Joined: May 2004
Posts: 1,756
Likes: 8
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,756
Likes: 8
that's just how a lot of NES games look, the tilemap is the same size as the screen, so if you scroll vertically you're likely to get glitches at the edges.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Yeah, the NES is 1982 technology, it wasn't really designed to scroll the way later hardware was. On TVs at the time the overscan hid most of the shenanigans, but on emulation you see it all.

Joined: Jul 2007
Posts: 42
Likes: 2
Member
Offline
Member
Joined: Jul 2007
Posts: 42
Likes: 2
Would it make sense to create selectable screen layouts to hide the shenanigans and provide a more authentic view to a TV?

A-Noid

Joined: Dec 2011
Posts: 193
Likes: 2
Senior Member
Offline
Senior Member
Joined: Dec 2011
Posts: 193
Likes: 2
No, because what amount of overscan works varies from game to game. What hides glitches on one game may hide important gameplay information on another. Why? No idea.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Nintendo cert required no important gameplay information within 16 pixels of the edge of the screen on the SNES. I assume NES was probably similar.

Joined: Jul 2007
Posts: 42
Likes: 2
Member
Offline
Member
Joined: Jul 2007
Posts: 42
Likes: 2
So maybe a secondary screen layout that someone can turn on to reduce the window by 16 pixels? I agree that the default should be full screen with overscan.

Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
Here is an official background planning sheet. Note the + marks on the grid. So the tile-safe distance for big N was the even more conservative 24 pixels at the top and bottom.

Joined: Dec 1999
Posts: 1,180
Likes: 2
J
Very Senior Member
Offline
Very Senior Member
J
Joined: Dec 1999
Posts: 1,180
Likes: 2
You can simulate TV overscan by going to the Tab menu in MAME, then Slider Controls, and adjusting the Screen Horiz Stretch and Screen Vert Stretch settings.

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
Sega Speed Basketball with an initial layout:

[Linked Image from i.imgur.com]

It's even kind of playable - you can move around the playfield and trigger goals.

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Thanks to Kale, we can once again be State. Of. The. Art.

[Linked Image from rbelmont.mameworld.info]

3 members like this: Justin, exidyboy, Revenant
Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
I was finally able to beat the last boss and verify it's completable in MAME. Barely managed to hit F12 in time on that last one!

Joined: Jul 2007
Posts: 42
Likes: 2
Member
Offline
Member
Joined: Jul 2007
Posts: 42
Likes: 2
Originally Posted by Justin
You can simulate TV overscan by going to the Tab menu in MAME, then Slider Controls, and adjusting the Screen Horiz Stretch and Screen Vert Stretch settings.

Justin,

Great idea. That works great.

A-Noid

Joined: Jul 2015
Posts: 114
Senior Member
Offline
Senior Member
Joined: Jul 2015
Posts: 114
Originally Posted by R. Belmont
Some additional 680x0 FPU fixes allow us to load and view wireframes in Strata StudioPro, a popular early 3D modeling program for the Mac. (Strata was used to render the graphics in Myst).

[Linked Image from rbelmont.mameworld.info]

Incredible memories smile . Will be other 3D programs added too? i.e. Electric Image or Sculpt? AFAIK many 3D programs where dongle-protected, what are the options for such cases?
I think i still have at least one dongle for Electric Image. If it is needed, i would donate that, would be awesome to see that 3D program in MAME. At that time, it was the fastest Phong-Renderer of the world and could eat millions of polygons easily.

Last edited by u-man; 11/02/21 10:49 AM.

I live... I die... I live again.
Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
A minor milestone: I believe Minna no Taabou no Nakayoshi Daisakusen was the last officially licensed standard NES/Famicom cartridge to not make it past a grey screen in MAME. Now, there are plenty of licensed games that still don't work or have major issues, but they at least put something on screen other than grey. Well, here you have it, a cute little tile matching/maze game aimed at a younger crowd. Silly that reliance on uninitialized RAM should have kept it from running in MAME all these years.
[img]https://imgur.com/A7se4h6[/img] [img]https://imgur.com/fkIeYxc[/img]

Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Rob Justice sent me support for a card called the "Grafex-32", which was originally a project published in Radio-Electronics magazine in the early 1980s. It gave the Apple II the then-popular NEC uPD7220 graphics processor and dedicated video RAM so you could do fast graphics. Rob has actually constructed the card for real as well, but as often happens with some of the more obscure cards, the original software for it can't be found. So Rob wrote his own software to exercise the card, and it works 100% on the real hardware. In MAME there's a bit of an issue as-is: our uPD7220 emulation has a hack to make some PC-98 games work correctly which causes issues with the Compis machines and this card. Commenting out the hack got me these working screenshots.

[Linked Image from rbelmont.mameworld.info]
[Linked Image from rbelmont.mameworld.info]
[Linked Image from rbelmont.mameworld.info]
[Linked Image from rbelmont.mameworld.info]

2 members like this: Duke, MrBogi
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
Also, I have two blog posts (one with a YouTube video) discussing recent Apple II clone work, located here and here.

1 member likes this: Stiletto
Joined: Apr 2021
Posts: 51
Likes: 27
K
kmg Offline
Member
Offline
Member
K
Joined: Apr 2021
Posts: 51
Likes: 27
Fun with input devices:

I started writing code for SNES joypad emulation within NES. As the real SNES pad is a slight extension of the NES one, it could have been done with a few lines of code extending the existing joypad. But with a tiny bit more elbow work setting up the connection I was able to just reuse the existing SNES joypad device by emulating an adapter that connects the relevant pins—just like a real adapter. And now the real payoff: I don't have to write SNES mouse emulation! God, I love MAME. smile

Edit: Nice. It turns out the NesDev competition compilation carts have mouse games/demos if anybody wants to try it out. In the NES software list set a53vol1 has a game called Thwaite (like Missile Command), and a53vol2 has the game Sliding Blaster and a Theremin demo (for annoying your coworkers).

Last edited by kmg; 12/22/21 11:29 AM.
1 member likes this: R. Belmont
Joined: Mar 2001
Posts: 17,098
Likes: 153
R
Very Senior Member
OP Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 17,098
Likes: 153
An external contributor who contacted me and is waiting for Richard to approve him to join us here has been working with the unixpc.cpp driver, and he's now gotten it this far:

[Linked Image from rbelmont.mameworld.info]

3 members like this: Duke, pmackinlay, robcfg
Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
That's awesome. I was planning to eventually take a closer look, but it's great to see progress.

Joined: May 2004
Posts: 981
Likes: 59
D
Senior Member
Online Content
Senior Member
D
Joined: May 2004
Posts: 981
Likes: 59
Current status of the HDS200 terminal:

[Linked Image from i.imgur.com]

It's missing some kind of synchronization between the Z80DMA and the SCN2674, so the video looks a bit weird. Hard to figure out what exaclty it needs without schematics or being able to trace some lines.

Bonus screenshot:

[Linked Image from i.imgur.com]

RS232 works, most keyboard keys work, so it's kind of usable.

1 member likes this: R. Belmont
Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
To be honest, I like the glitched aesthetic. Looks like it'll work fine if you just whack it hard enough on the side of the screen.

Joined: May 2009
Posts: 2,168
Likes: 228
J
Very Senior Member
Offline
Very Senior Member
J
Joined: May 2009
Posts: 2,168
Likes: 228
More updates to the CD-i driver, probably none of which will make Kale happy.

Removed a ton of crackle and pop from the audio, across the board:
http://polygonal-moogle.com/mame/cdi/quizard4.flac
http://polygonal-moogle.com/mame/cdi/hotmariouwu.flac
http://polygonal-moogle.com/mame/cdi/zeldaadv.flac

Quizard 1, 2, 3 and 4 now fully working, although you have to wait about 25 seconds after starting up the machine before clicking 'Play' (the external MCU is supposed to force that input, but it's not wired up):






Additionally, Mega Maze no longer hangs when going in-game, and Santa Claus's Mice no longer issues a "disc dirty" error when pausing mid-story. Probably more things fixed associated with the CDIC, but I don't know about them.

Next stop is to figure out what's up with the MCD212 chipset.

5 members like this: R. Belmont, Darkstar, Stiletto, Duke, MrBogi
Joined: Apr 2012
Posts: 335
Likes: 47
Senior Member
Online Content
Senior Member
Joined: Apr 2012
Posts: 335
Likes: 47
I'm taking a look at the Philips VideoWriter stuff that was submitted:
[Linked Image from i.imgur.com]
[Linked Image from i.imgur.com]
I've had to create a preliminary NCR7250 device for the video, which needs more work as I see more features being used.


BBC Model B, ATPL Sidewise, Acorn Speech, 2xWatford Floppy Drives, AMX Mouse, Viglen case, etc.
3 members like this: robcfg, Duke, R. Belmont
Joined: Sep 2023
Posts: 1
Likes: 4
S
Member
Offline
Member
S
Joined: Sep 2023
Posts: 1
Likes: 4
Hi,

I've managed to obtain copies of original LSI-M3 system diskettes. All were 8" single sided format, but still worked in my restored M3, which has 8" double sided drives. I discovered the boot sector of these disks contains a single flag byte that informs the bootloader process (and CP/M OS) what disks the system should have. So I now have the same disks in 8" double sided format, and with partial support for either a 5 MB or a 10 MB "Winchester" drive. I say partial support, because the IDE hard disk driver code in my monitor prom doesn't work correctly with the original LSI version of CP/M. However, I am re-writing the hard disk driver code to emulate a Xebec S1410 disc controller as would have been fitted to a hard disk drive model M3.

[Linked Image from eolith.co.uk]


CP/M-86 Software Repository https://www.eolith.co.uk/
4 members like this: R. Belmont, Duke, exidyboy, Darkstar
Joined: Aug 2009
Posts: 1,205
Likes: 89
Very Senior Member
Online Sleepy
Very Senior Member
Joined: Aug 2009
Posts: 1,205
Likes: 89
Simple input_merger modernization made ggconnie to be somehow playable:

[Linked Image from mamedev.emulab.it]

[Linked Image from mamedev.emulab.it]

[Linked Image from mamedev.emulab.it]

Last edited by Kale; 11/13/23 01:52 AM. Reason: Added another image
2 members like this: mixmaster, R. Belmont
Page 1 of 14 1 2 3 13 14

Link Copied to Clipboard
Who's Online Now
1 members (nerd4gw), 63 guests, and 2 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,240
Posts120,958
Members5,061
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com