A view into the life of…..

February 27, 2011

Assembling an Apple-1 computer – Part 4

Filed under: Electronics — neilb @ 1:24 am
Tags: , ,

My Apple-1 computer needs a parallel ASCII keyboard to work. My S-100 systems could use a parallel ASCII keyboard as well. AFAIK parallel ASCII keyboards have not been made for a couple of decades.

I have a NOS parallel ASCII keyboard however it will require some work to get it setup correctly; this got me to wondering if I could use a more modern PS/2 style keyboard; this lead to me reinstalling my MikroE c compiler (for PICs) and digging out my EasyPIC5 development board.

I am sitting here astonished at how east this was to put together; the MikroE c compiler supplies a number of libraries including a 4-Bit LCD driver and a PS/2 Keyboard driver.

It took perhaps 30 minutes to write a short c program to read the PS/2 keyboard; decode the scan code, write the code to the LCD and to set the ASCII bits on PORTD of my 16F877A PIC. I’ll be able to use PORTC to control the strobe, clear and reset bits for the Apple-1 very easily.

This got me to thinking; there are a number of small readily available programs for the Apple-1, most exist as a HEX file (Apple BASIC Example here) you type in and/or as a cassette tape you load. I can store these either in a serial FLASH or perhaps even in the FLASH within the PIC, a bit of coding and the function keys of a PS/2 keyboard will clear/reset the Apple-1, then send the key strokes to enter and run the program. For Basic programs it could even load up BASIC, run it, then enter the BASIC program.

Of course this project creates a PS/2 to Parallel ASCII keyboard encoder in the process, there are several already on the web, I simply wanted to create on myself.

Another fun project to add to my project list.

Advertisement

2 Comments »

  1. Right now it sounds like Movable Type is the preferred blogging platform out there right now. (from what I’ve read) Is that what you’re using on your blog?

    Comment by iso auditor training uk — July 14, 2011 @ 11:28 pm | Reply

  2. Yes – It’s very hard to send the Movable Type over the internet, still it beats using Morris Code, Drums or Smoke Signals. :)

    Comment by neilb — July 15, 2011 @ 7:34 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.