ilmenit Posted February 9, 2021 Share Posted February 9, 2021 6 minutes ago, popmilo said: ps. If you know a good way to figure out where things are in cc65 compiled binary I would be glad to hear I used the VICE label file generated that can be loaded to Altirra for debugging and profiling. cl65 -t atari -Ln game.lbl --listing game.lst --add-source -o game.xex game.c Not sure if there is a better options. There is also --dbgfile option that gives you information about size of compiled functions, but I never really used it. I attach also my build file for "Adam Is Me" that was putting stuff into proper segments. The source code was split into files according to segments they should go. build-atari.bat Quote Link to comment Share on other sites More sharing options...
popmilo Posted February 9, 2021 Share Posted February 9, 2021 That cfg file you shared looks similar to ours... Looking at it, I can see where part of the problem was. My own bias towards pure asm born out of 35 years of coding in it 90% of coding I do at workplace is python or plc logic... None of our a8 tools resembles that. For someone like me .byte, bunch of lda, sta, zp etc looks like perfectly clear code... Someone else looks at cc65 cfg file and it makes sense, has words, brackets, everything you would need. But for me that looks alien for some reason Yaron will have what to say about that, he knows more about that kind of stuff than me. I'm the guy who needs to write pure asm self modifying code to squeeze every possible cpu cycle... 2 Quote Link to comment Share on other sites More sharing options...
ilmenit Posted February 9, 2021 Share Posted February 9, 2021 (edited) 37 minutes ago, popmilo said: Yaron will have what to say about that, he knows more about that kind of stuff than me. I'm the guy who needs to write pure asm self modifying code to squeeze every possible cpu cycle... ASM is great if you do small, highly optimized things or stuff you do without break. In this new project I returned to it after a few months break and now I have to "relearn" everything I coded (even when it was heavily commented) by "debugging ASM in my head". Incomparable harder from code maintenance perspective than working with e.g. C code. Also I'm not even trying to understand the parts of the code done by the others who participate (e.g. they use direct hex addresses instead of e.g. WSYNC) and it would take me ages to go through the code referring Atari Memory Map every second line Edited February 9, 2021 by ilmenit 1 Quote Link to comment Share on other sites More sharing options...
Yaron Nir Posted February 9, 2021 Author Share Posted February 9, 2021 @ilmenit, we did use dbg file, list file, asm file and of course configuration file with segments. To do optimized operations that require fast cpu and speed you will need asm if you're coding in CC65 you will need to add these routines as inline asm. this kinda misses the purpose of having a high level language. also DLI, VBI, OS disabling, NMI , IRQ and other atom operations are not handled straight forward in CC65 and you need to embed inline asm commands to support them, a good example can be the stack usage within VBI and DLI. We also couldn't control the size of code especially after we had the optimization flag enabled. the tricks in config file did help us a lot but still that is not full control as we have now in MADs. so now we are heavy on the ASM and so far so good Quote Link to comment Share on other sites More sharing options...
ilmenit Posted February 9, 2021 Share Posted February 9, 2021 Inline asm was one option. Other one could be linking with the compiled ASM files (this was my approach e.g. in His Dark Majesty). CA65 is a powerful assembler, has many features present in MADS: https://cc65.github.io/doc/ca65.html Don't get me wrong, I also think that for such project as Wonderboy asm is much more appropriate and MADS is the best assembler for A8 ? Quote Link to comment Share on other sites More sharing options...
adam1977 Posted June 14, 2021 Share Posted June 14, 2021 Any updates on this? ? 1 Quote Link to comment Share on other sites More sharing options...
popmilo Posted June 14, 2021 Share Posted June 14, 2021 7 hours ago, adam1977 said: Any updates on this? ? Real life intervened I'm sorry to say. Some things are much much much more important than coding a retro game. We've got to a point where lot of gfx is done, couple levels layout prepared, and now it's my turn to code efficient multi-directional scrolling routine. Because of some serious health issues in my family, I can't focus enough right now, so it will have to wait at least a month or two... Wonderboy will come ... Maybe not this autumn but it will be done one of these days. Cheers! Vladimir 14 3 Quote Link to comment Share on other sites More sharing options...
Gury Posted June 15, 2021 Share Posted June 15, 2021 Hi Vladimir, I hope everything goes well for your family in the future. I know how it is, I was there in similar situation. Plans change drastically. PM me when you come close to Slovenia neighbourhood, so we can meet and drink some beers and coffee. 1 Quote Link to comment Share on other sites More sharing options...
popmilo Posted June 15, 2021 Share Posted June 15, 2021 1 hour ago, Gury said: Hi Vladimir, I hope everything goes well for your family in the future. I know how it is, I was there in similar situation. Plans change drastically. PM me when you come close to Slovenia neighbourhood, so we can meet and drink some beers and coffee. Thanks @Gury Yeah, it's one of those things that all of us have to pass, parents get older and fragile. Will let you know when to chill the beer Cheers! Vladimir 1 Quote Link to comment Share on other sites More sharing options...
Gury Posted June 15, 2021 Share Posted June 15, 2021 Cheers! Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted June 15, 2021 Share Posted June 15, 2021 Sorry to hear Popmilo, I can understand as I've gone through this twice, once with my mother and then with my old friend Bob.. The game, it can wait, as you say, real life is so much more important.. Best wishes from the Irvine household.. 1 1 Quote Link to comment Share on other sites More sharing options...
Gunstar Posted June 15, 2021 Share Posted June 15, 2021 (edited) I'm currently dealing with the care of my 83 year old mom who is fragile and senile for several years now, and the house-hold and my business. I too, know what it's like. Luckily my brother moved here to help a year ago, allowing me to be able to focus more on my business, but issues with mom still pop up and get in the way of the rest of my life, but for all the trouble she can be, I still hope to have her around for a few more years, but hopefully not so long that I'm old and fragile too, which isn't too many years away, most likely, hopefully I've got a couple more decades in me though. Edited June 15, 2021 by Gunstar 3 Quote Link to comment Share on other sites More sharing options...
popmilo Posted June 16, 2021 Share Posted June 16, 2021 7 hours ago, Gunstar said: Luckily my brother moved here to help a year ago, allowing me to be able to focus ... Same here, as you say luckily that makes life at least little better. Getting at least couple hours free per day is all we can hope for, and this way we get it. As my brother is also nerd from 80s, I'm trying to convince him every day to get back into retro coding, but he's too smart for that 1 Quote Link to comment Share on other sites More sharing options...
ALEXANDER Posted October 7, 2021 Share Posted October 7, 2021 On 2/6/2021 at 2:10 PM, Yaron Nir said: Rasta converter? On 2/6/2021 at 2:10 PM, Yaron Nir said: Rasta converter? Awesome work !! I can´t wait to play it. Congrats... I found a great video in your honor. 1 Quote Link to comment Share on other sites More sharing options...
emkay Posted October 7, 2021 Share Posted October 7, 2021 43 minutes ago, ALEXANDER said: Awesome work !! I can´t wait to play it. Congrats... I found a great video in your honor. You'll never play it 1 Quote Link to comment Share on other sites More sharing options...
ALEXANDER Posted October 7, 2021 Share Posted October 7, 2021 1 hour ago, emkay said: You'll never play it Who knows. Quote Link to comment Share on other sites More sharing options...
+MrFish Posted October 8, 2021 Share Posted October 8, 2021 4 hours ago, ALEXANDER said: Awesome work !! I can´t wait to play it. Congrats... I found a great video in your honor. BTW... why does it say WONDER BOV instead of WONDER BOY? 2 Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 8, 2021 Share Posted October 8, 2021 4 hours ago, emkay said: I'm not negative 4 Quote Link to comment Share on other sites More sharing options...
popmilo Posted October 8, 2021 Share Posted October 8, 2021 11 hours ago, ALEXANDER said: Who knows. You will 1 Quote Link to comment Share on other sites More sharing options...
Mclaneinc Posted October 8, 2021 Share Posted October 8, 2021 Nice to hear t's still going, but I hope more that things are more settled at your end @popmilo, real life first, as always... We always lust after new stuff for the Atari, but in truth we have LOADS to play and use, we have had the machine for over 40yrs, so a wait for software is nothing compared 1 Quote Link to comment Share on other sites More sharing options...
Thelen Posted October 8, 2021 Share Posted October 8, 2021 WOW!!! 1 Quote Link to comment Share on other sites More sharing options...
ALEXANDER Posted October 11, 2021 Share Posted October 11, 2021 On 10/8/2021 at 6:16 AM, popmilo said: You will Best wishes Popmilo. I hope someday you come back with this project. Take care. 1 Quote Link to comment Share on other sites More sharing options...
rdefabri Posted July 22, 2022 Share Posted July 22, 2022 On 7/22/2020 at 1:47 AM, Yaron Nir said: another arcade port childhood dream - kung fu master! You and me both! Hope this comes to fruition! Quote Link to comment Share on other sites More sharing options...
+ZeroPage Homebrew Posted October 27, 2022 Share Posted October 27, 2022 ZeroPage Homebrew is playing Wonder Boy on tomorrow's stream LIVE on Twitch, hope you can join us! Fri Oct 28, 2022 | LIVE @ 12PM PT | 3PM ET | 7PM GMT WATCH LIVE: https://www.twitch.tv/zeropagehomebrew/WATCH LATER: https://youtube.com/zeropagehomebrew/ Games: Guntus (2022 | A8) by Inufuto Cartfall (2022 | A8) by bocianu @bocianu (Code) / tatqoo (Music) / kaz (Title Graphics) Wonder Boy (2020 WIP | A8) by Yaron Nir @Yaron Nir & Vladimir Jankovic @popmilo (Code) / Konstantinos Giamalidis @TIX (Graphics/Sprites) / José Pereira @José Pereira (Screens/Maps/Colors) / Michal Szpilowski @miker (Music & Sounds) 1 1 Quote Link to comment Share on other sites More sharing options...
_The Doctor__ Posted March 21, 2023 Share Posted March 21, 2023 Because it's time... Wonder Boy! Betcha can't get the music outtah ya head! 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.