Merge pull request #117 from eschaton/eschaton/ptrdiff_t Use ptrdiff_t for pointer arithmetic results
Recent Commits to Musashi:master
-
Merge pull request #117 from eschaton/eschaton/ptrdiff_t
-
Merge pull request #116 from eschaton/eschaton/trap-hook
Merge pull request #116 from eschaton/eschaton/trap-hook Add a TRAP callback
-
Merge pull request #110 from eschaton/eschaton/symbol-prefixes
Merge pull request #110 from eschaton/eschaton/symbol-prefixes Prefix most of the preprocessor macros with `M68K_`
-
Use ptrdiff_t for pointer arithmetic results
Use ptrdiff_t for pointer arithmetic results
-
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.
-
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.
-
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.
-
Merge pull request #114 from sbabbi/unit_tests
Merge pull request #114 from sbabbi/unit_tests Add tests and fix bfchg, bfclr, bfins
-
test_driver: fix unnamed parameters

test_driver: fix unnamed parameters
-
Add test/README.md

Add test/README.md
-
Do not build the tests with 'make test'

Do not build the tests with 'make test'
-
Add binary test files

Add binary test files
-
Remove commented out code

Remove commented out code
-
Actually build tests

Actually build tests
-
Do not build UTs on all

Do not build UTs on all
-
Add interrupt test

Add interrupt test
-
Add few more tests

Add few more tests
-
Add test for shift/trapcc

Add test for shift/trapcc
-
Add test for long mul/div

Add test for long mul/div
-
Fix bfchg, bfclr, bfins

Fix bfchg, bfclr, bfins
-
Add bitfield tests

Add bitfield tests
-
Move tests in mc68000

Move tests in mc68000
-
Saner test makefile

Saner test makefile
-
Saner memory layout

Saner memory layout
-
Add unit tests

Add unit tests