Recent Commits to Musashi:master

  • 04/03/2026 19:48

    Use ptrdiff_t for pointer arithmetic results

    Use ptrdiff_t for pointer arithmetic results
  • 04/03/2026 19:43

    Add a TRAP callback

    Add a TRAP callback
    
    Add a TRAP callback that allows interception & replacement of TRAP
    instructions, so Musashi can be used for OS emulation.
  • 04/03/2026 19:26

    Wrap m68kconf.h option #defines in #ifdef/#endif

    Wrap m68kconf.h option #defines in #ifdef/#endif
    
    Right now, users of Musashi generally need to incorporate it into their code,
    rather than just reference it, because it’s necessary to supply a custom
    `m68kconf.h` file for each use.
    
    By wrapping the preprocessor macros to control the options in `#ifdef` and
    `#endif`, these options can also be controlled without having to edit
    `m68kconf.h` while still having reasonable defaults.
  • 04/03/2026 19:00

    Prefix preprocessor macros with M68K_

    Prefix preprocessor macros with M68K_
    
    Add prefixes to these preprocessor macros, so they’re properly namespaced like
    the rest of the preprocessor macros are:
    
    - `M68K_OPT_ON`
    - `M68K_OPT_OFF`
    - `M68K_OPT_SPECIFY_HANDLER`
    - `M68K_ARRAY_LENGTH`
    
    The `TRUE` and `FALSE` macros are kept as-is because they're so common in C
    codebases and they're already properly protected from redefinition.

Log in