The X68000 games porting experiment
The X68000 games porting experiment
Hello guys,
as you might have alread read in the PacMania thread I am experimenting with porting X68000 games to the Atari ST.
The idea so far is to disassemble X68000 executable binaries in a way that the resulting source code quality is as good as the original so that you only need to rename the most important labels to understand how the game works. More important is that the reassembled version of the executable binary is identical to original as well.
For this task I have already written a disassembler which works fine so far (some mnemonic bugs are still present) in combination with the human68k and the m68k-atari-mint toolchains.
The first experiment was PacMania and the game logic already runs on the Atari STE (please see the PacMania thread for an example).
What are your thoughts, ideas and/or comments on that. Are you interested in some technical details? Please let me know.
Thanks
Sascha
as you might have alread read in the PacMania thread I am experimenting with porting X68000 games to the Atari ST.
The idea so far is to disassemble X68000 executable binaries in a way that the resulting source code quality is as good as the original so that you only need to rename the most important labels to understand how the game works. More important is that the reassembled version of the executable binary is identical to original as well.
For this task I have already written a disassembler which works fine so far (some mnemonic bugs are still present) in combination with the human68k and the m68k-atari-mint toolchains.
The first experiment was PacMania and the game logic already runs on the Atari STE (please see the PacMania thread for an example).
What are your thoughts, ideas and/or comments on that. Are you interested in some technical details? Please let me know.
Thanks
Sascha
-
- Captain Atari
- Posts: 172
- Joined: Thu Sep 29, 2005 5:03 pm
Re: The X68000 games porting experiment
Hi!
i read with interest the Pacmania thread, and when you popped up in there with your ideas about x68000, i must say I think the idea is genius!
As i understand it, the X68000 is heavy on the custom chips, and it makes sense to me that it would in fact be easier to port these games than to make enhanced versions of existing ST titles. On an ST/E there's all manor of ways to draw sprites/backgrounds, but if you have a custom chip handling sprite/background draws, then I would imagine it would be much easier to intercept and replace the calls to the custom chips than unpicking exotic software based routines..
of course 'much easier' is relative
really cool idea!

i read with interest the Pacmania thread, and when you popped up in there with your ideas about x68000, i must say I think the idea is genius!
As i understand it, the X68000 is heavy on the custom chips, and it makes sense to me that it would in fact be easier to port these games than to make enhanced versions of existing ST titles. On an ST/E there's all manor of ways to draw sprites/backgrounds, but if you have a custom chip handling sprite/background draws, then I would imagine it would be much easier to intercept and replace the calls to the custom chips than unpicking exotic software based routines..
of course 'much easier' is relative

really cool idea!

Re: The X68000 games porting experiment
What about dissamble a SEGA Megadrive game? It feels like it would be more or less the same as a X68000 game so maybe could be done with the same dissambler.
ST / STFM / STE / Mega STE / Falcon / TT030 / Portfolio / 2600 / 7800 / Jaguar / 600xl / 130xe
Re: The X68000 games porting experiment
I tried to test the Pacmania X68000 adaptation you linked on the Pacmania's thread (http://atari-forum.com/viewtopic.php?f= ... &start=250) but I don't know if I have to do something special:
I copied all files in a 1,44MB disk (don't fit in a 720KB one) and tried to execute the PMSYS.TOS on my Atari Mega STE 4MB, but nothing happens. White screen, cursor on the left-up corner, and goes back to the desktop.
I copied all files in a 1,44MB disk (don't fit in a 720KB one) and tried to execute the PMSYS.TOS on my Atari Mega STE 4MB, but nothing happens. White screen, cursor on the left-up corner, and goes back to the desktop.
Learning...
Re: The X68000 games porting experiment
Hello guys.
Also the NeoGeo is a potential candidate.

Cheers
Sascha
Exactly. Another advantage is that the X68000 has no collision detection like the Atai 800 XL or C64 which would cost a lot of CPU power to emulate. So in this case the complete logic runs on the CPU.distantminds wrote:As i understand it, the X68000 is heavy on the custom chips, and it makes sense to me that it would in fact be easier to port these games than to make enhanced versions of existing ST titles. On an ST/E there's all manor of ways to draw sprites/backgrounds, but if you have a custom chip handling sprite/background draws, then I would imagine it would be much easier to intercept and replace the calls to the custom chips than unpicking exotic software based routines..
I am currently not aware of special hardware features of the SEGA Megadrive which would be problematic like the above mentioned collision detection but yes: that could be another target for porting games.Zamuel_a wrote:What about dissamble a SEGA Megadrive game? It feels like it would be more or less the same as a X68000 game so maybe could be done with the same dissambler.
Also the NeoGeo is a potential candidate.

I have tested the executable under Hatari emulating an STE with 4 MB and TOS 1.62. However running the test under Steem crashes... well I'll take a look at it. It seems to be a problem calling Trap 15 functions in a Line F exception. Please stay tuned.qq1975b wrote:I copied all files in a 1,44MB disk (don't fit in a 720KB one) and tried to execute the PMSYS.TOS on my Atari Mega STE 4MB, but nothing happens. White screen, cursor on the left-up corner, and goes back to the desktop.

Cheers
Sascha
Re: The X68000 games porting experiment
I've fixed a bug. Please try the pacmania archive again.qq1975b wrote:I tried to test the Pacmania X68000 adaptation you linked on the Pacmania's thread (http://atari-forum.com/viewtopic.php?f= ... &start=250) but I don't know if I have to do something special:
I copied all files in a 1,44MB disk (don't fit in a 720KB one) and tried to execute the PMSYS.TOS on my Atari Mega STE 4MB, but nothing happens. White screen, cursor on the left-up corner, and goes back to the desktop.
Cheers
Sascha
Re: The X68000 games porting experiment
I don't know so much about the X68000 system, except that it was faster than Atari and used 65.536 colors so it seems like it would be better to make this conversion for a Falcon than on a regular STE.
ST / STFM / STE / Mega STE / Falcon / TT030 / Portfolio / 2600 / 7800 / Jaguar / 600xl / 130xe
Re: The X68000 games porting experiment
Agreed. Focusing the Atari Falcon 030 as the main target was the initial goal for me as well.Zamuel_a wrote:I don't know so much about the X68000 system, except that it was faster than Atari and used 65.536 colors so it seems like it would be better to make this conversion for a Falcon than on a regular STE.
The "slowest" X68000 runs at 10 MHz. However, some games seem to have a very low CPU performance requirement so that an Atari ST(E) version can be considered as well.
Cheers
Sascha
Re: The X68000 games porting experiment
why not port a game that is not available on the Atari but available on the X68000.
I am sure everyone will be "excited" about that.
I am sure everyone will be "excited" about that.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Re: The X68000 games porting experiment
Sure, but PacMania was already in an advanced state so that I decided to take it as a proof of concept.wongck wrote:why not port a game that is not available on the Atari but available on the X68000.
I am sure everyone will be "excited" about that.
What game do you think of being ported?
Some of what I can think of are:
Galaga 88
Mr. Do
Gradius
Parodius
However, the requirement is that the program is completely one relocatable executable for now.
Cheers
Sascha
-
- Forum Administrator
- Posts: 5834
- Joined: Wed Oct 23, 2002 4:36 pm
- Location: Friedrichshafen, Germany
- Contact:
Re: The X68000 games porting experiment
Galaga 88 would be great. I love that game both on MAME and the PC Engine.
It also should be feasible technically for ST standards.
It also should be feasible technically for ST standards.
Simon Sunnyboy/Paradize - http://paradize.atari.org/
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
Stay cool, stay Atari!
1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee
- Mug UK
- Administrator
- Posts: 12307
- Joined: Thu Apr 29, 2004 7:16 pm
- Location: Stockport (UK)
- Contact:
Re: The X68000 games porting experiment
Galaga 88 seconded.
Main site: www.mug-uk.co.uk - digging up bits from my past: Atari ST, ZX Spectrum, Sega 8-bit (game hacks) and NDS (ripping guides). I host a C64 Radio Show for a mate, Max Hall via www.chipsidshow.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
I develop a free Word (for Windows) add-in for Word 2007 upwards. A toolbox that will allow power Word users to fix document errors. You can find it at: mikestoolbox.co.uk
Re: The X68000 games porting experiment
The x68000 version of Daimakaimura (Ghouls'n Ghosts) support General Midi... so it might been easy to extract the midi player and add to the ST version 


Re: The X68000 games porting experiment
I tried to test it again on my Atari Mega STe 4MB, 2.06 UK. It didn't work. Makes the same than the earlier version: white screen, cursor on the top left corner and back to the desktop.Anima wrote:I've fixed a bug. Please try the pacmania archive again.qq1975b wrote:I tried to test the Pacmania X68000 adaptation you linked on the Pacmania's thread (http://atari-forum.com/viewtopic.php?f= ... &start=250) but I don't know if I have to do something special:
I copied all files in a 1,44MB disk (don't fit in a 720KB one) and tried to execute the PMSYS.TOS on my Atari Mega STE 4MB, but nothing happens. White screen, cursor on the left-up corner, and goes back to the desktop.
Cheers
Sascha
It worked on Steem emulator 3.3.0 (it showed pacman on the low left corner in different views).
Learning...
Re: The X68000 games porting experiment
Well, thanks for trying anyway. Unfortunately I have only my Falcon here to test the binary on a real machine (in fact, only a small fix within the Line F handling was necessary to get it working on the Falcon). Probably I need to dust off my STE to see what's wrong.qq1975b wrote:I tried to test it again on my Atari Mega STe 4MB, 2.06 UK. It didn't work. Makes the same than the earlier version: white screen, cursor on the top left corner and back to the desktop.
It worked on Steem emulator 3.3.0 (it showed pacman on the low left corner in different views).

Cheers
Sascha
Re: The X68000 games porting experiment
Anima wrote: What game do you think of being ported?
Some of what I can think of are:
Galaga 88
Galaga 88 just jumped up and slap my face....


That's the one.
My Stuff: FB/Falcon CT63 CTPCI ATI RTL8139 USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff that are no longer for sale due to them over 30 years old - click here for list
Re: The X68000 games porting experiment
I know it's still experimental right now, but it would be great to play a proper version of Street Fighter II...
And also the X68000 version of Castlevania is wicked. Played it on the PSX once, but it's so rare to find.

And also the X68000 version of Castlevania is wicked. Played it on the PSX once, but it's so rare to find.
Re: The X68000 games porting experiment
Galaga 88 seconded.
- Eero Tamminen
- Fuji Shaped Bastard
- Posts: 3993
- Joined: Sun Jul 31, 2011 1:11 pm
Re: The X68000 games porting experiment
What about Hatari? I've understood that its latest version (1.6.2) has now more accurate STE emulation than Steem.Anima wrote:Well, thanks for trying anyway. Unfortunately I have only my Falcon here to test the binary on a real machine (in fact, only a small fix within the Line F handling was necessary to get it working on the Falcon). Probably I need to dust off my STE to see what's wrong.qq1975b wrote:I tried to test it again on my Atari Mega STe 4MB, 2.06 UK. It didn't work. Makes the same than the earlier version: white screen, cursor on the top left corner and back to the desktop.
It worked on Steem emulator 3.3.0 (it showed pacman on the low left corner in different views).
Sascha
(Steem's GUI debugger is much nicer to use, but Hatari's command line debugger is also fairly powerful, especially with the latest updates in Hatari repository.)
Re: The X68000 games porting experiment
Thanks for the suggestion but Hatari is already my favourite emluator. I just switched to the Atari Falcon as the porting target so Hatari is perfect so far.Eero Tamminen wrote:What about Hatari? I've understood that its latest version (1.6.2) has now more accurate STE emulation than Steem.
Cheers
Sascha
Re: The X68000 games porting experiment
Helly guys,
just a status update on the Galaga 88 port: the source is disassembled and can be fully functional reassembled as well. Label renaming in progress...
In the meantime I was wrinting some test routines for the PacMania port so that the Galaga 88 work slowed a bit down.
Cheers
Sascha
just a status update on the Galaga 88 port: the source is disassembled and can be fully functional reassembled as well. Label renaming in progress...

In the meantime I was wrinting some test routines for the PacMania port so that the Galaga 88 work slowed a bit down.
Cheers
Sascha
Re: The X68000 games porting experiment
Hello guys,
emulating the PacMain on a "stock" Atari Falcon 030 currently looks like this now:
X68000 PacMania on the Atari Falcon 030 Video on YouTube
Buggy, slow and incomplete but rather impressive due to the 384x240 pixels size compared to the 256x256 on the X68000.
The video shows only the attract mode till it freezes but you can already play the game as well (press trigger to start). However, playing is no fun without seeing the pills!
Cheers
Sascha
emulating the PacMain on a "stock" Atari Falcon 030 currently looks like this now:
X68000 PacMania on the Atari Falcon 030 Video on YouTube
Buggy, slow and incomplete but rather impressive due to the 384x240 pixels size compared to the 256x256 on the X68000.

The video shows only the attract mode till it freezes but you can already play the game as well (press trigger to start). However, playing is no fun without seeing the pills!
Cheers
Sascha
-
- Atari Super Hero
- Posts: 926
- Joined: Thu Sep 11, 2003 10:49 pm
- Location: UK
Re: The X68000 games porting experiment
Absolutely gobsmacked, incredible work.
So does the X68000 use a 16-bit screen in PacMania? Can't the VIDEL be programmed to match the exact X68000 resolution, meaning less has to be drawn to the screen?
Do you think the Falcons DSP will be able to emulate a Yamaha YM2151??
Keep up the great work!
So does the X68000 use a 16-bit screen in PacMania? Can't the VIDEL be programmed to match the exact X68000 resolution, meaning less has to be drawn to the screen?
Do you think the Falcons DSP will be able to emulate a Yamaha YM2151??
Keep up the great work!
Re: The X68000 games porting experiment
Yes, amazing stuff! I wonder how it would run on Centurbo II or other 030 accelerator 

--------------------------< Member of Atarimania >-------------------/|\---
---/|\---------------< ST / STe / Falcon030 / TT030 >---------------------
-< archiving and researching software history since the mid 90's >-
--------------------------> www.atarimania.com <--------------------------
---/|\---------------< ST / STe / Falcon030 / TT030 >---------------------
-< archiving and researching software history since the mid 90's >-
--------------------------> www.atarimania.com <--------------------------
-
- Atari God
- Posts: 1266
- Joined: Wed Feb 11, 2004 4:34 pm
- Location: Middle Earth (Npton) UK
- Contact:
Re: The X68000 games porting experiment
Just - Wow! -
Moar please!!
Moar please!!
"Where teh feck is teh Hash key on this Mac?!"