Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Flip8 v0.03 - Flash Chip8 emu Reply to this message
Posted bynewsdee
Posted on01/27/05 07:45 AM



> That's funny, I've just written a chip8/schip emu too, also based on Dave
> Winter's docs. But just in plain old C. All games are working great, so if
> you've got specific emulation core related problems, feel free to ask.

Well, since you're offering, could you give me some insight on how to handle the BCD storage of numbers? :-)

I'd also be curious to see your schip8 scrolling functions. I've made a couple and they're really slow (although that's Flash's fault mostly, incapable of taking 128x64).

Finally do you know if the "save/load to/from Hp48 flags" command is used? Is it needed for game logic or is it just to keep high scores and stuff? (this is to know if I have to store the info as a cookie or just keep it in memory).

> Say, could you provide a download link of Tapeworm and Chip8-logo and perhaps
> others that are not included with Dave Winter's emulator ? Because those are

I can see why, these are pure test programs. For example, look at the code for the chip8 logo:

In reply to:


00 e0 a2 48 60 00 61 1e 62 00 d2 02 d2 12 72 08 32 40 12 0a 60 00 61 3e 62 02 a2 4a d0 2e d1 2e 72 0e d0 2e d1 2e a2 58 60 0b 61 08 d0 1f 70 0a a2 67 d0 1f 70 0a a2 76 d0 1f 70 03 a2 85 d0 1f 70 0a a2 94 d0 1f 12 46 ff ff c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 c0 ff 80 80 80 80 80 80 80 80 80 80 80 80 80 ff 81 81 81 81 81 81 81 ff 81 81 81 81 81 81 81 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ff 81 81 81 81 81 81 ff 80 80 80 80 80 80 80 ff 81 81 81 81 81 81 ff 81 81 81 81 81 81 ff ff 00 00 00 00 00 00 00 00 00 00 00 00


Notice the string of "ff ff c0 c0" and "80 80"? That's the sprite data for the side bars and the "CHIP8" logo. So the program itself is roughly half of the code.

I can't remember where I've found them, it was a collection of programs with the "ch8" extension. There was also another logo program that draws the IBM logo, and other stuff I didn't try. I can't remember the source but here. I'll repost if I can find where they came from.

Tapeworm's title screen says 1999, so it was obviously a program written specifically for the HP48 calcs. I would guess that a lot of programs are available there that were seldom brought over to the PC. I believe I've seen a huge archive somewhere but that may be just my memory exaggerating David Winter's site :) [which has several chip8 and schip8 programs].

> (note to mod: chip8 roms are pd)

They're not even really ROMs, because they were -never- in a cart or any read-only memory chip or media in the first place. If anything, they're rAms at most :-)



[download a life]

-
Entire Thread
Subject  Posted byPosted On
*Flip8 v0.03 - Flash Chip8 emu  newsdee01/26/05 00:06 AM
.*Re: Flip8 v0.03 - Flash Chip8 emu  Jonemaan01/26/05 08:46 PM
...Re: Flip8 v0.03 - Flash Chip8 emu  newsdee01/27/05 07:45 AM
...*Re: Flip8 v0.03 - Flash Chip8 emu  Jonemaan01/27/05 10:13 AM
....*Re: Flip8 v0.03 - Flash Chip8 emu  Jonemaan01/27/05 10:18 AM
.....*Re: Flip8 v0.03 - Flash Chip8 emu  Jonemaan01/27/05 10:21 AM
......*--moving to emu programming--  newsdee01/28/05 00:16 AM