Show HN: The Montana MiniComputer

47 recursivedoubts 10 7/25/2025, 2:25:53 PM mtmc.cs.montana.edu ↗
Hey HN, we just released the 1.0 of the MonTana Mini Computer (MTMC-16), a virtual teaching computer to help students understand how low level computing works. It is a 16 bit computer with only 4k of ram, but we've made some design choices that help maximize what you can accomplish with the limited hardware

https://mtmc.cs.montana.edu/

It is written in java (sorry) and provides a web interface that has:

- a blinken-lighten display for registers

- a memory view with different filters you can apply

- a Gameboy-like game pad

- a console you can use to interact with the computer (including running assembly instructions directly)

- a file browser with an integrated editor for editing file

So everything you need to get going on low level programming.

It includes some sample code, including snake and conway's game of life, in the /src directory.

You can watch a quick start video here: https://www.youtube.com/watch?v=m_6pZ_sT3y0

We have the start of a C compiler for the machine, but that's still a work in progress. We plan on improving the interactivity and visual feedback over the next few months, so any feedback you can give us would be very much appreciated!

Comments (10)

kaladin-jasnah · 24m ago
This is cool! As someone who has TA'ed similar classes to this, I've noticed that students usually find classes that teach low level programming and assembly a drag. They often complain and find no interest in the material. Part of the feedback I've received on that is that 1) it's useless and 2) there is so much abstraction that it's hard to really understand what's going on if you already don't have a very strong mental model of how a computer works, which is not taught or expected in courses like these.

I had the opportunity to play with an Altair 8800 clone and it seemed so much more intuitive there's not fifty layers of abstraction over how things like memory, I/O, etc. work, and you can inspect what's going on very easily. From looking at this project, it certainly feels similar, but much more easily accessible and programmable, while also really letting students get a feel for the organization of a computer without the abstraction. I really think this would help point (2). As for point (1), with easy graphics output, it's easy to do things like write games (like the aforementioned snake), and I think that would already make this a lot more fun than the kind of assembly and C code that the course I TA'ed wrote, such as "find the max of an array in memory using only assembly," or "implement a database to store information about courses in C."

As a side note, it would be super cool to have things like CTFs that use the MTMC for pedagogical purposes, à la CMU's "Bomb lab"!

I really hope that universities adopt either this or something like this for introductory computer organization and low level programming courses. I genuinely believe that it would make a big difference in students developing a passion for low level programming, and I'm really glad that this work was done.

Side note: Java is honestly a great idea, since most students learn Java and thus the barrier of entry for contributing to this would be greatly reduced.

colingauvin · 1h ago
I am a Bozeman resident, got my PhD from MSU and my wife works there. Really was not expecting to see something from MSU make the front page of HN, well, ever, really. This is pretty cool.
linuxlizard · 40m ago
I did my MS-CS in Bozeman. I'm super excited to see MSU on HN FP as well! Very cool!
crabl · 32m ago
Bozeman tech scene is popping off recently!
recursivedoubts · 1h ago
Go Cats!
musicale · 20m ago
Cool. I wonder if some enterprising students (or others) might put together a physical hardware console that you could connect to a raspberry pi or fpga implementation?
jbanes · 1h ago
Fun Fact: You can pass your starting patterns into the Life program. There are a bunch in /data. And you can make your own as long as they end in .cells

My favorite is: life /data/galaxy.cells

AnimalMuppet · 1h ago
A blinkenlights display? Sorry if this message is garbled; I need to wipe the drool off of my keyboard...

You pointed us to a video, but not to a URL where we can either download it or interact with it online. Are there such?

jbanes · 1h ago
The title itself is the link. But here it is again:

https://mtmc.cs.montana.edu/

We made sure it was HTML3 compliant for shits and giggles

AnimalMuppet · 1h ago
Argh. I was thinking of an "Ask HN", where there is no link. My error. Thanks, though.