Skip to content

LOADable binaries on CBM/X16 #379

@ToboterXP

Description

@ToboterXP

On CBM machines (including the Commander X16) it is possible to load and execute a new file by pushing an address to the stack, then jmp-ing to LOAD.
But for this to be possible, you have to be able to compile your code to a binary file with a fixed entry point (ideally the start of the file).
Would it be possible to add the necessary CLI options, so that a file with fixed entry point, and ideally no BASIC header and no renewed hardware initialisation (outside of what's actively necessary to run C) could be generated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions