Author Topic: CHIP-8 Emulator for PCE  (Read 406 times)

nodtveidt

  • Guest
CHIP-8 Emulator for PCE
« 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.



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.

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21335
Re: CHIP-8 Emulator for PCE
« Reply #1 on: December 09, 2009, 07:30:50 AM »
Was ist CHIP-8?  :-s
U.S. Collection: 97% complete    155/159 titles

nat

  • Hero Member
  • *****
  • Posts: 7085
Re: CHIP-8 Emulator for PCE
« Reply #2 on: December 09, 2009, 12:30:11 PM »
What he said.

hcf

  • Jr. Member
  • **
  • Posts: 93
Re: CHIP-8 Emulator for PCE
« Reply #3 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 :)

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21335
Re: CHIP-8 Emulator for PCE
« Reply #4 on: December 10, 2009, 02:07:58 AM »
The original Pong on the Turbo, eh?  8)
U.S. Collection: 97% complete    155/159 titles

nectarsis

  • Hero Member
  • *****
  • Posts: 3607
Re: CHIP-8 Emulator for PCE
« Reply #5 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.
My Blogger profile with all my blogs of wonderment:<br><a href="http://www.blogger.com/profile/08066967226239965436" class="bbc_link" target="_blank">http://www.blogger.com/profile/08066967226239965436</a>

Necromancer

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 21335
Re: CHIP-8 Emulator for PCE
« Reply #6 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
U.S. Collection: 97% complete    155/159 titles

nectarsis

  • Hero Member
  • *****
  • Posts: 3607
Re: CHIP-8 Emulator for PCE
« Reply #7 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 :-"
My Blogger profile with all my blogs of wonderment:<br><a href="http://www.blogger.com/profile/08066967226239965436" class="bbc_link" target="_blank">http://www.blogger.com/profile/08066967226239965436</a>

Arkhan

  • Hero Member
  • *****
  • Posts: 14142
  • Fuck Elmer.
    • Incessant Negativity Software
Re: CHIP-8 Emulator for PCE
« Reply #8 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.
[Fri 19:34]<nectarsis> been wanting to try that one for awhile now Ope
[Fri 19:33]<Opethian> l;ol huge dong

I'm a max level Forum Warrior.  I'm immortal.
If you're not ready to defend your claims, don't post em.

ccovell

  • Hero Member
  • *****
  • Posts: 2245
Re: CHIP-8 Emulator for PCE
« Reply #9 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