Jump to content
IGNORED

SpartaDOS-X programming


Recommended Posts

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 by sanny
Link to comment
Share on other sites

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'
  • Like 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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