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

Allow polling for input, correctly #118

Closed skx closed 2 months ago

skx commented 2 months ago

This pull-request DROPS SUPPORT FOR WINDOWS, but adds the ability to detect when there is pending console input ready to be read.

This closes #117.

I've tested on Linux, I think the other platforms are probably okay. But who knows?

Feedback most welcome. I guess it will come if it affects people if this is broken then playing zork will fail. If this works we've got access to more console-based games.