Jump to content


Photo

Chip-8 Emulation Problems


  • Please log in to reply
1 reply to this topic

#1 CJ Master

CJ Master

    GMC Member

  • New Member
  • 266 posts

Posted 18 September 2009 - 05:22 AM

Hello there, It's been a long while since I've been on these forums. I hope you fine people will be able to help me out.

I rewrote from the ground up Bathy's intriguing Chip-8 emulator with an easier to read coding style, and by the time I release it It should be very well commented.

Bathy's Emulator and a public domain rom can be downloaded at: http://gmc.yoyogames...howtopic=331812

The problem is I must have goofed somewhere, and I'm rather convinced that it's the pointer. Regardless, I could use any advice on how to fix the error at the start of the program.

My GMK: http://willhostforfo...hp?fileid=85242

(Please note that in order to test it you need a Chip-8 rom, there are plenty in the public domain for you to grab.)
  • 0

#2 Brother156

Brother156

    GMC Member

  • Validating
  • 498 posts

Posted 21 September 2009 - 10:40 PM

Ill try too see the problem.. I have made my own Chip-8 emulator based on Bathy's example, but never got arround to getting it released. Ill edit when I found it :D

EDIT:
Ok, well, because you changed a bunch of variables, you weren't carefull and changed one of them to one that was already there... This messed up the whole drawing/loading of the rom.

Here is a fix of your example, but the format and the comentary is gone because I was copying and pasting them from Bathy's example, but it works fine now ;)
Posted Image
And here's my NxtChip that I never released:
Posted Image

EDIT2:
I axcidentally uploaded yours with the same name as my other one, so now it seems like your has 4 downloads :)

Edited by Brother156, 21 September 2009 - 11:12 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users