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

Replying to:HTV04
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.
The point is that the settings persist after you end the program really I should've just saved it in a file or checked the clipboard length. oh well

If you don't want to have to put something in your clipboard everytime you want to use this program, then enter this at the beginning of the program:
IF CLIPBOARD()=="" THEN CLIPBOARD " "
By the way, this will also preserve your settings. The code just checks if your clipboard is empty, then puts a space in it if it is. Otherwise, it'll remain the same.

Alright I fixed the program with CLIPBOARD (really this should be completely rewritten, but oh well...)