Rockbox

Tasklist

FS#472 - Chip8 emulator

Attached to Project: Rockbox
Opened by Alex Wenger (blueloop) - Friday, 25 October 2002, 08:07 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To Jörg Hohensohn (hohensoh)
Operating System
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The Chip8-Emulator allows you to play many old chip8
games found on the Net....
It modifies rockbox, so fileendings *.ch8 wil be recognised
as chip8 games

ToDo:
- less Memory
- more speed
- load individual keymapping for games
(Chip8 Maschines have 16Keys, some games use
unusual Key and ar not playable yet)
- Sound (more some sort of Beep)
- SCHIP Emulation for more Games (but the display is a
bit small, but you can modifiy CHIP-Games, there are
free Disassembler/Assembler)
- make library of tested Games and put some
gamename.txt files with infos along it

Blueloop (a.wenger@gmx.de)
   chip8.zip (18.6 KiB)
This task depends upon

Closed by  Jörg Hohensohn (hohensoh)
Friday, 31 October 2003, 12:38 GMT
Reason for closing:  Accepted
Additional comments about closing:  Logged In: YES
user_id=741001

I ported the emulator to be a plugin, it's in cvs now. I leave
this open for a while as a resource to get the .ch8 files and
for the ToDo's.
Comment by Ronnie Duong (rdizzle3) - Tuesday, 24 December 2002, 05:04 GMT

how did you get this to work? I don't understand what to do.
Comment by Anonymous Submitter - Monday, 30 December 2002, 07:45 GMT

please tell me how to get this to work
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 30 December 2002, 17:51 GMT

Once and for all:

The patches in this patch tracker are source code changes
sent TO the Rockbox team FROM fellow developers. They are
not intended for end users.

If you don't understand how to apply this patch, then the
patch is not for you.
Comment by Huw Smith (huwsy) - Tuesday, 14 January 2003, 15:05 GMT

Has anyone got this to work, as I have tried compiling it in
with rockbox but I get the following error. As the code is
trying to set


lcd_framebuffer[24+x][y] = w;


which fails as lcd_framebuffer apears to be a function which
returns a value as aposed to being able to accept a sent
value.




/home/rockbox/build -lrockbox -lgcc -L../firmware
-T../firmware/app.lds
-Wl,-Map,/home/rockbox/build/archos.map


/home/rockbox/build/recorder/chip8.o: In function
`chip8_update_display':


/home/rockbox/build/recorder/chip8.o(.text+0x660): undefined
reference to `lcd_framebuffer'


collect2: ld returned 1 exit status


make[1]: *** [/home/rockbox/build/archos.elf] Error 1


make[1]: Leaving directory `/home/rockbox/apps'


make: *** [apps] Error 2


Comment by Anonymous Submitter - Wednesday, 15 January 2003, 02:02 GMT

Could you compile rockbox 1.4 and rockbox-daily-200301XX
with the
chip8 mod and then post them?

becuz i gett the following error. As
the code is compileing
"lcd_framebuffer[24+x][y] =
w;"
Too

Calen
Comment by Linus Nielsen Feltzing (linusnielsen) - Wednesday, 15 January 2003, 13:37 GMT

For heaven's sake, STOP ASKING US TO COMPILE THIS PATCH FOR
YOU!!!

I repeat:

This patch is here for us developers to test and later on
include in Rockbox, if we feel it is interesting enough. It
is NOT intended for users. If you manage to use it, fine,
but don't bother us with support questions on some code that
WE DIDN*T EVEN WRITE.

Go ask the guy who wrote the patch.
Comment by Huw Smith (huwsy) - Wednesday, 15 January 2003, 18:23 GMT

No i found what i missed out. I missed part of the diff file when
adding it.
Comment by Anonymous Submitter - Saturday, 18 January 2003, 21:24 GMT

blueloop: could you please compile this patch for us? there
have been many request for this, and linus said to ask you,
becaue he doesnt want to do it. Can you?


Thanks
Comment by Anonymous Submitter - Wednesday, 29 January 2003, 03:10 GMT

yes, could someoen please compile this?

Thanks
Comment by Anonymous Submitter - Wednesday, 05 February 2003, 00:10 GMT

Yes, I second that request - it would be most appreciated!
Comment by Anonymous Submitter - Saturday, 01 March 2003, 02:27 GMT

Hello

How add the three parts of the diff file in their respectively
files?

thanx
Comment by Anonymous Submitter - Wednesday, 12 March 2003, 13:19 GMT

jkou
Comment by Anonymous Submitter - Monday, 16 June 2003, 04:26 GMT

looks really nice, now if only i could get a compiled fm
recorder version....
Comment by Anonymous Submitter - Monday, 16 June 2003, 05:05 GMT

a nice person compiled and dcc'd it to me compiled
heres a link (fm recorder version)

http://www.kitejumping.org/ch8ajbrec.ajz

<a
href="http://www.kitejumping.org/ch8ajbrec.ajz">linkified</a>
works really good, just have to squint to view the ball in
breakout
Comment by Anonymous Submitter - Wednesday, 25 June 2003, 06:01 GMT

does that only work with the fm recorder, or will it work with
the regular recorder as well?

Thanks
Comment by Blue Chip (bluechip) - Friday, 27 June 2003, 07:01 GMT

Alex,
You wanted more speed, so I thought I would tweak your
excellent code as such ...I have found a couple of interesting instruction
implementations ...could you tell me what you used as a reference to the
instruction set ...the only ref I have found
is:
http://members.aol.com/autismuk/chip8/chip8def.htm
...and
this disagrees with some of your code.
I would normally suspect your
code (no disrespect) but the thing it that your code clearly seems to work
(afaik), so I am baffled!
Cheers,
Bluechip
Comment by Lee Pilgrim (diddystar5) - Friday, 25 July 2003, 01:03 GMT

I could see this working like the viewer plugin. Would you
change it to work like this please?
Comment by Anonymous Submitter - Saturday, 11 October 2003, 16:52 GMT

Can this work on the Recorder?

I dont know anything in programming or all that stuff, and Im
interested in the cool games, can anyone email me the chip8
emulator to my email: golot@dr.com
Please send me it...

Thanks, Run
Comment by Anonymous Submitter - Thursday, 30 October 2003, 13:35 GMT

It works quite well on the recorder. the only issue is that the
fast moving little objets are soooooooooo hard to follow.
Comment by Jörg Hohensohn (hohensoh) - Friday, 31 October 2003, 12:38 GMT

I ported the emulator to be a plugin, it's in cvs now. I leave
this open for a while as a resource to get the .ch8 files and
for the ToDo's.
Comment by Anonymous Submitter - Monday, 15 December 2003, 06:33 GMT

for some reason i cant seem to get the chip8 games to work
on my recorder. the game i select loads up and i get some
text, then i see two vertical lines and nothing else. no
buttons work but the off key. what am i doing wrong?
Comment by Anonymous Submitter - Saturday, 28 February 2004, 18:23 GMT

when i load chip8 games, i only see 2 bars and no other
buttons work except for off. whats wrong?

Loading...