Schmutzpuppe Posted September 7, 2003 Share Posted September 7, 2003 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 Quote Link to comment Share on other sites More sharing options...
Sheddy Posted September 7, 2003 Share Posted September 7, 2003 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. Quote Link to comment Share on other sites More sharing options...
Schmutzpuppe Posted September 7, 2003 Author Share Posted September 7, 2003 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 Quote Link to comment Share on other sites More sharing options...
Sheddy Posted September 7, 2003 Share Posted September 7, 2003 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.