Jump to content
Sign in to follow this  
Schmutzpuppe

ATASM Question

Recommended Posts

One question about ATASM, if I set

 

*=$2e0

.WORD $2000

 

at the end of my m65 file, ATASM writes $e0,$02,$e1,$02,00,$20 at the begin of the com file?

I remember that MAC/65 would write this bytes at the end.

Is the any “trick” to force ATASM to write the bytes at the end?

 

Matthias

Share this post


Link to post
Share on other sites

ATasm seems to assemble thing in address order, so I'm not sure you can change that. You could assemble 2 files and then copy them together (one as raw - to lose the header), or use a hex editor?

 

Just curious, but why would you want to see this at the end? The prog will still autorun wherever the $2e0 adress happens to be in the binary file - the $2e0 address just won't be the very last thing that's loaded, is all.

Share this post


Link to post
Share on other sites
ATasm seems to assemble thing in address order, so I'm not sure you can change that.  You could assemble 2 files and then copy them together (one as raw - to lose the header), or use a hex editor?

.

 

Hoped that would be easier :(

 

Just curious, but why would you want to see this at the end? The prog will still autorun wherever the $2e0 adress happens to be in the binary file - the $2e0 address just won't be the very last thing that's loaded, is all.

 

Right for run ($2e0/$2e1) but what about init ($2e2/$2e3)?

Guess i have to append the files than.

 

Thanks

Matthias

Share this post


Link to post
Share on other sites
ATasm seems to assemble thing in address order, so I'm not sure you can change that.  You could assemble 2 files and then copy them together (one as raw - to lose the header), or use a hex editor?

.

 

Hoped that would be easier :(

 

Just curious, but why would you want to see this at the end? The prog will still autorun wherever the $2e0 adress happens to be in the binary file - the $2e0 address just won't be the very last thing that's loaded, is all.

 

Right for run ($2e0/$2e1) but what about init ($2e2/$2e3)?

Guess i have to append the files than.

 

Thanks

Matthias

 

Yep - INITADD won't work with ATasm if you use it like that. Guess most things can use $2e0 instead - or only call it in the prog after things are loaded. Maybe we should e-mail Mark Schmelzenbach about it though?

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