Dragnerok X Posted November 9, 2006 Share Posted November 9, 2006 (edited) ...I need some help. Recently after finishing an atari game/program in Bb a few weeks ago, I decided to take the "plunge" into asm, mostly for more programming power. I've been reading through many different tutorials and have started to create a horendously simple demo with dasm. What I am wondering, is, why won't it compile? Here's the source code for it. kernel.zip ...and in case your wondering, all it's supposed to be is a simple, single-color, screen. Edited November 9, 2006 by Dragnerok X Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted November 9, 2006 Share Posted November 9, 2006 Two errors that prevent compiling: 1. VBLANK is a reserved constant for a TIA register, so you cannot use it for a label. 2. Reset is undefined. You have to define that label before CLEAN_START. One more error: You enable VBLANK, but you don't disable it again. Therefore the screen will be black. Disable VBLANK before PICTURE. BTW: It is not common to use UPPERCASE for labels. UPPERCASE is reserved for constants. Use MixedCase for labels instead. Quote Link to comment Share on other sites More sharing options...
Dragnerok X Posted November 10, 2006 Author Share Posted November 10, 2006 Two errors that prevent compiling: 1. VBLANK is a reserved constant for a TIA register, so you cannot use it for a label. 2. Reset is undefined. You have to define that label before CLEAN_START. One more error: You enable VBLANK, but you don't disable it again. Therefore the screen will be black. Disable VBLANK before PICTURE. BTW: It is not common to use UPPERCASE for labels. UPPERCASE is reserved for constants. Use MixedCase for labels instead. Well, it worked. Not too exciting, but hey, what do you expect! ...now time to do something more interesting with this, like add a few sprites or make the background multi-colored. 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.