Tilde and backslash don't work on PCXT core?

sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

Tilde and backslash don't work on PCXT core?

Unread post 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)
kitune-san
Top Contributor
Posts: 401
Joined: Wed May 18, 2022 11:20 am
Has thanked: 127 times
Been thanked: 412 times

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

Unread post 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
sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

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

Unread post 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).
User avatar
spark2k06
Core Developer
Posts: 876
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 969 times

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

Unread post 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.
sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

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

Unread post 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
User avatar
spark2k06
Core Developer
Posts: 876
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 969 times

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

Unread post 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?
sofakng
Posts: 138
Joined: Fri Jun 19, 2020 12:52 am
Been thanked: 23 times

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

Unread post 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.
User avatar
Newsdee
Top Contributor
Posts: 873
Joined: Mon May 25, 2020 1:07 am
Has thanked: 104 times
Been thanked: 239 times

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

Unread post by Newsdee »

Does the core support a Num Lock key? (if we want to switch \ to 7 etc)
User avatar
spark2k06
Core Developer
Posts: 876
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 969 times

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

Unread post 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.
Sw1tch73ch
Posts: 9
Joined: Mon Jul 25, 2022 1:59 am
Has thanked: 1 time

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

Unread post 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)?
kitune-san
Top Contributor
Posts: 401
Joined: Wed May 18, 2022 11:20 am
Has thanked: 127 times
Been thanked: 412 times

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

Unread post 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.
kitune-san
Top Contributor
Posts: 401
Joined: Wed May 18, 2022 11:20 am
Has thanked: 127 times
Been thanked: 412 times

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

Unread post 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 1756 times
Attachments
tandykeymap.odg
(14.93 KiB) Downloaded 112 times
Post Reply