MEGA65 / mega65-tools

Tools and Utilities for the MEGA65 Retro Computers
GNU General Public License v3.0
29 stars 31 forks source link

BASIC65 support for unit tests #63

Closed steph72 closed 3 years ago

steph72 commented 3 years ago

There's now an utility module, "b65support.bin" which lives at $1600 and can be used by BASIC65 programs to communicate with the unit testing host. It can be either loaded manually or be injected via the m65 tool.

Documentation on how to use b65support is included in its source code.

The test runner has been updated to auto-inject b65support when running tests in C65 mode.

An example test program using b65support (379-attic-ram.prg) has been included in the tests/ directory