LoginLogin

Improved Chip-8 Emulator

Root / Submissions / [.]

12Me21Created:
Download:YKA8EJN1
Version:minus 7Size:8.8 KB
It's a Chip-8 Emulator. This program started as a modification of RaichuBender's version, but by now I've replaced all of the original code (except a few lines of DATA). It can run *almost all* chip-8 games.

Instructions:

1: Use the "change controls" option to set the controls (because every game uses different buttons for some reason) 2: Select a game. Note: Some games require you to reduce the speed, which you can do by changing the value of DELAY on line 14 (I only included Tetris in this project (because it's the best game). The others are included in RaichuBender's emulator) Tetris Controls: 5,6: move left/right 4: rotate 7: drop

Lol, terrible timing to release a tetris clone...mezim just made one. =P

Replying to:Morgan
Lol, terrible timing to release a tetris clone...mezim just made one. =P
Lol, terrible timing to look at a picture and not read the page title...

Replying to:Morgan
Lol, terrible timing to release a tetris clone...mezim just made one. =P
That tetris clone was probably made before you were born. CHIP-8 is from the 70's, so programs like tetris were definitely made before 2010.

What are the improvements? Is it implied that we're supposed to download it and see for ourselves what's better?

Replying to:SP_Sour
What are the improvements? Is it implied that we're supposed to download it and see for ourselves what's better?
Many of the games that didn't work on RaichuBender's version work with this one. I also added a menu to change the controls, so you don't need to edit the program. And the graphics should be less flickery.

"Version minus 8" HORRIBL
SpoilerY good
JOKE

Awesome! Great to see someone who's interested and actually looked at it and improved it. I have a similar program that I want to show off very soon!

Replying to:RaichuBender
Awesome! Great to see someone who's interested and actually looked at it and improved it. I have a similar program that I want to show off very soon!
You're alive!

Replying to:RaichuBender
Awesome! Great to see someone who's interested and actually looked at it and improved it. I have a similar program that I want to show off very soon!
Yep. Although not as active as I used to be, but I visit this site every now and then...

I was expermintenting with the CHIP-8 and the Corruptinator. Unfortunately it's not as cool as ROM corruption, but it gives some funny results. :P

Can you make a built in compiler so that my CHIP-8 code can be read?

Every time I run this, I get Subscript out of range in 0:54

Replying to:JustGreat
Every time I run this, I get Subscript out of range in 0:54
oops. you can fix it if you copy something in the editor so the clipboard isn't empty

Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.

Replying to:HTV04
Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.
Send it over using PetitModem or Trin's homebrew app. Make sure you send it over as a 1 dimensional array, preferably as INT. It should be able to load it without problems. If you have any questions, feel free to ask!

Replying to:HTV04
Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.
Alright, thanks for telling me! Also, does it automatically save it as a DAT file when you send the .rom file or do you need to do something first?

Replying to:HTV04
Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.
It's been a while since I last did it, but first of all, rename the ROM to all caps, like this: "TETRIS.ROM". PetitModem should send it over as a DAT file. If you use the file manager, add a captial B in front of the file, like this: "BTETRIS.ROM" and import it as a 1D DAT file. That way SmileBASIC knows it needs to treat it as a DAT file. I believe the B stands for Binary.

Replying to:HTV04
Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.
Thanks! I'll let you know if everything goes smoothly (or not). Hopefully this method works! Again, thank you, and your program (even though the improved version is not yours) is awesome!

Replying to:HTV04
Just wondering, is it possible to convert roms for use with this emulator? I have a custom Breakout rom and would like to use it with this emulator, but I don't know how.
Thanks! Well, you can download my version for the included games obviously :P But be prepared for a sizable download... 12Me21 did a great job at optimizing my program and fixing bugs. (Well, it's not really optimizing, it's more like completely remade...)

I found a way to fix the "subscript out of range" error. At the beginning of the program, add
CLIPBOARD " "
. This makes it so that something is in the clipboard when the program starts, preventing the error and the need to copy something manually just to get it to work.