First post, by davecom
Hi All,
Well I have my emulator to the point of booting into Casette BASIC. I just implemented the keyboard and I'm wondering why I'm only seeing apostrophes (') in BASIC when I type. The scan codes look correct to me from my PPI and I'm just storing those scan codes in port A and calling interrupt line 1 on the PIC. Has anyone seen behavior like this before and have an idea where I have gone wrong? A screenshot is attached so you can see the apostrophes I can type (no matter what key I hit). The strange u under the cursor I think is a separate problem.
Not sure why the bytes are also wrong... this is a 640K machine but maybe Casette BASIC V1 doesn't know about more than 64K?
Thanks in advance!
PS My hacky source code for the PPI is here if you're interested:
https://github.com/davecom/DK86PC/blob/master/PPI.cpp