oceanix42 Posted September 29 Share Posted September 29 26 minutes ago, RevEng said: Thanks! md5sum confirms that arm file is the same one being distributed with bB since v1.4. I was afraid you were going to say that. Thanks for checking! Alas, a sad day for development. I'll keep looking into it. I also confirmed that Atari Dev Studio in Visual Studio Code is using v1.7 bB. Quote Link to comment Share on other sites More sharing options...
RevEng Posted September 29 Share Posted September 29 Taking a step back.. if you double-check the size, is your generated rom 32k? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted September 29 Share Posted September 29 15 minutes ago, RevEng said: Taking a step back.. if you double-check the size, is your generated rom 32k? I ran into issues when I compiled his source file, too, and my ROM is 32768 bytes as expected. I did not find any issues with his source file, and the ROM also runs fine in both Stella (in developer mode) and Gopher. I compiled the 13 object demo the same way with the latest bB, and the ROM works fine on my Harmony cart, so at this point I'm pretty sure it's not a bB regression of any kind. Quote Link to comment Share on other sites More sharing options...
oceanix42 Posted September 30 Share Posted September 30 2 hours ago, Karl G said: I ran into issues when I compiled his source file, too, and my ROM is 32768 bytes as expected. I did not find any issues with his source file, and the ROM also runs fine in both Stella (in developer mode) and Gopher. I compiled the 13 object demo the same way with the latest bB, and the ROM works fine on my Harmony cart, so at this point I'm pretty sure it's not a bB regression of any kind. Yes, my rom is 32kb and the 13 objects runs fine for me on my harmony cart. very interesting. I agree with it now being an issue with the rom. Thanks again for all the help! I will let you know how it goes 1 Quote Link to comment Share on other sites More sharing options...
+Karl G Posted September 30 Share Posted September 30 2 hours ago, oceanix42 said: Yes, my rom is 32kb and the 13 objects runs fine for me on my harmony cart. very interesting. I agree with it now being an issue with the rom. Thanks again for all the help! I will let you know how it goes I don't know if it is somehow related to your issue, but I noticed you have a number of lines that should be moved out of your main loop, and placed before the __Main_Loop label: ;*************************************************************** ; sets player position and sets up score field player0x = 76 : player0y = 140 NUSIZ2 = 2 player2x = 59 : player2y = 120 ;*************************************************************** ; set up score and lives/health bar const pfscore = 1 score = 619 ; score color scorecolor = $B4 ; sets color of score for visibility pfscorecolor = $64 ; pfscore1 = %01010100 pfscore2 = %11111111 Quote Link to comment Share on other sites More sharing options...
oceanix42 Posted September 30 Share Posted September 30 11 hours ago, Karl G said: I don't know if it is somehow related to your issue, but I noticed you have a number of lines that should be moved out of your main loop, and placed before the __Main_Loop label: ;*************************************************************** ; sets player position and sets up score field player0x = 76 : player0y = 140 NUSIZ2 = 2 player2x = 59 : player2y = 120 ;*************************************************************** ; set up score and lives/health bar const pfscore = 1 score = 619 ; score color scorecolor = $B4 ; sets color of score for visibility pfscorecolor = $64 ; pfscore1 = %01010100 pfscore2 = %11111111 Thanks for the help. I'm going to start from a clean example and incrementally add my changes to see what the trigger for failure is. I really appreciate all the attention you cats have giving this. Thanks again! 1 Quote Link to comment Share on other sites More sharing options...
oceanix42 Posted October 2 Share Posted October 2 (edited) On 9/29/2023 at 11:47 PM, Karl G said: I don't know if it is somehow related to your issue, but I noticed you have a number of lines that should be moved out of your main loop, and placed before the __Main_Loop label: ;*************************************************************** ; sets player position and sets up score field player0x = 76 : player0y = 140 NUSIZ2 = 2 player2x = 59 : player2y = 120 ;*************************************************************** ; set up score and lives/health bar const pfscore = 1 score = 619 ; score color scorecolor = $B4 ; sets color of score for visibility pfscorecolor = $64 ; pfscore1 = %01010100 pfscore2 = %11111111 An update. I've discovered that the error was coming from my animate monster subroutine. For a reason that I am unaware of, the call to the animate subroutine needed to be placed after the drawscreen in the main loop, and not prior. Edited October 2 by oceanix42 Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted October 2 Share Posted October 2 Subroutines are usually outside of the main loop. Is that bit of code running twice? 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.