Modding the firmware?

Discuss mods, hacks, tweaks, etc.

Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.
Locked
dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Modding the firmware?

Post by dar »

Is there anybody out there that is modifying the b0x's firmware?

I'm a newbie when it comes to C programming but I try to track what does what and I have a friend who I hope can help me out a bit when I get stuck.
I made my first staggering steps into C territory today and swapped som button functions and leds just to try stuff out.

I would like to extend the range of pitch U/D in pattern edit and also make the RAS keys only work when they are held pressed.
...now I need to study som C!

(fantasy)
It would also be cool to make some changes to random pattern generation, maybe add some options to "shape" the random sequence by holding certain buttons down when pressing "chain" .
(/fantasy)

:)


/d

dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Post by dar »

Ok, nobody is interested I guess... ;)

I asked a friend to help me and after a little poking around and a few crashes...Voila!, now at least I have four octaves D/U and Accent and Slide active only when I hold them down in Pattern-mode!
I tried five octaves but that fkked it up pretty good

What a great machine, open source is sooo cool!
Thank you LadyAda!

/d

Jonnay
 
Posts: 142
Joined: Thu Jun 02, 2005 12:28 pm

Post by Jonnay »

You gada post your patch! ;)

dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Post by dar »

Jonnay wrote:You gada post your patch! ;)
How/Where? Should I post the changes in the C code or the whole .hex?
It is very small and simple changes.

dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Post by dar »

Another thought: How about a pattern copy-function in pattern edit mode?

The lines in pattern_edit.c that control where the scratchpad is saved is here:

// if they hit done, save buffer to memory
if (just_pressed(KEY_DONE)) {
if (in_stepwrite_mode) {
if (curr_pattern_index+1 < PATT_SIZE)
pattern_buff[curr_pattern_index+1] = 0xff;
stop_stepwrite_mode();
}
write_pattern(bank, patt_location);
}

If one would enter another value into patt_location would it then be saved somewhere else?
I'll give it a try someday.

adafruit
 
Posts: 12151
Joined: Thu Apr 06, 2006 4:21 pm

Post by adafruit »

you may want to post either the .hex or 'diffs' (theres a program called diff that makes diffs) so that people can patch a downloaded version of the source code.

dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Post by dar »

ladyada wrote:you may want to post either the .hex or 'diffs' (theres a program called diff that makes diffs) so that people can patch a downloaded version of the source code.
hi,

I looked att diff...I think i'll go with the .hex for now! :)
Where do I upload it?

Guest
 

Post by Guest »

theres a bunch of websites where you can get a small amount of webstorage for free. .hex files are rather small (couple K) so you should be just fine

User avatar
brandon daniel
 
Posts: 160
Joined: Sat Mar 12, 2005 12:46 am

Post by brandon daniel »

dar wrote:
ladyada wrote:you may want to post either the .hex or 'diffs' (theres a program called diff that makes diffs) so that people can patch a downloaded version of the source code.
hi,

I looked att diff...I think i'll go with the .hex for now! :)
Where do I upload it?
email me at [email protected], I can hook you up with info on a place to up it, and I can serve it for the masses.

dar
 
Posts: 17
Joined: Fri Jul 15, 2005 4:39 am

Post by dar »

Thanks! I have my own site, i was just wondering if there were some collective x0xb0x-place to put it.
I'll just test it a little bit more and then let you all have it!

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

Return to “x0xm0dz”