This shows you the differences between two versions of the page.
x0x:firmwarehacking [2016/01/28 18:05] |
x0x:firmwarehacking [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== 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 |