6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Fri May 10, 2024 7:54 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Aug 20, 2022 9:40 pm 
Offline

Joined: Sat Oct 09, 2021 11:21 am
Posts: 704
Location: Texas
Hey everyone!

I've been programming for the PS/2 Keyboard, and then converting those codes into ASCII. But what do you do with the Enter, Backspace, Escape, and Tab keys?

While looking around the internet, I found this super interesting page:

https://www.asciihex.com/ascii-table

Besides the cool retro look of the site, I thought the history of each control character was very cool. It even tells you what it did for on typewriters!

Just wanted to share. I love history, and computer/typerwriter history is just as interesting to me.

[ BTW, the answer to the above question is: $0D, $08, $1B, and $09 ]

Thanks everyone!

Chad


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 21, 2022 12:43 am 
Offline
User avatar

Joined: Tue Mar 05, 2013 4:31 am
Posts: 1373
Yes, references are nice to have. I've been using this one for years:

https://www.asciitable.com/

_________________
Regards, KM
https://github.com/floobydust


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 21, 2022 1:50 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8178
Location: Midwestern USA
Quote:
sburrow wrote:
I've been programming for the PS/2 Keyboard, and then converting those codes into ASCII. But what do you do with the Enter, Backspace, Escape, and Tab keys?

You output the corresponding ASCII values for them. What's the problem?

While looking around the internet, I found this super interesting page:

https://www.asciihex.com/ascii-table

Besides the cool retro look of the site, I thought the history of each control character was very cool. It even tells you what it did for on typewriters!

That “cool retro look” is not cool to me—terrible color choices.

floobydust wrote:
Yes, references are nice to have. I've been using this one for years:

https://www.asciitable.com/

That's much better...I can read it. :D

If you have a Linux box handy and need to look up the ASCII code for something, use the command man ascii.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 21, 2022 4:37 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8433
Location: Southern California
floobydust wrote:
Yes, references are nice to have. I've been using this one for years:

https://www.asciitable.com/

So have I, because it's what DOS used (Code page 437) and also the Epson dot-matrix impact printers, which they still make today (and I just ordered one, to replace an ailing older one, as the new one didn't cost any more than what I was expecting to pay to get the old one fixed). I also installed the character set on my hand-held HP-71B computer,
Image
so I could use the same printer with it as I use with the DOS machine and the workbench computer without having to run everything through a translation program.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun Aug 21, 2022 7:35 am 
Offline
User avatar

Joined: Tue Apr 03, 2018 2:10 pm
Posts: 125
I’m still using the manual that came with the Epson MX-80 printer I bought in 1983 (still using the printer too).

_________________
I like it when things smoke.
BlogZolatron 64 project


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron