Jump to content
Sign in to follow this  
Thelen

atari 8 bit programming

Recommended Posts

I want to start with a little bit programming on the atari 8 bit. i know 6502, and was looking at the atariarchives.com in a book - arcade graphics and game design. now i want to compile the breakout game :

http://www.atariarchives.org/agagd/display...pter4/BREAKOT.S

 

how can i do this, and how can i get it running on e.g. atari800win ?

 

i am also looking for little examples to put text on the screen player missile, line drawing...

 

thanks,

Thelen

Share this post


Link to post
Share on other sites

The game can be compiled using an assembler like Xasm or Atasm running on your PC. Just save the text with the extension .asm and let the assembler do the rest. When the binary file is done, you can load it up in Atari800Win** or port it over to an actual floppy using an APE-type cable.

 

**When in the emulator, press alt-h to select the folder where the file is saved. Reboot the emulator using a Dos .atr/.xfd, and pick option L (load binary file) from that menu.

(load from what file? -> H:FILENAME.EXT)

Atasm also allows switches to be used to create the binary file and write it directly to an existing disk image.

 

[ 06-09-2002: Message edited by: Nukey Shay ]

Share this post


Link to post
Share on other sites

i tried compiling it with xasm , but i get a error : illegal instruction at

 

FNAME DB $53,$3A

 

if i change the DB in .BYTE i get the same error... how can i get this to work ??

 

Thanks,thelen

Share this post


Link to post
Share on other sites

XASM does not know the obcode DB or DCB or .BYTE and this is the major difficulty at the beginning when working with XASM as a newbie

 

read the online help of XASM carefully and look at the section where the .DTA b command is described...

 

another crucial instruction is LSR @. no other assembler needs the @ for an LSR, ROR, etc... just XASM... so take care not to forget the @

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