Thread: CHIP8 thread
View Single Post
Old January 7th, 2009   #44 (permalink)
runawayprisoner
Mobile Fanatic
 
runawayprisoner's Avatar
 
Join Date: Nov 2006
Location: Santa Cruz, CA
Posts: 6,206
Quote:
Originally Posted by serge2k View Post
I decided to go with directx instead. My emulator is progressing pretty well, it is now showing output to the screen. Still not quite right though.

It's also quite slow.

The main problem I'm having is that it freezes if I hold down a key, any ideas?

(I'll post the source later)
How is the output not quite right?

I had a hell of a lot of problems with the output to the screen, and I really mean... hella lot. And then there were a lot of timing problems, too, but now I think I got everything quite right... well, bar the flickering filter since it breaks a few emu tests.

The key freezing might attribute to that your key flag might be triggering a jump that is not jumping to where it should be... better pay attention to that.

If I have the source codes to peek at, I'm sure we can work a thing or two out for both of these problems.

Anyway, if you want to compare your screen output, maybe you can try my emu (attached to this post. You need Adobe AIR runtime to install and run it, Adobe AIR is available for free and is multiplatform, just Google her up), or try Fish 'n Chip or Chip'em.

Fish 'n Chip is likely among the only other emulators that I think emulates almost everything correctly. Most of the rest just either glitches up something or doesn't do a particular part right... etc... well, not to say everyone should put their absolute best efforts into doing this right (because you would have understood how emulation works by the time you get something to output right on the screen), but at least, it's a first work, so make it right, ne?

Oh yeah, and Chip'em, too. (is that the right name?) Chip'em has a really nice flickering filter. (inspiration for me to work on my own flickering filter)

I'll post up a documentation for Chip-8 at some point...
Attached Files
File Type: zip schip.zip (40.7 KB, 10 views)
__________________
cChip interpreter WIP - current status: Release Candidate
LRx Filter RC - current performance rating: 9/10

Last edited by runawayprisoner; January 7th, 2009 at 21:43..
runawayprisoner is offline   Reply With Quote