Jump to content
IGNORED

need some help


Thelen

Recommended Posts

i wanted to try some programming on the atari 2600 but I don't understand this :

 

my intention was to see at screen line 10 byte number 3 of pfdata1, but i get it over the whole screen

 

i don't see what i do wrong, I compare Y with 10, so only if Y=10 then the pfdata byte 3 will be drawn at line 10 i thought.

 

 

LDY #191

 

ScanLoop

 

STA WSYNC

 

CPY #10 ; compare y with 10

BNE nop0 ; not 10 ? goto nop0

LDX #3

LDA PFData1,x ;byte 3 from pfdata

STA PF1

LDA #$FA

STA COLUP0 ;color FA

nop0

DEY

BNE ScanLoop

 

 

thanks, TheleN

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...