PCEngine-FX.com

PCE-FX Homebrew Development => Localizations, Games, Apps, Docs => Topic started by: OldRover on 12/09/2009, 03:17 PM

Title: CHIP-8 Emulator for PCE
Post by: OldRover on 12/09/2009, 03:17 PM
For some reason, Neko talked me into doing this, hehe. :) It's the start of a CHIP-8 emulator for the PCE, as the title suggests.

/chip8-126.png

Here's an early shot of the emulator with about 75% of its instructions coded. Graphics don't quite work properly yet. :) Also, there's no controls or sound just yet. I started with an easy program: MAZE. Just 38 bytes. Once it's completely working, I can attempt to emulate the more complex programs.

This is only intended to emulate the original CHIP-8. For now, I don't intend to support SCHIP or any of the other extension versions. This is just for fun after all. :)

All of the code is 100% original; not lifted from any other source. I'm going solely on the meager documentation of the system and looking at CHIP-8 program code in a hex editor to make sure everything checks out ok.
Title: Re: CHIP-8 Emulator for PCE
Post by: Nazi NecroPhile on 12/09/2009, 03:30 PM
Was ist CHIP-8?  :-s
Title: Re: CHIP-8 Emulator for PCE
Post by: nat on 12/09/2009, 08:30 PM
What he said.
Title: Re: CHIP-8 Emulator for PCE
Post by: hcf on 12/10/2009, 05:41 AM
Old Rover, that is incredible!!

Quote from: guest on 12/09/2009, 03:30 PMWas ist CHIP-8?  :-s
You can see it here:
http://en.wikipedia.org/wiki/CHIP-8

CHIP-8 is a language that was designed to program games like Pong in the past. When you develop a program in this language, you need a "CHIP-8 virtual machine" to run it.

Well, I think that The Old Rover is programming a "CHIP-8 virtual machine" to be executed in the PC Engine, so that you will be able to run "CHIP-8" games in a PC Engine. And it is impressive, because... well, we know that there are consoles with a large scene of emulators (you can run emulators of other systems in a Dreamcast, a Xbox, a PSP... but I don't know if anyone has made previously anything similar in the PC Engine :)
Title: Re: CHIP-8 Emulator for PCE
Post by: Nazi NecroPhile on 12/10/2009, 10:07 AM
The original Pong on the Turbo, eh?  8)
Title: Re: CHIP-8 Emulator for PCE
Post by: nectarsis on 12/10/2009, 10:33 AM
Quote from: guest on 12/10/2009, 10:07 AMThe original Pong on the Turbo, eh?  8)
Keranu already did this  (or someone else)...but he had it running at MGC a couple years ago.
Title: Re: CHIP-8 Emulator for PCE
Post by: Nazi NecroPhile on 12/10/2009, 10:48 AM
Quote from: nectarsis on 12/10/2009, 10:33 AMKeranu already did this  (or someone else)...but he had it running at MGC a couple years ago.
No he didn't.  I said original Pong, not a port with a bouncing bonk smiley and TurboPad paddles.  :P
Title: Re: CHIP-8 Emulator for PCE
Post by: nectarsis on 12/10/2009, 10:54 AM
Quote from: guest on 12/10/2009, 10:48 AM
Quote from: nectarsis on 12/10/2009, 10:33 AMKeranu already did this  (or someone else)...but he had it running at MGC a couple years ago.
No he didn't.  I said original Pong, not a port with a bouncing bonk smiley and TurboPad paddles.  :P
#-o :P :P :-"
Title: Re: CHIP-8 Emulator for PCE
Post by: Arkhan Asylum on 12/10/2009, 01:04 PM
OMG SCALE THE PIXELS

SCALEEEEEEEEEEE THE PIXELS IF YOU WANT TO SRUVIVE! o____________________________O

lol.


Ill port Insanity backwards to it and see what happens.
Title: Re: CHIP-8 Emulator for PCE
Post by: ccovell on 12/16/2009, 05:32 PM
Cool stuff!  And good luck!

Be sure to check out the Sega Master System Chip 8 emu for reference: http://www.smspower.org/maxim/SMSSoftware/Chip8