Jump to content
Sign in to follow this  
Cassidy Nolen

Which end is "up"?

Recommended Posts

Hi all,

 

Have a question about the ROM for a 2600 game. If you were to use a jump to byte 0200 command, which end of the game rom would you put it on? I tried putting the command A4 00 02 in the locations 00 01 02, but it did not do what I wanted it to.

 

Does it need to go at the other end, like 0FFF, and backwards? I really have been trying to understand the assembly language; just not clear where the Atari starts "reading".

 

Thanks all. I will really try not to ask more stupid questions than necessary.... :)

 

Cassidy

 

 

BTW, where do I sign up for Stella's List?

Share this post


Link to post
Share on other sites

When you boot the Atari, it reads the word at $0FFC and loads that word into the program counter. So you tell it where to start reading.

 

	org $0FFC



dc.w $0000 ;  For example, tell it to start at $0000



dc.w $0000 ;  Fill in two more bytes to make it a full 4K

                                ;  ( I believe this is also the interrupt vector )

 

-Paul

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