PCEngineFans.com - The PC Engine and TurboGrafx-16 Community Forum

Tech and Homebrew => Turbo/PCE Game/Tool Development => Topic started by: nodtveidt on December 09, 2009, 07:17:08 AM

Title: CHIP-8 Emulator for PCE
Post by: nodtveidt on December 09, 2009, 07:17:08 AM
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.

(http://www.nodtveidt.net/chip8-126.html)

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: Necromancer on December 09, 2009, 07:30:50 AM
Was ist CHIP-8?  :-s
Title: Re: CHIP-8 Emulator for PCE
Post by: nat on December 09, 2009, 12:30:11 PM
What he said.
Title: Re: CHIP-8 Emulator for PCE
Post by: hcf on December 09, 2009, 09:41:11 PM
Old Rover, that is incredible!!

Was 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: Necromancer on December 10, 2009, 02:07:58 AM
The original Pong on the Turbo, eh?  8)
Title: Re: CHIP-8 Emulator for PCE
Post by: nectarsis on December 10, 2009, 02:33:56 AM
The 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: Necromancer on December 10, 2009, 02:48:08 AM
Keranu 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 December 10, 2009, 02:54:24 AM
Keranu 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 on December 10, 2009, 05:04:50 AM
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 December 16, 2009, 09:32:56 AM
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