KIM-1 emulation running on Kowalski Simulator

Topics pertaining to the emulation or simulation of the 65xx microprocessors and their peripheral chips.
Post Reply
powersoft_51
Posts: 51
Joined: 22 Jun 2024

KIM-1 emulation running on Kowalski Simulator

Post by powersoft_51 »

Hello,

I'm looking for an KIM-1 emulation running under the Kowalski Simulator.

Is there a version that is adapted?

Thanks for any help.

Cheers,

Jan
SamCoVT
Posts: 344
Joined: 13 May 2018

Re: KIM-1 emulation running on Kowalski Simulator

Post by SamCoVT »

The issue with that is that the Kowalski simulator doesn't know about the hardware that the KIM-1 has, like the keypad or display. Hans Otten has written a simulator specifically for the KIM-1. You can use the assembler in the Kowalski simulator to assemble your code, save it to a file, and then you can load that code into the KIM-1 simulator to simulate it. On Linux, a few of the keys on the keyboard were mapped to different characters than expected (perhaps due to differences between US and Netherlands keyboards) when using the virtual serial port terminal, but otherwise the simulator is quite functional. I was able to find the special characters I needed (* and :, I think) by poking around on the keyboard until I found them.

http://retro.hansotten.nl/6502-sbc/kim- ... simulator/
6502inside
Posts: 101
Joined: 03 Jan 2007
Location: Sunny So Cal
Contact:

Re: KIM-1 emulation running on Kowalski Simulator

Post by 6502inside »

If you don't mind running it on a C64, here's my own KIM-1 emulator. It uses a virtual 6502-on-6502 library, emulates the TTY (or you can hook up a dummy terminal to the 64 itself and talk to the KIM that way), keypad and LEDs, contains built-in RAM expansion, and can load and save dumps to disk. It runs fine in any C64 emulator, of course.

https://www.floodgap.com/retrobits/kim-1/emu.html
User avatar
HansO
Posts: 206
Joined: 31 Oct 2003

Re: KIM-1 emulation running on Kowalski Simulator

Post by HansO »

SamCoVT wrote:
The issue with that is that the Kowalski simulator doesn't know about the hardware that the KIM-1 has, like the keypad or display. Hans Otten has written a simulator specifically for the KIM-1. You can use the assembler in the Kowalski simulator to assemble your code, save it to a file, and then you can load that code into the KIM-1 simulator to simulate it. On Linux, a few of the keys on the keyboard were mapped to different characters than expected (perhaps due to differences between US and Netherlands keyboards) when using the virtual serial port terminal, but otherwise the simulator is quite functional. I was able to find the special characters I needed (* and :, I think) by poking around on the keyboard until I found them.

http://retro.hansotten.nl/6502-sbc/kim- ... simulator/
I have implemented several keyboard layouts in the simulator. The default one is the US International keyboard and that is my own keyboard. I do not own a 'Netherlands keyboard" !!
The : ( * are working as expected in Windows and Linux (Ubuntu).

I need help from users to implement other keyboard layouts, and so now I can support German and Belgian French also.

So what keyboard type do you have? And what OS are you running the Simulator? Can you help me add this type?
I have included a terminal program (with source, so you can run it in Linux also) called TestKeyDown in the archive. The resulting text file helps me to add a keyboard layout. How to use is described in the help file.

Hans
SamCoVT
Posts: 344
Joined: 13 May 2018

Re: KIM-1 emulation running on Kowalski Simulator

Post by SamCoVT »

Hi Hans,
I have a 104 key (generic) keyboard and am running on Linux.
I located the TestKeyDown program and all the keys seem to work fine! I'm an Ubuntu machine at the moment, and the machine I was using last time I used KIM1SIM was an OpenSuse Linux machine. I encountered the swapped around keys when playing with FOCAL on the KIM1 - perhaps its an OS setting, like the locale, that was messing things up (it wouldn't be the first time I've had weirdness due to the locale setting). If I remember when I'm back on that machine, I'll see if I can reproduce the issue. I was able to get the simulation to work for my purposes, so I didn't dig any deeper at the time.

Also, just a thanks for writing the simulator. I don't think I'll ever encounter a KIM1 in real life, but it was nice to be able to try one out and run software that was written for them.
Post Reply