arwanderer Posted September 8 Share Posted September 8 Definite n00b here...I have recently been messing around with bAtari Basic and have made a few example/demo programs and even a game that was essentially an elaborate hack of another game. However, I purchased the book "Programming Games for Atari 2600" by Oscar Toldedo G. and wanted to learn to program using assembly. I ran into problems immediately when trying to compile the example demo at the beginning of the book. I resolved some of them since it mostly had to do with how I indented the code, but I'm not sure what to do about the remaining problem. Forgive my extreme ignorance, I'm wanting to learn and thanks in advance for any advice/solutions as well. 1 Quote Link to comment Share on other sites More sharing options...
+splendidnut Posted September 9 Share Posted September 9 You need to put a copy of 'vcs.h' in your project folder and use an include statement near the top of your source code: include 'vcs.h' The vcs.h file is where things like COLUBK, VSYNC, etc. are defined. Quote Link to comment Share on other sites More sharing options...
arwanderer Posted September 9 Author Share Posted September 9 (edited) 14 minutes ago, splendidnut said: You need to put a copy of 'vcs.h' in your project folder and use an include statement near the top of your source code: include 'vcs.h' The vcs.h file is where things like COLUBK, VSYNC, etc. are defined. Much thanks for the reply. Before I had a chance to see this and update with a post, another user had PM'd me and said the same thing. After adding that, the code compiled, and I received a flashing pink screen. There was another issue with my code as well. I had a "WSYNC" where a "VSYNC" should have been. After fixing that little mistake, I got a blue screen which is what the "demo" exercise in the book was supposed to do. Edited September 9 by arwanderer posted by mistake before finishing Quote Link to comment Share on other sites More sharing options...
arwanderer Posted September 9 Author Share Posted September 9 Here is the result of the first demo exercise: Not much, and more easily achieved by using bAtari Basic, but I'm interested in pushing forward with the exercises in this programming book and learning 6502 Assembly. Currently, I'm using Microsoft's Visual Studio Code with the Atari Dev Studio extension. Quote Link to comment Share on other sites More sharing options...
arwanderer Posted September 9 Author Share Posted September 9 Exercise 2, displaying two colors on screen. After this, we move on to the ball. Quote Link to comment Share on other sites More sharing options...
arwanderer Posted September 9 Author Share Posted September 9 I realized that continually posting my progress would be better suited to blog format. Here it is for anyone interested. Quote Link to comment Share on other sites More sharing options...
arwanderer Posted September 27 Author Share Posted September 27 (edited) Post deleted Edited September 27 by arwanderer Answered my own question 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.