68HC11 Sample Code
The following programs were developed as a learning excercise for the Cherryside Project (April 2017).
-
simple echo program with LED-based typing-feedback and hexadecimal line-counter.
- basic interrupt-counter with LED-based counter-feedback - an example of writing and installing a basic ISR.
- input-capture - detecting logic-level edges using input-capture facilities, also input-capture interrupts.
- interrupt-driven PS/2 keyboard scancode reader/reporter - deserialiser, asynchronous-reader/writer circular buffer, sampling serial-data line in response to clock-line transitions.
- masm11 - shell-script to invoke cpp preprocessor and then as11 assembler in such a manner as to produce both a loadable object-code file and a #include-able symbol-table.
Mike Spooner, 30th April 2017