Page 1 of 1

Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 3:22 pm
by sofakng
Can anybody help me figure out why the tilde key (~) and backslash (\) don't work on the PCXT core?

The backslash key sends a backspace instead and the tilde key doesn't send anything.

The keyboard is a standard US layout and works fine in the ao486 core (and everything else)

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 4:23 pm
by kitune-san
Currently, a numeric keypad is required to type tildes and backslashes in Tandy mode (+Tandy BIOS).
This is because the keyboard layout of the Tandy is slightly different, which makes keycode conversion a bit more complicated.
http://www.oldskool.org/guides/tvdog/1kfaq.html#II.E.2

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 4:51 pm
by sofakng
Sorry, I should have mentioned I'm using Tandy 1000 mode.

Do you know if there are any plans to implement these keys?

I'm using Tandy mode for the EGA graphics (and Tandy sound chip for early Sierra games).

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 4:55 pm
by spark2k06
sofakng wrote: Tue Oct 25, 2022 4:51 pm I'm using Tandy mode for the EGA graphics (and Tandy sound chip for early Sierra games).
One point. Tandy mode does not have EGA graphics, but Tandy graphics, and so far only 320x200x16 mode is implemented.

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 5:12 pm
by sofakng
OK - Thanks for the information. Hopefully the keycode can be mapped (?) because it's a difficult to type Alt-126 and ALT-92 :)

Does the XT BIOS support Tandy graphics or only the Tandy BIOS?

Also, the audio (both Tandy sound and Adlib) are extremely choppy? https://youtu.be/v8navlxabTI

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 5:16 pm
by spark2k06
sofakng wrote: Tue Oct 25, 2022 5:12 pm Does the XT BIOS support Tandy graphics or only the Tandy BIOS?
Only Tandy BIOS.
sofakng wrote: Also, the audio (both Tandy sound and Adlib) are extremely choppy? https://youtu.be/v8navlxabTI
Well, maybe it's because of that player you put, which consumes a lot of CPU resources, but it is strange, have you tried 14.318Mhz?

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Oct 25, 2022 5:41 pm
by sofakng
Hmmm, I've also tried KQ1 (AGI) and it has the same result. I'm also running at 14.318 MHz. I've tried lowering the CPU speed (and HDD speed) both it has the same result.

Re: Tilde and backslash don't work on PCXT core?

Posted: Sun Oct 30, 2022 1:46 am
by Newsdee
Does the core support a Num Lock key? (if we want to switch \ to 7 etc)

Re: Tilde and backslash don't work on PCXT core?

Posted: Sun Oct 30, 2022 5:31 am
by spark2k06
Newsdee wrote: Sun Oct 30, 2022 1:46 am Does the core support a Num Lock key? (if we want to switch \ to 7 etc)
I'm testing it and it's working fine, I'm with the prerelease version which I will release soon.

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Nov 22, 2022 10:12 am
by Sw1tch73ch
kitune-san wrote: Tue Oct 25, 2022 4:23 pm Currently, a numeric keypad is required to type tildes and backslashes in Tandy mode (+Tandy BIOS).
This is because the keyboard layout of the Tandy is slightly different, which makes keycode conversion a bit more complicated.
http://www.oldskool.org/guides/tvdog/1kfaq.html#II.E.2
This was very helpful. I was using a wireless keyboard that doesn't have the numpad. Numpad 7 is backslash \, and Numpad 8 is Tilde ~. Is there a map that shows how the Tandy bios is reading the whole keyboard (at least for a 101+ keyboard, my wired USB keyboard is 103 keys)?

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Nov 22, 2022 12:16 pm
by kitune-san
Sorry. I don't have any documents that I can give you right now. I have not produced any documentation on this matter.

Re: Tilde and backslash don't work on PCXT core?

Posted: Tue Nov 22, 2022 1:15 pm
by kitune-san
kitune-san wrote: Tue Nov 22, 2022 12:16 pm Sorry. I don't have any documents that I can give you right now. I have not produced any documentation on this matter.
I have created only the numeric keypad portion.

EDIT: Updated
tandylayout.png
tandylayout.png (42.65 KiB) Viewed 1759 times