Live data from Hacker News

Show HN: My x86 emulator written in JavaScript

copy.sh

131–140 of 194 posts

Re: Show HN: My x86 emulator written in JavaScript

#132
post #127
post #12

Earlier quoted context omitted.

This really is extremely well done [and I'd like to see the unminified source]. The next feature I'd want to see is networking support. I love the idea to be able to run my entire dev setup in an emulated browser session [e.g. ruby, rails, redis]. That would be a game changer on how I'd develop.

> That would be a game changer on how I'd develop. Why? I'm honestly curious since I can't imagine any big advantages over more "classic" setups ...

Go to any machine with a browser, log in, and have your dev environment pop up in the same state it was when you left it somewhere else, yet all running locally rather over some VNC connection or potentially laggy ssh connection. Log out, and have the state persisted.

Re: Show HN: My x86 emulator written in JavaScript

#133

If like this you might also be interested in my port of the PCE Emulator to the browser: http://jamesfriend.com.au/pce-js/ At the moment I've only uploaded a demo of the Mac Plus emulator (classic 68k mac) but I'll upload IBM PC and Atari ST demos soon also.

For those who are interested I have uploaded some more demos:

IBM PC with Wolfenstein 3d, Civilization, Monkey Island: http://jamesfriend.com.au/pce-js/ibmpc-games/

IBM PC with Windows 3.0: http://jamesfriend.com.au/pce-js/ibmpc-win/

Mac Plus with applications and games: http://jamesfriend.com.au/pce-js/pce-js-apps/

Re: Show HN: My x86 emulator written in JavaScript

#134
post #28

This is beyond awesome! I'd love to read about your thought process while writing it, I guess a lot of people (including myself) would learn a lot from it. How long did it take to write?

I got Freedos working about 2 years ago, but then stopped working on it. I picked it up again earlier this year. Approximately 3 months of full time work.

I'm considering writing some articles, just need to find some free time.

Re: Show HN: My x86 emulator written in JavaScript

#135
When I first saw DOOM running on a bog-standard 386, I declared it to be utter nonsense. I'm no fool! I know what's possible and what's impossible, and that was clearly the latter. Sure, I knew it wasn't impossible, and in fact was true and real and a testament to the brilliance of Carmack et al, but it was still nonsense. Brilliant, astonishing nonsense.

I declare your x86 emulator similar nonsense, for all the same reasons. I take my hat off to you. Well done indeed!

Re: Show HN: My x86 emulator written in JavaScript

#136
post #135

When I first saw DOOM running on a bog-standard 386, I declared it to be utter nonsense. I'm no fool! I know what's possible and what's impossible, and that was clearly the latter. Sure, I knew it wasn't impossible, and in fact was true and real and a testament to the brilliance of Carmack et al, but it was still nonsense. Brilliant, astonishing nonsense. I declare your x86 emulator similar nonsense, for all the same…

My gods. It runs on my phone. In a web browser. Now, if only I knew how to make the onscreen keyboard pop up...

Re: Show HN: My x86 emulator written in JavaScript

#137
post #136
post #135

When I first saw DOOM running on a bog-standard 386, I declared it to be utter nonsense. I'm no fool! I know what's possible and what's impossible, and that was clearly the latter. Sure, I knew it wasn't impossible, and in fact was true and real and a testament to the brilliance of Carmack et al, but it was still nonsense. Brilliant, astonishing nonsense. I declare your x86 emulator similar nonsense, for all the same…

My gods. It runs on my phone. In a web browser. Now, if only I knew how to make the onscreen keyboard pop up...

Hmmm... could you add a simple edit field, , that sent anything typed in it directly to the emulated console? That would make it work on a phone browser.
Post reply on HN