Live data from Hacker News

Show HN: Windows 98 in browser

copy.sh

71–80 of 171 posts

Re: Show HN: Windows 98 in browser

#71
post #3

That's amazing - do you have any info on the underlying implementation?

It's a fully emulated PC: CPU, memory, hard drive, … The CPU especially took me very long to get right with all the details to run Windows 98. The code is here: https://github.com/copy/v86

This is amazing. Really great work. Thanks for building this.

Re: Show HN: Windows 98 in browser

#72
But is the A20 gate being properly emulated? :) I know a verification engineer who left AMD because he was tired of dealing with the ancient testbench which checked the ancient hardware.

The browser should run in the hypervisor and provide a real hardware virtual machine. Provide both ARM and x86, one is emulated and one is real.

Re: Show HN: Windows 98 in browser

#73
post #20
post #14

Where does one start with such thing? I mean, where do I read how to emulate CPU (or at least how CPU works, so I would be able to come up with how to emulate it by myself), how does PS/2 work, how to boot an image from BIOS?

University courses? I'm pretty sure CPUs were a huge part of my first year of CS.

What university did you go to?

My university didn't touch on hardware until the second half of second year, and that was only one paper (strictly speaking, a computer engineering paper).

Re: Show HN: Windows 98 in browser

#74
post #54
post #3

Earlier quoted context omitted.

It's a fully emulated PC: CPU, memory, hard drive, … The CPU especially took me very long to get right with all the details to run Windows 98. The code is here: https://github.com/copy/v86

NSA backdoor! https://github.com/copy/v86/commit/159f565de4dd99bff9b46c45a... Nope, Windows 98 undefined instruction.

Yep!

https://blogs.msdn.microsoft.com/oldnewthing/20041215-00/?p=...

Re: Show HN: Windows 98 in browser

#75
post #52
post #23

Earlier quoted context omitted.

Wow, advocating higher education on HN. Feeling bold today?

I've not really enjoyed my time in higher-ed (and I have little to show for it), but sometimes it's really the only place where unfashionable but fundamental topics are covered in depth. My comment was meant as a pointer (i.e. "check out lecture recordings etc") rather than a quip.

Really? Because it sounded exactly like a snarky troll.

Re: Show HN: Windows 98 in browser

#76

But is the A20 gate being properly emulated? :) I know a verification engineer who left AMD because he was tired of dealing with the ancient testbench which checked the ancient hardware. The browser should run in the hypervisor and provide a real hardware virtual machine. Provide both ARM and x86, one is emulated and one is real.

It's not. I haven't come across any software that relied on it.

Re: Show HN: Windows 98 in browser

#78
This is such a great demonstration of both how fast JS engines have become in the browser, and how much less efficient native software has become overall. Running on top of an x86 emulator in JavaScript, it's still faster to pop open a file browser and click around than it is on some modern smartphones.
Post reply on HN