Jump to content

Photo

New game released: Gunfright


67 replies to this topic

#1 mariuszw OFFLINE  

mariuszw

    Chopper Commander

  • 175 posts

Posted Sun Apr 2, 2017 2:48 PM

Hello all,

 

Here is my next game for Atari 8-bit: Gunfright! Game was written by Ultimate Play The Game and released in 1985 for ZX Spectrum, with later ports for MSX and Amstrad CPC. Now it comes to 6502-based machines: Atari 8bit and simulataneously for CBM machines as well.

 

Atari 8-bit features great music from Saul Cross, and color overlays and loading screen prepared by Jose Pereira.

 

Game requires 64KB RAM machine to play. It works on both PAL and NTSC systems. It also supports CPU-upgraded Ataris properly. I haven't had a chance to play it on real Atari, I hope it will work fine though.

 

For those finding game too difficult to play, a trainer is included. Try pressing various keys on title screen (or browse source code to find out which key controls which cheat ;).

 

loading.png title.png gold.png game.png game2.png game3.png game4.png duel.png

 

I am also releasing full source code for the game.

 

Enjoy!

Attached Files



#2 davidcalgary29 ONLINE  

davidcalgary29

    Quadrunner

  • 6,157 posts
  • Location:Peace River, Alberta

Posted Sun Apr 2, 2017 2:56 PM

This is so cool! Thank you!!



#3 Philsan ONLINE  

Philsan

    River Patroller

  • 3,807 posts
  • New Orleans Saints Super Bowl XLIV Champions
  • Location:Switzerland

Posted Sun Apr 2, 2017 2:56 PM

Sixth game released in two years, thank you!



#4 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,811 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Sun Apr 2, 2017 3:37 PM

Just looked at the code. Amazing. I never had thought you can have this straight forward translation of the Z80 opcodes. I only vaguely remember POKEing my way through the REM lines on my first computer (1985 - ZX81, 1k) and I really hated the "AFTER CB/ED" codes. But it never occurred to me that you can easily emulate both 8/16 bit register sets "simply" with the zero page.And considering how many cycles most Z80 instructions take, the speed of the translation result looks very good! Amazing idea & execution, man!



#5 Stormtrooper of Death OFFLINE  

Stormtrooper of Death

    Moonsweeper

  • 428 posts
  • Location:The Netherlands

Posted Sun Apr 2, 2017 4:01 PM

Wow, superb. Thank you for Gunfright!



#6 CharlieChaplin OFFLINE  

CharlieChaplin

    River Patroller

  • 3,014 posts

Posted Sun Apr 2, 2017 4:03 PM

Thank you for another great conversion !

 

Depending on the bootloader (or gamedos) the titlescreen does not always get displayed, no clue why.

 

 


Edited by CharlieChaplin, Sun Apr 2, 2017 4:09 PM.


#7 Mark loves Stella OFFLINE  

Mark loves Stella

    Star Raider

  • 51 posts
  • Location:Concord, NC

Posted Sun Apr 2, 2017 9:34 PM

Really nice conversion! Look great in hi res with so many colors. 



#8 emkay ONLINE  

emkay

    Quadrunner

  • 9,671 posts
  • What's up?
  • Location:Holy Grail ;)

Posted Mon Apr 3, 2017 1:12 AM

A graphically masterpiece for sure.
Not sure, why people like that non harmonic filter scratch sound, but the rest of the music is nicely fitting ... to very good.
Gameplay ? Not sure yet :D


Thanks for the release.

#9 Poison OFFLINE  

Poison

    Moonsweeper

  • 385 posts
  • Location:Czech Republic

Posted Mon Apr 3, 2017 1:21 AM

Great new release!!



#10 R6502A OFFLINE  

R6502A

    Star Raider

  • 70 posts
  • Location:London

Posted Mon Apr 3, 2017 2:54 AM

Excellent!

#11 mariuszw OFFLINE  

mariuszw

    Chopper Commander

  • Topic Starter
  • 175 posts

Posted Mon Apr 3, 2017 4:53 AM

Thank you for another great conversion !

 

Depending on the bootloader (or gamedos) the titlescreen does not always get displayed, no clue why.

 

 

 

Guess it has something to do with screen being disabled at the beginning of loading, to avoid trash being displayed when title screen loads, as title screen loads at $9000, overwriting OS display list and display memory.



#12 mariuszw OFFLINE  

mariuszw

    Chopper Commander

  • Topic Starter
  • 175 posts

Posted Mon Apr 3, 2017 4:55 AM

A graphically masterpiece for sure.
Not sure, why people like that non harmonic filter scratch sound, but the rest of the music is nicely fitting ... to very good.
Gameplay ? Not sure yet :D


Thanks for the release.

 

Sound effects are ported from Spectrum and played by Atari beeper. I know that compared to excellent Saul's music their quality is poor ;)



#13 mariuszw OFFLINE  

mariuszw

    Chopper Commander

  • Topic Starter
  • 175 posts

Posted Mon Apr 3, 2017 5:00 AM

Just looked at the code. Amazing. I never had thought you can have this straight forward translation of the Z80 opcodes. I only vaguely remember POKEing my way through the REM lines on my first computer (1985 - ZX81, 1k) and I really hated the "AFTER CB/ED" codes. But it never occurred to me that you can easily emulate both 8/16 bit register sets "simply" with the zero page.And considering how many cycles most Z80 instructions take, the speed of the translation result looks very good! Amazing idea & execution, man!

 

There's certainly more than this. You need to debug the program you created - with Gunfright I have very annoying problem that code used cmp/rol instructions and I forgot that carry flag has inverted polarity between Z80 and 6502 for comparison/subtraction. Then you need to optimize code size - automatic translation create code 2x as big, and since original code had ~14KB, translated code used whole ram leaving no space for Atari specific code. Last, but not least, you need to optimize the game - with Gunfright it was a quite a lots of work, as they optimized every piece of code which did rendering, erasing and copying to achieve good performance, and I had to do the same for 6502 (just compare speed of preview version posted last year with speed of final release). But I really enjoyed whole process and I certainly want to continue with other Z80 -> 6502 conversions.



#14 emux OFFLINE  

emux

    Combat Commando

  • 4 posts

Posted Mon Apr 3, 2017 6:02 AM

Having worked on the CBM versions I have to say Mariusz did an amazing job on the Z80 to 6502 conversion of this game.

 

Like he said the Z80 version was already heavily optimized yet all the 6502 versions run as fast or almost as fast as the Spectrum version and yet this game was written very much with the Spectrum's hardware in mind!



#15 Stefan Both OFFLINE  

Stefan Both

    Moonsweeper

  • 444 posts
  • Location:Germany / Lower Saxony

Posted Mon Apr 3, 2017 11:43 AM

Thank you very much!!!
Looks interesting. I'll
give it a try tonight.

Stefan Both

#16 Trafo OFFLINE  

Trafo

    Combat Commando

  • 8 posts
  • Location:Czech republic

Posted Mon Apr 3, 2017 1:23 PM

Super. Thanks.



#17 Jacques OFFLINE  

Jacques

    Moonsweeper

  • 301 posts
  • Location:Wrocław, Poland

Posted Mon Apr 3, 2017 2:50 PM

Great effort, thank you Mariusz!

 

Just one thing, when loading from fast drive (e.g. SIDE), loading screen disappears almost immediately, maybe there should be SPACE BAR triggered leaving it?



#18 José Pereira OFFLINE  

José Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Mon Apr 3, 2017 3:54 PM

Great effort, thank you Mariusz!

Just one thing, when loading from fast drive (e.g. SIDE), loading screen disappears almost immediately, maybe there should be SPACE BAR triggered leaving it?

Don't know anything about those "fast drive" but isn't that because what name says: fast and like is on a .xex file.
Remember that thinking like in old times you load a first block that shows the name, a picture or whatever and it instantly loads next block, while this is on-screen, that normally is the game itself.
So there is no need to press any key or fire that may cause confusion or people waiting and waiting and nothing would happen.
Normally pressing joystick Fire or key(s) any, SPACE or RETURN is when there's message to load levels, change side of tape/disk,...
A loading screen present while loading is just that, a portrait/idea of what is/look the game and a nice presentation for people see while waiting the all game is loaded and ready to play. It uses tape/disc space and some time so the less and simplier for the user(s) the best ;).
:)
:thumbsup:

Edited by José Pereira, Mon Apr 3, 2017 4:00 PM.


#19 Jacques OFFLINE  

Jacques

    Moonsweeper

  • 301 posts
  • Location:Wrocław, Poland

Posted Tue Apr 4, 2017 4:33 AM

Well, there could be loading screen visible and then be halted after loading is done with some message: "press any key to continue".

 

It's nothing major, if you accept the screen disappears almost immediately on modern PBI devices, fine by me ;)



#20 Jetboot Jack OFFLINE  

Jetboot Jack

    Stargunner

  • 1,834 posts
  • Making Games
  • Location:Disconnected

Posted Tue Apr 4, 2017 4:58 AM

This is awesome!!!

 

sTeVE



#21 Mclaneinc ONLINE  

Mclaneinc

    Retro Madman

  • 6,364 posts
  • Location:Northolt, UK

Posted Tue Apr 4, 2017 6:05 AM

The isometric super coder strikes again!!

 

Never had a door stop, sorry, Spectrum, so never had much chance to play the ISO stuff, some was ported rather poorly to the C64 but these have all been top ports to our beloved Atari, thank you Mariuszw, amazing work as always with big thanks to Jose and Saul who does some really lovely tunes especially the Bear Essentials on the C64.

 

Btw, I see the C64 version has just popped up...Double win for me :)

 

All we need is Bruce Lee II ported to the Atari, its great fun and I reckon the Atari could handle it easily!!


Edited by Mclaneinc, Tue Apr 4, 2017 6:06 AM.


#22 José Pereira OFFLINE  

José Pereira

    River Patroller

  • 4,181 posts
  • Location:Lisbon - Portugal

Posted Tue Apr 4, 2017 7:13 AM

Well, there could be loading screen visible and then be halted after loading is done with some message: "press any key to continue".

It's nothing major, if you accept the screen disappears almost immediately on modern PBI devices, fine by me ;)

I'm just thinking like it was on old times and like I said that never had any of those new/modern devices then maybe like there is an automatic detection for PAL vs NTSC then maybe it could also detect if there is one of those devices that would be needed to press a key on those cases.
I just put my opinion that is from one person that after all these years still think 'Old School way' :grin: but of course the coder knows how and has the last decision...
:thumbsup:

Edited by José Pereira, Tue Apr 4, 2017 7:17 AM.


#23 Jacques OFFLINE  

Jacques

    Moonsweeper

  • 301 posts
  • Location:Wrocław, Poland

Posted Tue Apr 4, 2017 7:17 AM

You could possibly test how it behaves running the game from RAM-disk, as loading less than 40 KB (XEX) via PBI device is visually almost that quick ;)



#24 pirx OFFLINE  

pirx

    Moonsweeper

  • 447 posts
  • Location:Poland

Posted Tue Apr 4, 2017 7:35 AM

off topic - loading from PBI is usually faster than RAMdisk for solid state drives :)

 

Great game conversio btw!!! Sick optimisations!



#25 Bill Lange OFFLINE  

Bill Lange

    Dragonstomper

  • 944 posts
  • Location:Somerset, NJ

Posted Tue Apr 4, 2017 9:29 PM

After my first shootout, the screen gets messed up.  Running Altirra 2.81.  NTSC.

 

Bill

Attached Thumbnails

  • screen1.png





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users