Heroes & Shadows Posted October 10, 2018 Share Posted October 10, 2018 Hi, I am having an issue with getting a simple display going. What's supposed to happen is a brown smiley face is supposed to appear.on the screen. Instead, all I get is a black screen with nothing being shown. I tried using the debugger, but couldn't figure out what was going on as it kept getting stuck on the line checking to see if the players y position is equal to the current scanline until the overscan period. Source Code: https://www.dropbox.com/s/4vb0fdklz2oz2qb/source.asm?dl=0 Quote Link to comment Share on other sites More sharing options...
+Karl G Posted October 10, 2018 Share Posted October 10, 2018 Just at a first glance, I am noticing this: ; *********************** ; Initialisation ; *********************** lda #01 ; decimal color code for brown sta COLUP0 ; set player's graphic color This is black on a default background of black. I'm assuming NTSC based on the timings, so you probably want maybe something like $F4 here for brown, depending on the desired shade. See this page for color reference: http://www.qotile.net/minidig/docs/tia_color.html 1 Quote Link to comment Share on other sites More sharing options...
+Karl G Posted October 10, 2018 Share Posted October 10, 2018 I assembled your source myself and ran it under Stella, turning on the "debug colors" option (Control-Comma or Command-Comma depending on your platform). Your sprite is there, but just invisible due to color. 1 Quote Link to comment Share on other sites More sharing options...
Heroes & Shadows Posted October 10, 2018 Author Share Posted October 10, 2018 Just at a first glance, I am noticing this: ; *********************** ; Initialisation ; *********************** lda #01 ; decimal color code for brown sta COLUP0 ; set player's graphic color This is black on a default background of black. I'm assuming NTSC based on the timings, so you probably want maybe something like $F4 here for brown, depending on the desired shade. See this page for color reference: http://www.qotile.net/minidig/docs/tia_color.html Thanks for the handy link, I was looking at the one here: https://atariage.com/2600/programming/2600_101/06happy.html which is very different than the one you linked to. I assembled your source myself and ran it under Stella, turning on the "debug colors" option (Control-Comma or Command-Comma depending on your platform). Your sprite is there, but just invisible due to color. Screen Shot 2018-10-09 at 10.47.53 PM.png That's actually very good to know. As I said I 'm very new to this so I'm starting very slow, and working my way up. This is actually my third "step", the second was just getting a basic skeleton working and the first setting up a working development toolchain. Is there a tutorial for the Stella debugger that i can use to learn how to use it better maybe on Youtube? Quote Link to comment Share on other sites More sharing options...
+Karl G Posted October 10, 2018 Share Posted October 10, 2018 I'm guessing that you are aware of the the documentation page for the debugger, but I'll give you that link just in case. I hadn't heard of any tutorials myself, though searching for "stella debugger" on YouTube showed a couple of results from the same user. If you try them, I'd be interested to hear how helpful they were: (Based on seeing "Mr. Celery" in the thumbnail, I wonder if these were made by our own atari2600land). Quote Link to comment Share on other sites More sharing options...
+SvOlli Posted October 10, 2018 Share Posted October 10, 2018 Thanks for the handy link, I was looking at the one here: https://atariage.com/2600/programming/2600_101/06happy.html which is very different than the one you linked to. You just read that table wrong. The color you assumed to be $01 is $10. On top is the base color, which is the first digit, The brightness is the second digit. 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.