GemWare Games Posted July 5, 2017 Share Posted July 5, 2017 (edited) So I'm working on my first game, and when I try to compile, it doesn't work . The "error" is one of the color codes, but it is indented and correct, and nothing works. Please help. (Program has been removed as the problem has been solved. Thanks again to Random Terrain and bogax!) Edited July 7, 2017 by GemWare Games Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 5, 2017 Share Posted July 5, 2017 It's probably choking on this stuff: COLUBK = $02/2 COLUPF = $F0/240 & $1E/30 & $40/64 Why are you dividing and ANDing? Just put in a decimal or hex number for COLUBK and COLUPF without the extra stuff and you shouldn't have a problem. Quote Link to comment Share on other sites More sharing options...
GemWare Games Posted July 5, 2017 Author Share Posted July 5, 2017 Oh thanks. Much appreciated! Quote Link to comment Share on other sites More sharing options...
bogax Posted July 6, 2017 Share Posted July 6, 2017 I agree with RT use constants for your color instead of those constant expressions division takes a lot of time unless it's division by a power of 2 having said that, it compiles fine for me if I include the div mul routines Quote Link to comment Share on other sites More sharing options...
GemWare Games Posted July 7, 2017 Author Share Posted July 7, 2017 Thanks as well! I'm just stumbling in the dark with Batari Basic, just feeling my way through things. I'm quite new to this. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 7, 2017 Share Posted July 7, 2017 Thanks as well! I'm just stumbling in the dark with Batari Basic, just feeling my way through things. I'm quite new to this. The bB page has some example programs that you might want to play around with: randomterrain.com/atari-2600-memories-batari-basic-commands.html#example_programs More example programs will be added some time this year. 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.