Live data from Hacker News

Simple 8-bit Assembler Simulator in Javascript

schweigi.github.io

11–18 of 18 posts

Re: Simple 8-bit Assembler Simulator in Javascript

#11

Cool project, I've been thinking about writing one for MIPS (I'm taking a computer architecture class this quarter :))

I did a very minimal one for MIPS, based on SPIM and written in Haskell. It was a fun project in learning and abstracting patterns. Highly recommended, IMO.

Re: Simple 8-bit Assembler Simulator in Javascript

#12
post #7

Earlier quoted context omitted.

Your are talking to the author of that emulator :) It would be much easier for an x86 emulator. I tried only the Javascript engines from Google and Chrome so far. Of course they all fail to compile with an unsupported platform error using the OpenRISC toolchain. I am wondering which one is more compatible for cross-compiling.

I wonder if a standard webkit-gtk might be doable just because it does support running without a JIT from some googling. I imagine it'll be slow as anything could be, but it might work.

./configure ..... . . . Package glib-2.0 was not found in the pkg-config search path

Looks not so bad. This not an absolute no ;)

Re: Simple 8-bit Assembler Simulator in Javascript

#13

'Tis the season for javascript emulators, I guess. I've seen at least 3 or 4 up on HN in the last week. Cool stuff.

And another: http://tjdetwiler.github.io/hcf/ It's a shame 0x10c isn't a thing anymore.

I can understand the developer why they cancelled the project. This is a game only hackers would like. The big question is still, how to learn programming like it would be a game. The best example in my opinion is the game spacechem in my opinion. http://www.spacechemthegame.com/
Post reply on HN