Forums

Chip8 some questions

Started by Wing Fong Wong March 21, 2004
Does anyone know if anyone has tried to implement a chip8 interpreter
in a small pic or atmel micro?
Also does anyone know what the two timers in the chip8 instruction set
actually do? the resources I've read aren't particularly clear.

-- 
Wing Fong Wong
Wing Fong Wong wrote:

> Also does anyone know what the two timers in the chip8 instruction set > actually do? the resources I've read aren't particularly clear.
The delay timer can be both read and written to and it is intended to be used to schedule game events. The sound timer can only be written to and a tone is played while it is non-zero. Both timers count down from a positive integer at a frequency of 60 Hz and stop when they reach zero. -- Wishing you good fortune, --Robin Kay-- (komadori)
On Mon, 22 Mar 2004 02:39:26 +0000 (UTC), Wing Fong Wong
<wing@tartarusdontspamme.uwa.edu.au> wrote:

>Does anyone know if anyone has tried to implement a chip8 interpreter >in a small pic or atmel micro?
Not one of these but on a 65C02 (Atari Lynx). It is quiete easy and makes some fun :-) --- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
42Bastian Schick <bastian42@yahoo.com> wrote:
> On Mon, 22 Mar 2004 02:39:26 +0000 (UTC), Wing Fong Wong > <wing@tartarusdontspamme.uwa.edu.au> wrote: > >>Does anyone know if anyone has tried to implement a chip8 interpreter >>in a small pic or atmel micro? > > Not one of these but on a 65C02 (Atari Lynx). > It is quiete easy and makes some fun :-)
In that case I'll rectify that and implement one in an Atmel micro. All I have to do now is work on understanding the set of Chip8 instructions. I've written compliers before so it shouldn't be too hard. Just need to keep watch of the size of the code. -- Wing Wong. Webpage: http://wing.ucc.asn.au
On Mon, 22 Mar 2004 10:10:44 +0000 (UTC), Wing Fong Wong
<wing@tartarusdontspamme.uwa.edu.au> wrote:

>42Bastian Schick <bastian42@yahoo.com> wrote: >> On Mon, 22 Mar 2004 02:39:26 +0000 (UTC), Wing Fong Wong >> <wing@tartarusdontspamme.uwa.edu.au> wrote: >> >>>Does anyone know if anyone has tried to implement a chip8 interpreter >>>in a small pic or atmel micro? >> >> Not one of these but on a 65C02 (Atari Lynx). >> It is quiete easy and makes some fun :-) >In that case I'll rectify that and implement one in an Atmel micro.
I guess that's a 8051 not ARM, but anyway...
>All I have to do now is work on understanding the set of Chip8 >instructions. I've written compliers before so it shouldn't be too >hard. Just need to keep watch of the size of the code.
the original interpreter was about 0x200 bytes large. What kind of display do you want to attach ? I guess LCD, so I'd suggest to go for a 128x64 pixel LCD and add the SuperChip8 opcodes as well. --- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !