roland p Posted November 25, 2008 Share Posted November 25, 2008 But I'm really getting out of ROM space. Lots of code is generated with macro's. Is it OK to change some macro's into subroutines, push some variables to the stack and call the subroutines with JSR? In general there's nothing wrong with changing macros into subroutines...except that it will eat CPU cycles due to the JSR/RTSes and the pushes and pops. Here's a document that shows how to do f8 bankswitching: http://www.qotile.net/minidig/docs/2600_ad..._prog_guide.txt It's not too hard...partitioning the code is really the hardest part. Ben Thanks, I'll check it out. I'll go that route now, I can always optimise the code afterwards if I want to. Quote Link to comment Share on other sites More sharing options...
Mirage Posted November 25, 2008 Share Posted November 25, 2008 Been following this since the start, and just want to express my appreciation (and amazement). Truly, this is incredible. Never would have guessed a 2600 could get even this far towards this goal. Please keep it up, and finish the game if possible (and it appears to be possible?) Incredible. 1 Quote Link to comment Share on other sites More sharing options...
roland p Posted November 25, 2008 Share Posted November 25, 2008 Been following this since the start, and just want to express my appreciation (and amazement). Truly, this is incredible. Never would have guessed a 2600 could get even this far towards this goal. Please keep it up, and finish the game if possible (and it appears to be possible?) Incredible. Thanks, I hope I can keep it up! Quote Link to comment Share on other sites More sharing options...
ginnidog Posted November 25, 2008 Share Posted November 25, 2008 Once again, nice work. We hope to see it completed and on cart.. I`m new to this Forum, but I have been reading this topic .. Paulie Quote Link to comment Share on other sites More sharing options...
roland p Posted November 26, 2008 Share Posted November 26, 2008 (edited) But I'm really getting out of ROM space. Lots of code is generated with macro's. Is it OK to change some macro's into subroutines, push some variables to the stack and call the subroutines with JSR? In general there's nothing wrong with changing macros into subroutines...except that it will eat CPU cycles due to the JSR/RTSes and the pushes and pops. Here's a document that shows how to do f8 bankswitching: http://www.qotile.net/minidig/docs/2600_ad..._prog_guide.txt It's not too hard...partitioning the code is really the hardest part. Ben Hi, I'm now trying to bankswitch. I've split my source into small parts so it's easy to move them around now. The code in the document you're refering to is in the $1000-$1FFF range. My modified hello-world is in the $F000-$FFFF range (I don't know why). When I change my orgs from $FXXX to $1XXX and I compile the thing, things are really slowing down in the emulator. Any idea what is going wrong? source.zip Edited November 26, 2008 by roland p Quote Link to comment Share on other sites More sharing options...
roland p Posted November 27, 2008 Share Posted November 27, 2008 (edited) problem solved Edited November 27, 2008 by roland p Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted November 27, 2008 Share Posted November 27, 2008 ACCELERATION is just a constant, so the address mode will be ignored. Quote Link to comment Share on other sites More sharing options...
roland p Posted November 27, 2008 Share Posted November 27, 2008 ACCELERATION is just a constant, so the address mode will be ignored. Yep, just discovered it. thanks anyway! Quote Link to comment Share on other sites More sharing options...
roland p Posted December 5, 2008 Share Posted December 5, 2008 (edited) Major update! implemented for both players: - non linear friction - brakes - bouncing on all 4 borders (was 3) - max speed - added bankswitching, 8Kb - full internal 16bit calculations now my brain hurts There are some small visual glithces, I did not take care of that this time. The code is very bloated too, but at least the functionality is there. ballblazer.bin source.zip Edited December 5, 2008 by roland p Quote Link to comment Share on other sites More sharing options...
ginnidog Posted December 5, 2008 Share Posted December 5, 2008 Looks awesome... keep up the excellent work PAulie Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted December 5, 2008 Share Posted December 5, 2008 Excellent! Did you limit the maximum speed by hand or does it automatically get limited by the friction? Quote Link to comment Share on other sites More sharing options...
Albert Posted December 5, 2008 Share Posted December 5, 2008 That really looks and feels great! ..Al Quote Link to comment Share on other sites More sharing options...
iwan-iwanowitsch-goratschin Posted December 5, 2008 Share Posted December 5, 2008 Wow, awesome work so far! Quote Link to comment Share on other sites More sharing options...
roland p Posted December 5, 2008 Share Posted December 5, 2008 Excellent! Did you limit the maximum speed by hand or does it automatically get limited by the friction? Just by hand. For each axis there are 3 states: accelleration to max speed ór friction ór brake Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted December 5, 2008 Share Posted December 5, 2008 Now we don't go faster than the speed of light! Much better. Is it just me or is the maximum speed set a little too low? If I remember correctly, maximum speed is a little faster than that. Quote Link to comment Share on other sites More sharing options...
roland p Posted December 5, 2008 Share Posted December 5, 2008 Now we don't go faster than the speed of light! Much better. Is it just me or is the maximum speed set a little too low? Could be, parameters can be easily tweaked now. I did not compare it to the real ballblazer yet. Quote Link to comment Share on other sites More sharing options...
Godzilla Posted December 5, 2008 Share Posted December 5, 2008 Can anyone post some updated screenshots for those of us at work who can't run emulators? Thanks in advance if you can. Quote Link to comment Share on other sites More sharing options...
Godzilla Posted December 5, 2008 Share Posted December 5, 2008 (edited) Ballblazer rules & keep up the awesome work! (oops dupe post I edited to make it say something.) Edited December 5, 2008 by Godzilla Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted December 5, 2008 Share Posted December 5, 2008 Can anyone post some updated screenshots for those of us at work who can't run emulators? Thanks in advance if you can. It still looks the same, just the movement has been improved. Quote Link to comment Share on other sites More sharing options...
+Nathan Strum Posted December 6, 2008 Share Posted December 6, 2008 That's remarkable! I would never have thought Ballblazer could ever look so good on the 2600. Quote Link to comment Share on other sites More sharing options...
+Nathan Strum Posted December 6, 2008 Share Posted December 6, 2008 Can anyone post some updated screenshots for those of us at work who can't run emulators? Thanks in advance if you can. You really have to see this in motion to get a sense of how good it looks. Quote Link to comment Share on other sites More sharing options...
tschak909 Posted December 6, 2008 Share Posted December 6, 2008 Roland, you have catapulted yourself into the pantheon of legend. This is.... absolutely insane. from one hacker to another...much respect. Wow. -Thom Quote Link to comment Share on other sites More sharing options...
Albert Posted December 6, 2008 Share Posted December 6, 2008 Can anyone post some updated screenshots for those of us at work who can't run emulators? Thanks in advance if you can. You really have to see this in motion to get a sense of how good it looks. Someone should take a video. ..Al Quote Link to comment Share on other sites More sharing options...
mos6507 Posted December 6, 2008 Share Posted December 6, 2008 I'll add to the chorus. Excellent milestone. Quote Link to comment Share on other sites More sharing options...
+remowilliams Posted December 6, 2008 Share Posted December 6, 2008 Simply mindblowing to see that on the 2600! The movement and reaction feels very good. As far as max speed, either the playfield is too large or the max speed is too slow. At least by my guestimation of 'feel' vs the A8. 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.