Jump to content




Blit-8 - A Chip-8 emulator for CC

game computer

2 replies to this topic

#1 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 25 August 2016 - 02:36 PM

I looked through my CC filesystem today, and i noticed a neat little program I made half a year ago.
It is a well compatible Chip-8 emulator for ComputerCraft.

Posted Image
(the flickering is caused by chip-8 itself)

Download:
pastebin get 2h0b6L2B blit8
Usage:
blit8 <filename>
You need Chip-8 ROMs (.ch8) to emulate.
There is a pack of ROMs available for free at http://www.zophar.ne...ames-pack.html.

Controls:
Chip-8 key mapping:
123C   1234  7890
456D   QWER  UIOP
789E   ASDF  JKL;
A0BF   ZXCV  M,./
Enter: Restart
Space: Pause/Continue
Left/Right: Change clock speed
Up: Change background color
Down: Change foreground color

I hope you enjoy this program!

Edited by CrazedProgrammer, 25 August 2016 - 02:38 PM.


#2 LDDestroier

  • Members
  • 1,095 posts
  • LocationACDC Town

Posted 27 August 2016 - 09:53 PM

I haven't a clue why there aren't ANY comments, but this looks damn cool! I don't know exactly what CHIP-8 is, but from the GIF you provided, it kind of reminds me of the ZX Spectrum.

#3 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 27 August 2016 - 10:01 PM

View PostEldidiStroyrr, on 27 August 2016 - 09:53 PM, said:

I haven't a clue why there aren't ANY comments, but this looks damn cool! I don't know exactly what CHIP-8 is, but from the GIF you provided, it kind of reminds me of the ZX Spectrum.
Thanks! :D
Chip-8 is an interpreted programming language (more like bytecode) designed in the mid-70's that was meant to simplify the development of games on hobbyist computers of the time.
It was kind of revived in the 90's because of interpreters made for graphical calculators,
and currently it's a good place to start writing emulators (because of the simple 36 opcodes).
https://en.wikipedia.org/wiki/CHIP-8

This video is a good watch on how to write a Chip-8 emulator:






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users