• Welcome to PCEngine-FX.com. Please log in.
 

CHIP-8 Emulator for PCE

Started by OldRover, 12/09/2009, 03:17 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

OldRover

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.
Turbo Badass Rank: Janne (6 of 12 clears)
Conquered so far: Sinistron, Violent Soldier, Tatsujin, Super Raiden, Shape Shifter, Rayxanber II

Nazi NecroPhile

Ultimate Forum Bully/Thief/Saboteur/Clone Warrior! BURN IN HELL NECROPHUCK!!!

nat


hcf

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 :)

Nazi NecroPhile

The original Pong on the Turbo, eh?  8)
Ultimate Forum Bully/Thief/Saboteur/Clone Warrior! BURN IN HELL NECROPHUCK!!!

nectarsis

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.
My Blogger profile with all my blogs of wonderment:
blogger.com/profile/08066967226239965436

Nazi NecroPhile

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
Ultimate Forum Bully/Thief/Saboteur/Clone Warrior! BURN IN HELL NECROPHUCK!!!

nectarsis

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 :-"
My Blogger profile with all my blogs of wonderment:
blogger.com/profile/08066967226239965436

Arkhan Asylum

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.
This "max-level forum psycho" (:lol:) destroyed TWO PC Engine groups in rage: one by Aaron Lambert on Facebook "Because Chris 'Shadowland' Runyon!," then the other by Aaron Nanto "Because Le NightWolve!" Him and PCE Aarons don't have a good track record together... Both times he blamed the Aarons in a "Look-what-you-made-us-do?!" manner, never himself nor his deranged, destructive, toxic turbo troll gang!

ccovell

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