sanny Posted June 13, 2016 Share Posted June 13, 2016 (edited) Hi, I've recently bought a SD-X cartridge. Nice thing... I've read the programming documentation, and it seems it supports a relocatable EXE file format. Now my question: - what assembler(s) or other development environment(s) can create such an relocatable EXE file? - are there some source code examples out there for relocatable EXE files? regards, chris Edited June 13, 2016 by sanny Quote Link to comment Share on other sites More sharing options...
drac030 Posted June 13, 2016 Share Posted June 13, 2016 On Atari it is the Fast Assembler (FA), available on the SDX Toolkit disk. On PC it is the mads. It has examples (I believe). A simple example program for mads: PRINTF smb 'PRINTF' blk reloc main hello jsr PRINTF .byte 'Hello world!',$9b,0 rts blk update new hello '@HELLO' 1 Quote Link to comment Share on other sites More sharing options...
sanny Posted June 13, 2016 Author Share Posted June 13, 2016 Thanks drac030. I've looked at FA, but the documentation appears to be in Polish. Do you know if there's an English or German version of the documentation? Quote Link to comment Share on other sites More sharing options...
drac030 Posted June 14, 2016 Share Posted June 14, 2016 Unfortunately, not. It probably has not been translated. Or? Quote Link to comment Share on other sites More sharing options...
danwinslow Posted June 14, 2016 Share Posted June 14, 2016 I think if someone were to do a comprehensive translation of all current mads/fa/spartados docs, it would greatly expand their use. I know that there are some english programmer docs for SDX, but I don't know how current they are, Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted June 14, 2016 Share Posted June 14, 2016 The programming docs are pretty current (Feb 2015, says the copy I have here) - certainly good enough to use as a reference for developing. The translation of MADS' instructions a few years back is still relevant, too, since the psuedo-ops pertaining to SDX relocatable binaries didn't change much (a couple of extra segment identifiers were added, IIRC). Quote Link to comment Share on other sites More sharing options...
sanny Posted June 14, 2016 Author Share Posted June 14, 2016 (edited) Are you refering to http://mads.atari8.info/mads_eng.html for the English MADS instructions? Yeah, I think that should give me a start. I also find the SDX programming documentation in English quite adequate. Maybe adding a hotline to call for problems would help in some problem cases... :-) I'm fine using MADS. But it would also be interesting to do some (simpler) stuff just on the Atari, no cross development. Just for the feeling. So an English (or, even better, German :-)) translation of the FA docs would be handsome. Edited June 14, 2016 by sanny 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.