Jump to content
IGNORED

MAC/65 Newbie Question


800_Rocks

Recommended Posts

Hi - I am very rusty on MAC/65. I manually keyed-in the first example ASM program in the good old book ‘Atari Roots’.  I know the spacing is critical.  I have two spaces between line numbers and the start of anything else. with the exception of only one space before and after the label ‘ADDNRS’.

66D4F260-E67D-446F-A9D0-6413663BAB37.thumb.jpeg.7596139f1e7f0b9641d0ad4e1d2fb534.jpeg

After successful ‘ASM’ assembly I expect my little program to be automatically stored at memory location 0600 hex because of the ‘.OPT OBJ’ directive on line 05
3F430499-A5CC-4A80-A044-CB06376548FA.thumb.jpeg.d113719d268635e91b7e57053a2cb5d1.jpeg

However when I go into the DDT debugger and display memory at 0600 hex I do not find my code. 
 

So it seems my .OPT OBJ directive is being ignored?!  Ideas?  TIA

0ACE6A4A-BD58-4C4F-8AF8-EA021EFFF4AF.thumb.jpeg.8f5aa14d311143966e26fdb7e5627e96.jpeg

Link to comment
Share on other sites

27 minutes ago, MrFish said:

See sections 8.1 and 8.2 of the Mac/65 manual.

 

That was it!  Thank you!!  I sure don’t remember the need to do that back in the day.  I am running a physical MAC/65 cartridge but doing so with my U1MB 800XL. Back in the day I was using a stock 800. 
 

I followed the procedure described in the MAC/65 manual section 8.2 “Assembling with an offset .SET 6”  after instructing the debugger to move memory from $3600 to $600 I finally see my tiny bit of code!!

55259ABE-E0F1-4EF6-BD2E-5D8036262355.thumb.jpeg.995afcebd41681e159127fc2b4491fc4.jpeg
 

After the DDT command to MOVE bytes from $3600 to $0600  the *600 command shows my tiny program in memory at $0600

AC8017A0-A5BC-4388-B53D-570AC21D1599.thumb.jpeg.8a7206e0383895385ec730a5ed0954ff.jpeg

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