Schmutzpuppe #1 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 Share this post Link to post Share on other sites
Sheddy #2 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 Share this post Link to post Share on other sites
Schmutzpuppe #3 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 Share this post Link to post Share on other sites
Sheddy #4 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 Share this post Link to post Share on other sites