Remix.run Logo
▲ DonHopkins 13 hours ago

Cool project! Thanks for sharing the code and posting about it. Ignore the hostile troll who has nothing to contribute and only pretends to be friendly. I like your heterogeneous approach, and your way of plugging together different hardware modules. Tracing memory accesses back to the responsible instructions is extremely useful for analyzing and "upcycling" old software.

Paleotronic's microM8 Apple ][ emulator inspired me with the idea of "upcycling" emulators:

https://paleotronic.com/software/microm8/

>microM8 not only provides solid emulation of Steve Wozniak’s masterpiece 8-bit Apple II series computers, but also redefines retro-computing with 'upcycling' features such as 3D and HD graphics rendering, user-movable camera views, PVR-style memory state recording with "live rewind" (the only publicly-available Apple II emulator that can do this!), an integrated cloud-based disk library, Apple compatible BASIC and LOGO interpreters re-written in native Go which provide additional video modes (including 3D modes), functions and user-interface enhancements, local network and Internet-based screen sharing, and more!

I see you have code editors! What are you thoughts and approaches to live coding and debugging, and making your tools harmonize with a wide variety of instruction sets, memory sizes and layouts, backplanes, I/O instructions vs memory mapped I/O, etc?

How do you approach plugging emulated devices like mice, keyboards, joysticks, terminal emulators, displays and framebuffers, etc, into different kinds of emulated cpus that weren't originally compatible? And making emulated anachronistic or fictional devices that never existed?

I'm developing a browser based emulator written in TypeScript that includes assemblers and disassemblers and other development tools to support live coding in the browser, headless building, deployment, testing, and benchmarking in node, and plugging and adapting generic device emulators into vastly different CPUs. It also supports a just-in-time compiler based on Dave Ungar's Korz.

For example, a Data Hand (like a computer vision version of the Data Glove developed at VPL for VR that plugged into a Mac) uses webcam video hand pose tracking. When it's plugged into the PDP-7's 18 bit backplane, it delivers position and rotations as 18 bit scaled fixed point integers the PDP-7 Forth uses, but it could also deliver Applesoft's 5 byte (40 bit) floating point format when plugged into an Apple ][ emulator.

PDP-7 Forth Data Hand (tracks hand pose via webcam, draws hand on Type 340 vector display with turtle graphics):

https://hyperties.org/machine/devices/datahand/

PDP-7 Forth Ulimata Machine (just turns itself off, based on Minsky's and Shannon's device):

https://hyperties.org/machine/devices/ultimate-machine/

PDP-7 Forth Ultimate Hand (turn yourself off with your hand):

https://hyperties.org/machine/devices/ultimate-hand/

I'm also developing a "Screen Angel", that's a user interface accessibility overlay which can see the screen, device i/o, memory, and machine state, generate music and speech, translate speech to text, show game guides, help, and command buttons, and generally teach and help you easily use unmodified programs and games, like Little Computer People on the Apple ][:

https://hyperties.org/machine/games/little-computer-people/

Or Zork on the PDP-10:

https://hyperties.org/machine/games/zork/

Or MUD on the PDP-10:

https://hyperties.org/machine/games/mud/

Or Zork I, II, and III on the Apple ][:

https://hyperties.org/machine/games/infocom/zork/

Or Scott Adams' Adventures on the Apple ][:

https://hyperties.org/machine/games/scott-adams/

I'm developing a SparcStation 2 emulator to run lots of my old NeWS and Sun software, including pie menus, tabbed windows, owm (an X11 window manager written in NeWS PostScript, with pie menus and tabbed windows around X11 clients), pizzatool, NeWS/HyperLook SimCity, multi player X11/TCL/Tk SimCityNet, UniPress Emacs 2.20, and Dave Ungar's original Self (a work in progress, no Screen Angel to help you play SimCity yet -- so you're on your on with most of that):

https://hyperties.org/machine/systems/news-workstation/

Here's the SparcStation booted into OpenBoot Forth firmware proms:

https://hyperties.org/machine/diagnostics/openboot/

Here's a PDP-7 Forth with turtle graphics (uses to implement the above demos) recently written by Mitch Bradley with Claude, the same guy who wrote OpenBoot Forth on the Sun, CForth, OpenFirmware Forth on many other platforms, including the Forth boot ROMs on the OLPC:

https://hyperties.org/machine/languages/forth-turtle/

Mitch and I recently gave a talk about it at Silicon Valley Forth Interest Group's Forth Day:

Forth Day Talks: Mitch Bradley, PDP-7 Forth, Don Hopkins, PDP-7 and Apple ][ Emulator:

https://www.youtube.com/watch?v=k2pwJ294r8o

Happy Birthday PDP-10:

https://www.youtube.com/watch?v=dYYwzfPWJWE

Musical Little Computer People Gameplay:

https://www.youtube.com/watch?v=gn8lw3OsPmw