logoalt Hacker News

MartyPC is a cross-platform emulator of early PCs written in Rust

204 pointsby boilerupnctoday at 3:13 AM84 commentsview on HN

Comments

GloriousCowtoday at 6:15 PM

Hi, thanks for checking out MartyPC. I'm the developer if there are any questions.

show 2 replies
tensortoday at 3:56 PM

One of the amazing things about this project is that the author built physical harnesses for real early CPUs so that he could build test suites against the real hardware and ensure the emulation is 100% correct, down to every timing and quirk of the original hardware.

show 1 reply
wiz21ctoday at 1:07 PM

besides the fact that it was written in rust, rust happens to be a really nice language to write emulators, you don't have to think much about threading and not much abut memory management, rust makes that easy => you can concentrate on your pixels. Moreover LLM grasp it very well so that you can get a bit more spare time for your emulator-side-project.

It was very long since I wrote any sort of C++ and using rust was pretty refreshing.

Second "besides": marty's PC may not have a lot of breadth in terms of supported hardware, but it gets the accuracy totally right. It's a very special kind of achievement.

(I'm not a rust fanboy :-) I just appreciate the language for writing my emulator)

pjmlptoday at 7:16 AM

Adlib support! At least someone else remembers it wasn't only Soundblaster.

show 2 replies
ranger_dangertoday at 5:59 AM

Ironically, and unfortunately, this doesn't actually emulate the FM Towns Marty (or even the regular FM Towns PC) like I assumed it would.

rrr_oh_mantoday at 6:51 AM

Doesn't seem to support non-QWERTY keboards :(

show 1 reply
Dwedittoday at 5:17 AM

Mysteriously, backslash has been mapped to backspace for some reason.

show 3 replies
JMiaotoday at 6:38 AM

probably in the minority but i want the screeching and grumbling hard disk sounds

show 1 reply
chvidtoday at 6:33 AM

Almost usable on an iPhone.

benj111today at 1:18 PM

I assume it's called MartyPC because it Marty McFlies?

throwaway5727today at 10:19 AM

This comment is itself a meta comment but here we go I guess...How is it possible that half the comments in this thread are about the title itself? It’s not even a made-up title, it’s taken straight from the project’s README...I keep seeing people complaining almost aggressively that others are touting Rust as a useful tool (which, to me personally, it certainly is). Does someone have a financial stake in opposing Rust’s development, or what?

show 3 replies
BobMcBobtoday at 6:31 AM

Yet another avenue to play EGATREK in a browser. For that, its work it.

show 2 replies
gaoheyangtoday at 10:39 AM

nice

hncsiocp9xtoday at 2:44 PM

[dead]

azwaterdamageretoday at 7:19 AM

lol

szunditoday at 5:22 AM

Why never seeing a title “written by C” or Java or js

show 6 replies
globalnodetoday at 6:57 AM

the other week i wrote a program in python, and ive been thinking of upgrading my cpp knowledge from v11, wish me luck

tonyhart7today at 8:03 AM

how to use this fossil computer era ????? I cant type shhiiii

rvztoday at 9:31 AM

   Written in Rust™
teiferertoday at 8:38 AM

What does the "written in Rust" contribute to the title, exactly?

Kudostoday at 7:33 AM

Not specific to this project, but nowadays when I see "written in rust" I hear "written by Claude".

show 1 reply
hnlmorgtoday at 7:11 AM

Early PCs weren’t written in Rust.

show 2 replies