If PCE had a keyboard, I'd make Logo

Discussion of development of software for any "obsolete" computer or video game system. See the WSdev wiki and ObscureDev wiki for more information on certain platforms.
tepples
Posts: 22993
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)

If PCE had a keyboard, I'd make Logo

Post by tepples »

I'm itching to try to write a Logo interpreter, but first I'd need a way for the user to type in a program. Which video game consoles had a QWERTY keyboard? I can think of only a few:
  • VideoBrain Family Computer
  • Odyssey2
  • CreatiVision
  • Nintendo Family Computer (DA15 peripheral, for Japan only)
  • Dreamcast
  • PlayStation 2 (USB)
  • Seventh generation and later (USB)
There was supposed to be a "Workboy" organizer with a keyboard for the original Game Boy. It was previewed in Nintendo Power, but it never reached stores.

Was a keyboard ever released for the PC Engine? Or would it have made it too much PC and not enough Engine? Perhaps Hudson and NEC wanted to emphasize the "Turbo" part, and "TurtleGrafx-16" would have undermined that.
Sik
Posts: 1589
Joined: Thu Aug 12, 2010 3:43 am

Re: If PCE had a keyboard, I'd make Logo

Post by Sik »

It was more a matter that keyboards on consoles back then really didn't make sense at all (and these days they only make sense with the browser since almost nothing else really supports them).

The Saturn had a keyboard with a rather easy protocol, so there's that. On Japan you had proper keyboards, in the US there was just an adapter to turn PS/2 keyboards into Saturn ones (that said, those are probably much easier to get). Given that the Saturn's I/O port is basically Mega Drive's with a different shape (i.e. the same 9 lines are there) I imagine this won't be much of a trouble to adapt to other systems.

The Atari 2600 had this. Ew. (although I suppose you could grab three or four keypads and use your own labels, then somehow multiplex between them)
Drag
Posts: 1708
Joined: Mon Sep 27, 2004 2:57 pm

Re: If PCE had a keyboard, I'd make Logo

Post by Drag »

Have you tried a C64 or one of the 8-bit Atari computers?
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan

Re: If PCE had a keyboard, I'd make Logo

Post by ccovell »

The PCE had an unreleased keyboard for its unreleased Modem/BASIC/Graphics editor:

Image

http://www.chrismcovell.com/TsushinBooster/index.html

Incidentally, the emulator Mednafen supports the PCE keyboard's protocol, since the Tsushin Booster ROM had detection code for it.
tomaitheous
Posts: 592
Joined: Thu Aug 28, 2008 1:17 am

Re: If PCE had a keyboard, I'd make Logo

Post by tomaitheous »

Yeah, mednafen supports the keyboard in emulation. I wanted to make a tracker program for the PCE (on the real hardware) that could use it (that, and a Dungeons of Daggorath port). I was thinking a modern keyboard to PCE keyboard scan code converter. Maybe something akin to an atmel mcu. The PCE already has an official mouse; the two would be great together.
__________________________
http://pcedev.wordpress.com
User avatar
Myask
Posts: 965
Joined: Sat Jul 12, 2014 3:04 pm

Re: If PCE had a keyboard, I'd make Logo

Post by Myask »

Gamecube had one. It looks hilarious, because it's in the middle of a controller.
Sik
Posts: 1589
Joined: Thu Aug 12, 2010 3:43 am

Re: If PCE had a keyboard, I'd make Logo

Post by Sik »

ccovell wrote:Incidentally, the emulator Mednafen supports the PCE keyboard's protocol, since the Tsushin Booster ROM had detection code for it.
Huh, are the scancodes for it known?

This reminds me about how the keypad protocol on the Mega Drive looks like it could have been originally intended for the keyboard, since it has room for 80 keys (the keyboard shown in the Beep magazine had 72, the keypad has 24), and the organization of the used keys doesn't seem to follow any pattern (so it's not just wasted space from using scanlines). On top of that it shares the same device ID in the ROM header ("K").

EDIT: also found my documentation on the keyboard protocol used by XBand (Mega Drive), which takes PS/2 keyboards through an adapter, but unless you have the adapter it's probably not worth it (getting the Saturn adapter and then rewiring that would be much easier).
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan

Re: If PCE had a keyboard, I'd make Logo

Post by ccovell »

Sik wrote:
ccovell wrote:Incidentally, the emulator Mednafen supports the PCE keyboard's protocol, since the Tsushin Booster ROM had detection code for it.
Huh, are the scancodes for it known?
Tomaitheous can fill more in probably, but the keyboard acts like a PCE Tap with 5 controllers all attached, each with different keypresses. PCE games with the proper code can detect the keyboard's signature and map its reading to the keyboard.

Emulating it was more or less a matter of emulating the detection protocol, and then using the Tsushin Tool
Image
to see what character each button press appeared as.

The keyboard was modeled after the PC-8801 keyboard (Thumb Shift standard), so it had special "thumb shift" keys which needed remapping to English (and/or JIS) keyboards.
Pokun
Posts: 3442
Joined: Tue May 28, 2013 5:49 am
Location: Hokkaido, Japan

Re: If PCE had a keyboard, I'd make Logo

Post by Pokun »

The Sega Keyboard http://segaretro.org/Sega_Keyboard is compatible with Sega SG-1000, SG-1000 II and Mark III, but not with Master System.
User avatar
mikejmoffitt
Posts: 1353
Joined: Sun May 27, 2012 8:43 pm

Re: If PCE had a keyboard, I'd make Logo

Post by mikejmoffitt »

Pokun wrote:The Sega Keyboard http://segaretro.org/Sega_Keyboard is compatible with Sega SG-1000, SG-1000 II and Mark III, but not with Master System.
How can something which works on the Mark III not work on the SMS?
ccovell
Posts: 1045
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan

Re: If PCE had a keyboard, I'd make Logo

Post by ccovell »

A couple of ways. The Western SMS BIOS does a checksum of a cartridge, while the JP SMS doesn't.

Also, the joystick port's data/direction lines are handled differently between the regions, making some of the peripherals incompatible too.
Sik
Posts: 1589
Joined: Thu Aug 12, 2010 3:43 am

Re: If PCE had a keyboard, I'd make Logo

Post by Sik »

Actually, in this case it has to do with the fact that the keyboard uses a port that's missing in later models (it uses an 11-pin port if I recall correctly). I thought it was missing on the Mark III too, though. I didn't mention it before because I'm not sure if the pin count would make it feasible to use with the PCE (through an adapter).

As for incompatibilities, yeah, there's the firmware thing (Mega Drive doesn't have the firmware but also won't work with Mark I/II stuff due to missing video modes). As for the I/O ports, it should work from Mark III to Master System (not the other way): the issue is that the former has the pin direction hardwired (except for two of them) while the latter allows assigning the direction for all of them.