schnej7 / chip-8-emulator

A web based chip-8 emulator.
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Space Invaders doesn't work. #3

Closed schnej7 closed 12 years ago

schnej7 commented 12 years ago

Space invaders doesn't work. It looks like there is an opcode that doesn't get executed quite right and ends up corrupting the memory.

schnej7 commented 12 years ago

I think it still doesn't work. Check out how it plays here http://newsdee.com/flip8/. It seems like there are cycles devoted to moving the player that are not getting executed.

kueblc commented 12 years ago

I compared the runtime execution of the linked emulator and ours, and it is virtually identical. I do not believe it is a missing opcode, rather I think the delay_timer could be too fast for our execution speed. The INVADERS AI runs when delay_timer === 0 which locks up the UI for a second. If the AI runs too frequently, the UI seems unresponsive. Shall we shoot for 60Hz? http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#2.5

schnej7 commented 12 years ago

Sounds good

Jerry Schneider Schnej7@rpi.edu

Sent from my IBM BlueGene

----- Reply message ----- From: "Colin Kuebler" notifications@github.com To: "schnej7/Atari-2600-emulator" Atari-2600-emulator@noreply.github.com Cc: "Jerome Schneider" schnej7@rpi.edu Subject: [Atari-2600-emulator] Space Invaders doesn't work. (#3) Date: Thu, Aug 30, 2012 7:58 pm I compared the runtime execution of the linked emulator and ours, and it is virtually identical. I do not believe it is a missing opcode, rather I think the delay_timer could too fast for our execution speed. The INVADERS AI runs when delay_timer === 0 which locks up the UI for a second. If the AI runs too frequently, the UI seems unresponsive. Shall we shoot for 60Hz? http://devernay.free.fr/hacks/chip8/C8TECH10.HTM#2.5

Reply to this email directly or view it on GitHub.