Skip to content

MOS as a loadable library #1

@adiee5

Description

@adiee5

On Commander X16 discord server, there were thoughts about using cx16-bbc-mos as a compatibility layer for porting BBC Micro games easier.

As of now, the CX16 MOS is mostly focused on simulating the BBC Micro environment, so that BBC BASIC and programs made in that language can be ran, but this requires the user to have this MOS as a cartridge. For porting games, it may have more sense to have the MOS as a library that can be shipped with the game and be loaded to HI-RAM instead of the cartridge space.

This approach will not allow to run existing game binaries – the games'd have to be ported/recompiled in order to be able to use this library, as MOS API entry points would not be in their BBC MOS positions. Therefore, this approach is viable only when we have access to the game's source code and actual porting effort is required (because of the use of IO registers, reliance on BBC MOS internals etc.).

Since such library would only contain MOS implementation code, the library could be used freely by everyone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions