Hacking the Firmware

To get started on hacking the firmware, you will need some software first. See FirmWareDevelopment for install instructions.

See the MicroProcessor page for a list of inputs/output ports.

Files and Descriptions

  • compcontrol.c : ComputerControlMode
  • delay.c : Timer Helper functions
  • dinsync.c :
  • eeprom.c :
  • keyboard.c : KeyboardMode
  • led.c :
  • main.c : Main initialization and helper functions
  • midi.c :
  • pattern_edit.c :
  • pattern_play.c : Playback of pattern OR track
  • switch.c :
  • synth.c : Send Note, Rest, Accent or Slide to Synth
  • track_edit.c :

Important functions/macros

Here is a list of important functions and macros that you need to know to understand what is happening with the firmware:

Function Description Arguments
cbi Clear Bit at Port port #, bit #
sbi Set Bit at Port port #, bit #
cli Turn Off Interupts
sei Turn On Interupts

CategoryFirmware

 
x0x/firmwarehacking.txt · Last modified: 2007/12/03 00:11
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki