KIM-1 Simulator

135 views
Skip to first unread message

Hans Otten

unread,
Nov 10, 2021, 8:05:48 AM11/10/21
to PAL 6502 computer
A beta of my KIM-1 Simulator published.
KIM-1 Simulator – Retro Computing (hansotten.nl)

Not a cycle/hardware exact  KIM-1 emulator, more a study and debugging aid. So do not expect the First Book of KIM programs to work, it does have the KIM-1 look and feel and runs the KIM1 ROM. Most RRIOT ports are emulated.

Letting it run the KIM-1 ROM the LEDs and keypad is fun!

The technology for the KIM-1 emulation is much like the first version of the KIM UNO.

It comes with a video teletype so programs like Microsoft KB9 work, as my old favorite Micro Ade (tested and fixed,  I should publish it again, source now available) and athe ascal-M compiler also works. 

I wrote it to test KIM-1 software I develop, so the debugger part is what motivated me. I can look behind the screens of the KIM-1 to see the CPU state, run step by step, disassemble, load and save all kinds of 8 bit binary format files like papertape, intel hex, Motorola S record, binary.

Liu GN

unread,
Nov 10, 2021, 9:10:33 AM11/10/21
to Hans Otten, PAL 6502 computer

Installed!

First impression: very easy to use, because it can use PC keyboard for input, not only click on the keypad icon!

I found it's a bit CPU hungry, my laptop's cooling fan keeps blowing when it is running~

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pal6502/2c4bed29-34a7-4f1f-9c36-6c198a358899n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Neil Andretti

unread,
Nov 10, 2021, 9:23:40 AM11/10/21
to PAL 6502 computer
Wohooooo, a KIM-1 on steroids
"The CPU runs as fast the host CPU allows, and lets the host operating system do some work like key and display and other applications running and continue the emulation loop until the user stops the 6502 CPU "

a 5 gHz KIM \o/

Hendrik-Jan Megens

unread,
Nov 11, 2021, 3:51:41 PM11/11/21
to PAL 6502 computer
Hi Hans, this is great! 

I'm trying to compile from source on my Linux machine. Loading the project with 

lazarus-ide KIM1SIM.lpi

however doesn't work, I get this error message:

Stream=TfKIMkeyboardLed: Root=:TfKIMkeyboardLed
Component Class: TImage
Error reading keyboardbackgroundSSTon.StretchOutEnabled: Unknown property: "StretchOutEnabled"
Stream position: 1118208

I'm using lazarus version 1.6.4. To be honest, this is the first time I'm exploring lazarus, so I als may be overlooking other components that should be installed but maybe I haven't?

Hendrik-Jan

Hans Otten

unread,
Nov 12, 2021, 5:46:11 AM11/12/21
to PAL 6502 computer
Lazarus 1.6.4 is very old.
I use  the 2.0.6 versions, because of the Raspberry PI OS version. No extras needed, just standard Lazarus.

Try a newer one. I have reports of Debian 64 bit being OK, and my Raspberry PI OS also is fine. 

GN L

unread,
Nov 15, 2021, 12:52:24 AM11/15/21
to PAL 6502 computer
Hi Hans,

When using PC keyboard as the keypad input, I can enter 1-9 and A-F, but 0 cannot register with the simulator through keyboard (mouse or touch screen is OK).

Liu
Message has been deleted

Hans Otten

unread,
Nov 15, 2021, 3:03:57 AM11/15/21
to PAL 6502 computer
Bug indeed. Fixed. KIM-1 Simulator V09.2 online now! Thanks Liu for testing!
Reply all
Reply to author
Forward
0 new messages