phaeron Posted June 11, 2012 Share Posted June 11, 2012 After my experience with 2600 Midnight Magic and the response I decided to try a whack at porting a simpler but motion oriented game, Seaquest. I don't intend to make a career out of porting 2600 games -- for sanity reasons, if nothing else -- but this was a fun little game I remember that was good for quick runs growing up, and I figured I'd try a game that was a bit more sprite heavy. Again, this is a close-as-possible port of the original 2600 game, based on the original binary code. Porter's comments: Midnight Magic was a 16K banked game, but Seaquest is just 4K. No banking to rip out. This time the porting cost was +0.5KB. Joystick 1/2 for controls, Start for Game Reset, Select for Game Select (1 or 2 players), Option flips both left and right difficulty. B&W/Color hardwired to Color. Default is easy difficulty, switching to hard slows down the shots. Like many 2600 games, this was made for NTSC and it will play slower and with a bit funny colors on PAL. Sorry, but the game doesn't have fraction tables and PAL GTIA colors are significantly different, and I'm porting these games as-is. Adaptation is an exercise left for the reader. Decoding sprite positioning from a 2600 display kernel... sucks. I had to duplicate some data to emulate player reflection. As I expected, repeating sprites would be a pain. Seaquest displays up to five 8-bit player sprites on a scanline plus a missile, so a straightforward mapping to GTIA sprites wasn't an option. Since only one of the players was repeated I reimplemented the enemies on top of the playfield. There's also quite a lot of interesting code in the game to deal with the case of you shooting out one of a group, by recomputing a new horizontal position and switching the NUSIZ1 pattern to match the remaining enemies, which took me a while to figure out (I couldn't figure out at first why the sharks were jumping when shot on some waves). If someone wants to try putting this in ROM, there was one location that I used self-modifying code (because I was lazy). Dethreading the player sub and torpedo from the entire display kernel was annoying, but the huge pain in the butt was the divers. It turned out they were rendered using the ball, by moving and re-sizing it on every scanline. Once I figured this out I was able to rip out a ton of the display kernel and remap the divers to a regular GTIA player. The entire display is shifted a bit left than I would have expected. I didn't notice this until I put in the sea bed and started comparing the position of everything. I've kept the existing positions, but one side effect is that you can spot sprites popping in on the right side. Based on the 40-bit playfield, I think this is correct and was intentional to prevent sprites from wrapping around HBLANK on the TIA, but I don't have a real 2600 to verify (the right part of the screen is cut off in Stella). Unlike MM, Seaquest does use hardware sprite collisions. Fortunately, GTIA's collision capabilities are a superset of TIA's and this was easy to map. The TIA 5-bit div 6 sound is a problem here again, this time more apparent as it affects the player shots. I've mapped it the same way, but it doesn't have the nice metallic sound. I thought about trying high speed IRQ emulation, but bands of background gradients made this difficult. seaquest.zip 12 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 11, 2012 Share Posted June 11, 2012 Did I mention Seaquest? Kudos! Quote Link to comment Share on other sites More sharing options...
serj Posted June 11, 2012 Share Posted June 11, 2012 Thanks for the great transfer of the game, Avery! Can I ask you another port of the game Phoenix? 1 Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 11, 2012 Share Posted June 11, 2012 Another good conversion. I suspect Phoenix and any game that uses replication to put more objects per line would be anything but straightforward to convert. Quote Link to comment Share on other sites More sharing options...
candle Posted June 11, 2012 Share Posted June 11, 2012 it's always nice to see Avery bored to tears so we can have something new, even if it's from 2600 (definitly not my era ) Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted June 11, 2012 Share Posted June 11, 2012 phaeron's on a roll! Reminds me of the fun I had with Combat, e.g. triple planes would require use of extra Players on the A8 but would be do-able. The battle field itself was flipped & mirrored so had to be re-written. http://www.atariage.com/forums/topic/41057-tank-battle/#entry686352 http://www.atariage.com/forums/topic/108408-2600-combat-for-the-a8 I may just try and use your sound emulation approach though as my wild stab at mapping this was quite nasty. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 11, 2012 Share Posted June 11, 2012 yup. Phoenix! and Raiders of the Lost Arc Quote Link to comment Share on other sites More sharing options...
TMR Posted June 11, 2012 Share Posted June 11, 2012 yup. Phoenix! and Raiders of the Lost Arc Oh, if it's a "want" list... Yar's Revenge please. =-) Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 11, 2012 Share Posted June 11, 2012 read the special about Yar's in RG... but what the hell is so special about the game? Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 11, 2012 Share Posted June 11, 2012 It was fairly well regarded as a 2600 game. Plus, recently remade as a console title and there's also the "Jar's Revenge" release for the C64. Quote Link to comment Share on other sites More sharing options...
nosty Posted June 11, 2012 Share Posted June 11, 2012 Many thanks! Hehe I've been thinking about Seaquest port yesterday Phoenix and Seaquest are the best games on 2600. Quote Link to comment Share on other sites More sharing options...
xxl Posted June 11, 2012 Share Posted June 11, 2012 :-) 1. Enduro 2. KLAX 3. Phoenix Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 11, 2012 Share Posted June 11, 2012 Enduro? We have TGACCRR...I vote for Tank Commander and Chopper Command. Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted June 11, 2012 Share Posted June 11, 2012 plus Phoenix!!! Quote Link to comment Share on other sites More sharing options...
Rybags Posted June 11, 2012 Share Posted June 11, 2012 Chopper Command's pretty good and probably wouldn't have too many technical hurdles. Quote Link to comment Share on other sites More sharing options...
doomguy Posted June 11, 2012 Share Posted June 11, 2012 Wow! That is great! And incredibly fast. You rock! Quote Link to comment Share on other sites More sharing options...
AtariNerd Posted June 11, 2012 Share Posted June 11, 2012 Quick, someone please drone on about politics or religion or the weather, we can't have phaeron becoming too sated. Marvellous work, by the way - both your recent efforts. Quote Link to comment Share on other sites More sharing options...
olavese@online.no Posted June 11, 2012 Share Posted June 11, 2012 You simply rock :-) Awesome to see those on the 8-bit Atari computers. How about Solaris, that was an impressive game for 2600 Quote Link to comment Share on other sites More sharing options...
doomguy Posted June 11, 2012 Share Posted June 11, 2012 (edited) Solaris would be a nightmare I would imagine. Yars' Revenge or Adventure would be lovely. Or any of the imagic titles that never made it to the Atari computers. But in any case these Midnight Magic and Seaquest alone and amazing enough, and I'm grateful. I'm astounded at how quickly this second one was done. Edited June 11, 2012 by doomguy Quote Link to comment Share on other sites More sharing options...
Sikor Posted June 11, 2012 Share Posted June 11, 2012 Another great port... I can only write one: thanks Quote Link to comment Share on other sites More sharing options...
devwebcl Posted June 11, 2012 Share Posted June 11, 2012 real great work !!! (as usual). thanks a lot. Yeah, there are many 2600 games that will be great to have them in a8... Also I think Phoenix is a great choice Quote Link to comment Share on other sites More sharing options...
redman Posted June 11, 2012 Share Posted June 11, 2012 Thanks for the great transfer of the game, Avery! Can I ask you another port of the game Phoenix? I second the motion for Phoenix! I always thought that it was the best 2600 game. 1 Quote Link to comment Share on other sites More sharing options...
+Philsan Posted June 11, 2012 Share Posted June 11, 2012 Thanks for the great transfer of the game, Avery! Can I ask you another port of the game Phoenix? I second the motion for Phoenix! I always thought that it was the best 2600 game. +1 Quote Link to comment Share on other sites More sharing options...
snicklin Posted June 16, 2012 Share Posted June 16, 2012 Phaeron, you just amaze me. Years and years back (before I was a regular here), I was avidly watching your VirtualDub project and how it was coming along. I was very impressed with the product and used it a hell of a lot. Then by chance, I discover you on this site and having been the author of Altirra, which is an excellent emulator. Now you're converting games to the A8, and at what appears to be high speed. From reading your Altirra documentation, it is very apparent that you have an excellent eye for detail, something which is critical for an emulator writer. We need 100 of you on this site. Quote Link to comment Share on other sites More sharing options...
snicklin Posted June 16, 2012 Share Posted June 16, 2012 As for Seaquest, at first I wasn't keen as I do not know that much about the 2600 and usually it's games aren't as good as those on the A8. However, this one is an exception, it is quite a good game and fun to play. Thank you for converting it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.