mariuszw Posted July 25, 2015 Share Posted July 25, 2015 Here is my next C64 to Atari 8-bit port: Fairlight: A Prelude. For now only joystick is implemented, so you can walk around and fight the guards, but you cannot take and use items etc. It should work on real Atari, however I tested it under Altirra only. Enjoy! fl.obx 18 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/ Share on other sites More sharing options...
popmilo Posted July 26, 2015 Share Posted July 26, 2015 Great start! It's not like Spectrum version but at least it's not slower than C64 version 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3286009 Share on other sites More sharing options...
mariuszw Posted July 26, 2015 Author Share Posted July 26, 2015 Great start! It's not like Spectrum version but at least it's not slower than C64 version No chance for code to be slower than C64 - 1,79MHz vs. 1MHz makes the difference The code really looks to be converted line-by-line from Z80 to 6502, so I expect it may be quite well optimized later. I also wonder why original programmer didn't use hardware sprites on C64 - they would fit nicely in the game, making less work for the programmer (no need to convert software-sprite routines) and the game speed would be really good. BTW: is there an easy way to estimate real clock of Atari during executing given software, i.e. how much CPU time (expressed in MHx) is stolen by ANTIC? Here in Fairlight narrow screen is used (32 bytes), but in character mode. There are also 24 character lines displayed (192 pixel lines). 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3286087 Share on other sites More sharing options...
popmilo Posted July 27, 2015 Share Posted July 27, 2015 The code really looks to be converted line-by-line from Z80 to 6502, so I expect it may be quite well optimized later. I also wonder why original programmer didn't use hardware sprites on C64 - they would fit nicely in the game, making less work for the programmer (no need to convert software-sprite routines) and the game speed would be really good.You're right. Looks like fast conversion, similar to how Head over heels was done. Working with hardware sprites would demand too much new code I guess... BTW: is there an easy way to estimate real clock of Atari during executing given software, i.e. how much CPU time (expressed in MHx) is stolen by ANTIC? Here in Fairlight narrow screen is used (32 bytes), but in character mode. There are also 24 character lines displayed (192 pixel lines).For Pal mode one scanline is 114 cycles. There are 312 lines, 50 frames/second = 1778400 ~ 1,78MHz In character mode Antic takes 74 cycles in 'badline' (first line of character) and 48 cycles in each of remaining 7 character lines. So.... One frame time = 312*114-24*(74+7*48) = 25728. 50*25728 / 1778400 ~ 0.72 - Almost 30% slower Still faster than C64 ps. Here is how antic stealing cycles looks like (cpu timing explained in attached file): 0 1 2 3 4 5 6 7 8 9 10111213141516171819202122232425262728293031 |---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|- IPPPPAA RC CGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGCGRG M Mode 2,3,4,5 - Narrow PPPPAA R GRG GRG GRG GRG GRG GRG GRG GRG G G G G G G G G G G G G G G G G M Mode 2,3,4,5 - Narrow Antic_Timings.txt 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3286542 Share on other sites More sharing options...
Mclaneinc Posted July 27, 2015 Share Posted July 27, 2015 Oh for the music Great initial release, really enjoyed this on the 64 so lovely to see it on the Atari... Keep up the brilliant work! Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3286547 Share on other sites More sharing options...
Lost Dragon Posted July 27, 2015 Share Posted July 27, 2015 Very nice. I had this on the C64 and whilst i loved the music, i gave up on the game itself due to the sheer slowness of the game, really put me off. Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3286549 Share on other sites More sharing options...
emkay Posted July 28, 2015 Share Posted July 28, 2015 Fairlight reminds me of something ... 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3287296 Share on other sites More sharing options...
mariuszw Posted August 15, 2015 Author Share Posted August 15, 2015 Here is next version of Fairlight port. New features: - screens are colored - keyboard is working (although there are issues under Altirra, it seems that not all keypresses are properly recognized, I am not sure if it is my bug - please test on real Atari and let me know, game keys are listed on title screen, please do not shift key, it doesn't work) - code optimization - game seems to be up to two times faster (or less slow) than C64 version, but still slows down when there is a lots happening on screen. Screen drawing which happens when hero enters the room is also faster. Mariusz. fl.obx 4 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3300832 Share on other sites More sharing options...
phaeron Posted August 16, 2015 Share Posted August 16, 2015 - keyboard is working (although there are issues under Altirra, it seems that not all keypresses are properly recognized, I am not sure if it is my bug - please test on real Atari and let me know, game keys are listed on title screen, please do not shift key, it doesn't work) Input > Keyboard > Send raw key strokes Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3300878 Share on other sites More sharing options...
mariuszw Posted August 16, 2015 Author Share Posted August 16, 2015 Input > Keyboard > Send raw key strokes Thanks, that did the trick. BTW: thanks for your awesome Altirra emulator. Makes Atari programming and code optimizing a joy 2 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3301170 Share on other sites More sharing options...
Heaven/TQA Posted August 16, 2015 Share Posted August 16, 2015 Altirra and MADS and WUDSN are all reason for my many releases last 2 years... So thx from me, too to Phaeron, tebe and Jac. 2 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3301184 Share on other sites More sharing options...
popmilo Posted August 16, 2015 Share Posted August 16, 2015 Here is next version of Fairlight port. New features: - screens are colored - keyboard is working (although there are issues under Altirra, it seems that not all keypresses are properly recognized, I am not sure if it is my bug - please test on real Atari and let me know, game keys are listed on title screen, please do not shift key, it doesn't work) - code optimization - game seems to be up to two times faster (or less slow) than C64 version, but still slows down when there is a lots happening on screen. Screen drawing which happens when hero enters the room is also faster. Mariusz. Great work! Thanks for improved version! Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3301211 Share on other sites More sharing options...
snicklin Posted August 17, 2015 Share Posted August 17, 2015 It's quite ironic that the best games on a computer with the name of "Spectrum" are black and white. 2 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3301991 Share on other sites More sharing options...
popmilo Posted August 18, 2015 Share Posted August 18, 2015 It's quite ironic that the best games on a computer with the name of "Spectrum" are black and white.No Sir you're not right! They are in black and one color On serious note, I must admit those hires sprites are some of the best looking graphics ever imho... Head over Heels, Target Renegade, Heartland, Trantor, Laser squad... Wish Atari would have some better way of adding color to hires mode than dli and pm overlay... Adding just a little bit of color difference here and there makes it look so much better. Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3302643 Share on other sites More sharing options...
snicklin Posted August 18, 2015 Share Posted August 18, 2015 I admit that the high resolution graphics are great. I wish there were more of these isometric games on the Atari. Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3302649 Share on other sites More sharing options...
mariuszw Posted August 18, 2015 Author Share Posted August 18, 2015 (...). I wish there were more of these isometric games on the Atari. That's quite likely to happen 6 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3302925 Share on other sites More sharing options...
snicklin Posted August 19, 2015 Share Posted August 19, 2015 Ooh Batman would be nice! Sent from my Ultra using Tapatalk 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3303514 Share on other sites More sharing options...
José Pereira Posted August 19, 2015 Share Posted August 19, 2015 Batman can not be unless he starts studying Z80 assembly, it wasn't available for C64 and only for ZX Spectrum and Amstrad CPC. Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3303526 Share on other sites More sharing options...
mariuszw Posted August 19, 2015 Author Share Posted August 19, 2015 Batman can not be unless he starts studying Z80 assembly, it wasn't available for C64 and only for ZX Spectrum and Amstrad CPC. I already know Z80 assembly from working on MAME project There are still two hires isometric games on C64: Bobby Bearing and Nosferatu. I was actually looking at Bobby Bearing and for now it looks that this one should be also quite easy to port to Atari. 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3303563 Share on other sites More sharing options...
popmilo Posted August 19, 2015 Share Posted August 19, 2015 Batman can not be unless he starts studying Z80 assembly, it wasn't available for C64 and only for ZX Spectrum and Amstrad CPC.No need to rush in conclusions... There is an excellent Pc version and I know the guy who made it Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3303664 Share on other sites More sharing options...
José Pereira Posted August 19, 2015 Share Posted August 19, 2015 (edited) 8086/8 or Z80 it still isn't 6502, even if he's familiar with these processors assembly and that one gives him the code commented he still has to code all 6502 new. I don't think that's Marius purprose but he is who knows. And after these 2.5D/isometric there are some others 6502 C64 without hardware sprites and he can even go to BBC/Electron 2bpp 4colours games (in this moment I am remembering one that I kindly converted the loading screen but someone didn't do anything more ). Unless his name isn't Marius but indeed XXL then maybe a quicky Z80 port is sure possible to in a few days . Edited August 19, 2015 by José Pereira 1 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3303699 Share on other sites More sharing options...
popmilo Posted August 20, 2015 Share Posted August 20, 2015 Jose, you're right about it being hard to code 6502 from start. I would just like to see new 3d iso game on Atari. And more important - better than any existing C64, Spectrum, Amstrad version Imho, having graphics and gamemap done is a good start. Chimera for example took a lot of effort but we learned a lot while fixing it. New 3d iso game is not so far away on A8 2 Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3304205 Share on other sites More sharing options...
mariuszw Posted August 20, 2015 Author Share Posted August 20, 2015 I would just like to see new 3d iso game on Atari. And more important - better than any existing C64, Spectrum, Amstrad version Imho, having graphics and gamemap done is a good start. Chimera for example took a lot of effort but we learned a lot while fixing it. New 3d iso game is not so far away on A8 Can you please reveal some more details on this? Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3304370 Share on other sites More sharing options...
mariuszw Posted August 20, 2015 Author Share Posted August 20, 2015 And after these 2.5D/isometric there are some others 6502 C64 without hardware sprites Can you please list these C64 without hardware sprites games you have found? Also, they should run in bitmap mode, due to 128 characters limit on tilemaps (vs. 256 on C64) to make porting easy. Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3304373 Share on other sites More sharing options...
José Pereira Posted August 20, 2015 Share Posted August 20, 2015 Can you please list these C64 without hardware sprites games you have found? Also, they should run in bitmap mode, due to 128 characters limit on tilemaps (vs. 256 on C64) to make porting easy. I started a new here to not 'polute' this one: http://atariage.com/forums/topic/241868-c64-games-without-software-sprites/ Quote Link to comment https://forums.atariage.com/topic/240892-new-game-port-fairlight/#findComment-3304422 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.