ytmytm / c64-beamracer-subleq

8-bit SUBLEQ Virtual Machine for BeamRacer
3 stars 2 forks source link

Input support (with an example) #5

Open laubzega opened 3 years ago

laubzega commented 3 years ago

I tried to avoid having two comparators, but failed to find a solution that wouldn't be much slower and/or cumbersome. Since we're not particularly short on space, I left it as is.

There are also two versions of comparator A initializer - one is three cycles shorter, the other is easier to follow. I picked my preference, but it's up to you which one gets merged. ;)

The example SUBLEQ program now starts with a keyboard echo mode, which can be stopped by typing 'X'.