JohnEarnest / Octo

A Chip8 IDE
MIT License
679 stars 55 forks source link

Is it possible to extend XO opcodes with buzzer remaining value? #23

Closed whoozle closed 8 years ago

whoozle commented 8 years ago

v0 := delay works, but v0 := buzzer does not :(

JohnEarnest commented 8 years ago

Well, anything is possible. :)

In the original Chip-8 instruction set, buzzer is write-only. I've tried to design the XO-Chip extensions to provide as much power with as few modifications as possible to basic system. Since delay and buzzer count down in lockstep at 60hz, it seems to me that you can use the delay timer in most situations where you might want to read from the buzzer timer. Would that work for the application you have in mind?

whoozle commented 8 years ago

Yes, thank you! :)