-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a8 – cannot create a XEX file that launches from somewhere else than the start #78
Comments
At the moment, the Atari executable is defined as There are several other platforms affected by the same issue:
I think I should add a way to mark the launch address separately. |
As far as I know proper XEX may looks like: header Ok. It's fine answer to my question 👍 |
I'm reopening it, as I want to solve the underlying deficiency, at least for those platforms where it is possible, like Atari. |
OK :] anyway this code works for me:
|
FYI OBJ files |
I've read somewhere that Atari will launch the program if the start address is written to $02E0/$02E1, and this is what I'm doing. |
Most of the XEX I've seen has a short header and ended with run address. |
I checked some XEX files I have and they all end with a chunk with the launch address:
|
My experience come from Atar800 emulator monitor:
and XEX produced by Action! compiler https://github.com/zbyti/a8-action-playground I do not know theory well ;) |
I asked a friend who is an experienced and longtime Atari800 programmer (including Sparta DOS) and he said that a short header |
some INIT vs. START discussion https://atariage.com/forums/topic/235338-creating-a-binary-file-with-an-init-address-from-mac65/
|
@KarolS well now I understand what you want to achieve with long header 👍 |
Currently, Millfork always outputs contiguous memory ranges, so I guess the powers of the Atari exe format are underutilised. I'll think about outputting multiple non-contiguous chunk, as it might be useful, at least on platforms that support it. |
https://gitlab.com/jespergravgaard/kickass-plugin-atari-xex
|
java -jar /home/zbyti/Programs/Millfork/millfork.jar -Xr -t a8 mptplayer.mfk
XEX header:
XEX end
main routine address is $26b8, it isn't proper XEX file.
a8_mptmusic.zip
The text was updated successfully, but these errors were encountered: