With a Cherry On The Side – Episode Eight (Meet the Cherries)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] Disaster Strikes Well, wouldn't you know it? What a day for my 17-year-old Omnibook laptop to decide that it doesn't want to work anymore! The darned thing will charge the (brand new) laptop battery happily, but refuses to recognise that it is holding any … Continue reading With a Cherry On The Side – Episode Eight (Meet the Cherries)

Advertisements

With a Cherry On The Side – Episode Seven (All the Way to Eleven)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] Low-Level Interface Due to the slightly odd (not to mention a little inconvenient) low-level PS/2 keyboard hardware-interface, a little bit of ingenuity may be required: R1 and R2 are the pull-up resistors for the open-drain unidirectional CLK and bidirectional DATA signals. R3 and R4 … Continue reading With a Cherry On The Side – Episode Seven (All the Way to Eleven)

With a Cherry On The Side – Episode Six (the input-capture interrupt fires)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] Captures but No Interrupt After the tribulations of the last few days, I decided to change the program to display the value in the IC3 captured-value register (TIC3) - the last value of the free-running 16-bit hardware cycle-counter when the most recent IC3 pin-event … Continue reading With a Cherry On The Side – Episode Six (the input-capture interrupt fires)

With A Cherry on the Side – Episode Five (interrupts don’t happen at the worst possible time)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] Following on from the "final solution" plan described in the previous episode, the first step is to try to simulate incoming keyboard-clock interrupts. This can be done by using a pin of the output-only PORTB on the 68hc11 directly connected back to the input-capture … Continue reading With A Cherry on the Side – Episode Five (interrupts don’t happen at the worst possible time)

With A Cherry on the Side – Episode Four (a plan for the nitty-gritty)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] The Nitty-Gritty At the lowest level PS/2 keyboard interface is an active-clocked packetised serial bitstream using open-drain drivers, running at 10KHz-30KHz (frequency depends on keyboard, and can vary somewhat at runtime!). The clock signal is "idle-high". The keyboard provides the clock-signal for both directions, … Continue reading With A Cherry on the Side – Episode Four (a plan for the nitty-gritty)

With A Cherry On The Side – Episode Three (terminal setup and more hardware)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] Get Cracking! So I have the target microcontroller SBC, and have verified it is still working. Today I have been setting up more project equipment. First off, I will need to be able to run my favourite simple command-line 68HC11 cross-assembler to generate loadable … Continue reading With A Cherry On The Side – Episode Three (terminal setup and more hardware)

With A Cherry On The Side – Episode Two (How to run code from non-existent ROM)

[A Project to interface a PS/2 keyboard to a 68hc11 microcontroller] The Case of the Unmissing PROM Last time, I mentioned that there was something a bit unusual about my 68HC11E1 MCU, running the BUFFALO monitor program from on-chip PROM. Well, the issue is that the E1 model 68HC11 isn't supposed to have any on-chip … Continue reading With A Cherry On The Side – Episode Two (How to run code from non-existent ROM)

With a Cherry On The Side – Episode One

It's kinda strange to be doing this in April instead of January, but as the RetroChallenge schedule has changed, it is time to get my plan together. Inspired by previous attempts, my modest entry to RetroChallenge this time is to interface a PS/2 keyboard to a 1987-vintage 68hc11 micro-controller; enough to at least read the … Continue reading With a Cherry On The Side – Episode One

Moving Targets Under Your Feet

An interesting (but unfortunate) situation with many softwares for Windows has come to my attention recently - a lack of control over development environments and packaging kits... There is still a lot of independant software out there that claims quite proudly to eg: "run on Windows XP, Vista, 7, 8 and 10". Unfortunately, much of … Continue reading Moving Targets Under Your Feet