|
I'm making an emulator for this too! It's taught me quite a bit of CS fundamentals I wouldn't get otherwise, but I still have a ways to go.
|
# ¿ May 18, 2014 10:29 |
|
|
# ¿ May 10, 2024 06:56 |
|
Internet Janitor posted:edit: oh, and one more thing- please do NOT use cowgod's technical reference as a source of opcode descriptions. It gets a number of things subtly wrong. Mastering Chip8 is a much more accurate resource. The testquirks.8o program illustrates some of these differences, and in all three of the behaviors Octo is doing what Scaevolus confirmed the original Chip8 interpreter did. Oh poo poo, I should have used this when I started refactoring my JS implementation of it. This looks much nicer!
|
# ¿ Dec 5, 2014 14:39 |
|
I'm trying to build up a "schematic" for a Chip8 machine (memory + logic) as one of my projects. I'm compiling a list of what a typical Chip8 machine "has" and what it "does". What the machine does is simple, that's the interpreter and the opcodes, but I'm a little bit hazy on the memory structure. Does this look fair?Markdown code:
Pollyanna fucked around with this message at 19:34 on Dec 7, 2014 |
# ¿ Dec 7, 2014 19:12 |
|
I'm wondering how to unit/integration test a CHIP-8 interpreter. The thing about the language is that it can run for forever if you let it, so it's a little complicated to tell your tests exactly when your tests are done. If I call chipJS.run(program), then either the program needs to finish running - which can lengthen tests and how do you determine if it's "finished'? - or you can simply have it run via setInterval(), in which case you'll need a callback in order to tell your tests that you're done - and you still have to determine a finished state. Do you run for only a set amount of time? How do you know you've gone on long enough? Does the interpreter only run until it detects an infinite loop state? If so, should it handle the exiting itself or should you do it? This is definitely something I'm not very good at wrapping my head around.
|
# ¿ Dec 18, 2014 21:00 |
|
Goddamn, that's cool. I really need to get into games development, like, for real instead of just posting about it on the internet. In related news though, we showed our projects at a meet & greet recently and everyone was blown away by my explanation of my Javascript virtual machine It's really funny to me, cause it feels like something very basic and that needs infinitely more iteration to even get close to Octo, yet people are like "woah bitshifting goddamn". I suppose it's a boost to my ego, but...
|
# ¿ Jan 16, 2015 16:00 |
|
|
# ¿ May 10, 2024 06:56 |
|
ExiledTinkerer posted:The Gameduino Project guy did a (porting and such) thing apparently: Aw, and I was hoping I'd be the first to do this. I still wanna do this, of course.
|
# ¿ Oct 6, 2015 13:26 |