A cycle-accurate IBM PC emulator in your web browser

martypc.net

158 points by GloriousCow a month ago


GloriousCow - a month ago

MartyPC brings cycle-accurate IBM PC emulation to your web browser.

Run Area 5150 at 60fps on your phone!

Almost every feature from the desktop version is present if practical:

- View the realtime state of nearly every component of the system. - View live disassembly of CPU instructions. - Edit registers and memory. - Slow down or speed up the system. - Peek on how games draw their graphics with the Memory Visualizer.

wbhart - a month ago

I've been using MartyPC for a few years and except for emulating glitches in hardware which depend on the manufacturer, date of manufacture or even temperature, it is getting harder to find cycle accurate tricks that MartyPC can't emulate perfectly (believe me, we've been trying).

The whole thing is a marvel of software engineering!

What is remarkable is that the author (GloriousCow) doesn't complain that people are ripping off his code and ideas, but that more people haven't used his learnings to create other cycle accurate emulators for the PC.

WalterGR - a month ago

Pretty incredible!

I’m on mobile right now so I can only comment on the demo that runs automatically, which I understand isn’t the _point_. :)

More about the demo: https://www.vogons.org/viewtopic.php?t=89435

(For those unfamiliar with “demo” in this context, see https://en.m.wikipedia.org/wiki/Demoscene)

I look forward to checking out the features you mention on a proper computer.

nsxwolf - a month ago

Can you imagine sending an Area 5150 disk back in time to 1981?

p0w3n3d - a month ago

Wow that's amazing. I sometimes play NES emulated games, which are (due to hardware limitations) using some tricks while displaying larger mobs, to show a few sprites instead of one (and using monitor synch to quickly switch the sprites in between switching to another scanline). This however renders as blinking in my emulator.

I can only imagine that this demo was doing similar tricks to "push the limits" on CGA.

Also, I remember my i386-33SX playing full 4 channel music on the PC Speaker in the game "Pinball Fantasies". This was state-of-the-art (also not working properly on DOSBox emulator nowadays)

genewitch - a month ago

This appeared on the fp the same day i spent 15 hours trying to get various old/weird OSes installed. Xerox Star (viewpoint), os/2 warp 4, serenityos, debian 9, and where is freebsd 2.2 disc 2, might i ask?

commenting for posterity, and to say the web emulator is very slick, i have some dos diskettes to try out.

dosman33 - a month ago

I miss Notacon and Jason Scott's Demoscene parties.

theogravity - a month ago

That demo was pretty mesmerizing!

marstall - a month ago

truly epic!