Firmware Test - Fix MIDI Play mode bug, add blinking LEDs

x0x0x0x0x0x

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
User avatar
chairman meow
 
Posts: 56
Joined: Sat Jul 30, 2005 8:48 pm

Firmware Test - Fix MIDI Play mode bug, add blinking LEDs

Post by chairman meow »

I believe I have found and fixed a bug in MIDI play mode causing it to play the wrong note. If you are bored, you can test this out. As a reward, this patch also turns on LEDs for MIDI play mode, so you can actually see what you're doing (and verify that you're really playing the right note).

The bug and patch:

https://sourceforge.net/tracker/index.p ... tid=733408

Download firmware .hex file and .diff to examine:

http://gl1tch.com/~lukewarm/x0xb0x/firmware/

User avatar
controlvoltage
 
Posts: 242
Joined: Tue Aug 09, 2005 12:17 am

Post by controlvoltage »

Hello there!

Thanks for your work...
I have x0xb0x_midiplay.diff,

but I don't know how to
apply with "patch < x0xb0x_midiplay_fix.hex"
a little help with CVS navigation/interaction would be very helpful for the hacking-challenged. thanks!

User avatar
chairman meow
 
Posts: 56
Joined: Sat Jul 30, 2005 8:48 pm

Oops

Post by chairman meow »

Err, that's what happens when I type instructions at 4am? The .hex file is a complete, built firmware. You can install it with JAvrProg or c0ntr0l like you would any other firmware.

The .diff is a "unified diff" of the changes I made against the code in CVS. The .diff is there for people to review, as it lets you see exactly what changes I made. If LadyAda likes it, or if you'd like to apply it against your own local CVS repository, you can use the 'patch' command to apply it.

The patch command should have said this:

Code: Select all

patch < x0xb0x_midiplay.diff
But if you just want to try it, all you need is the firmware .hex file to bootload to your x0xb0x.

User avatar
controlvoltage
 
Posts: 242
Joined: Tue Aug 09, 2005 12:17 am

Post by controlvoltage »

Ah-so!

I understand now, thanks. :)

Locked
Please be positive and constructive with your questions and comments.

Return to “General x0xing”