Game Maker Community YoYo Games

Welcome Guest ( Log In | Register )

> Advanced Users Forum Rules

This is a Q&A forum for advanced GML users ONLY. Moderators will remove inappropriate topics. Make sure that you READ these rules prior to posting: Advanced Users Forum Rules

 
Reply to this topicStart new topic
Chip-8 Emulation Problems
CJ Master
post Sep 18 2009, 05:25 AM
Post #1


GMC Member
Group Icon

Group: GMC Member
Posts: 383
Joined: 15-January 06
Member No.: 42644



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.com/index.php?showtopic=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://willhostforfood.com/access.php?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.)
Go to the top of the page
 
+Quote Post
Brother156
post Sep 21 2009, 10:43 PM
Post #2


GMC Member
Group Icon

Group: GMC Member
Posts: 332
Joined: 17-June 08
From: Manlius NY, USA
Member No.: 109131



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 tongue.gif

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 tongue.gif

And here's my NxtChip that I never released:


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

This post has been edited by Brother156: Sep 21 2009, 11:15 PM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 9th February 2010 - 05:20 PM