skx / cpmulator

Golang CP/M emulator for zork, Microsoft BASIC, Turbo Pascal, Wordstar, lighthouse-of-doom, etc
MIT License
98 stars 3 forks source link

Ensure we're running under cpmulator before invoking functions #100

Closed skx closed 5 months ago

skx commented 5 months ago

This pull-request closes #99 by ensuring the binaries are running under cpmulator before attempting to execute the custom BIOS functions we've implemented for changing behaviour.

This should provide a bit of protection against accidental issues with other emulators.