Micro-Kim weekend: timer-based interrupts

Discuss software for the Micro-KIM and KIM-1

Micro-Kim weekend: timer-based interrupts

Postby AartBik » Apr Sun 10, 2016 9:39 pm

A rainy weekend was a perfect excuse to play with my micro-KIM, which had been collecting dust in a drawer for too long. I had fun using my own cross-assembler to develop and generate programs in paper tape format, and upload these to the micro-KIM via the PuTTY client. I figured out how to use the 6532 RIOT to set up a timer-based interrupt service, which is an important step in separating actual computation from display and keyboard handling. The clip linked to below shows the difference between incrementing a three-byte memory counter at roughly 1000 times per second (timer delayed) and 100,000 times per second (full speed with about 10 cycles per iteration at 1MHz). Perhaps a nice illustration of how fast even those early computers were.

YouTube video clip
User avatar
AartBik
 
Posts: 24
Joined: Nov Thu 03, 2011 11:20 pm
Location: Mountain View, CA, USA

Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest