Jump to content

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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.

 

post-48311-0-65872000-1539139917_thumb.png

  • Like 1

Share this post


Link to post
Share on other sites

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.

 

attachicon.gifScreen 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?

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...