x0x:firmwarehacking
|
|
— |
x0x:firmwarehacking [2016/01/28 18:05] (current) |
| ===== 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 |
/home/ladyada/public_html/wiki/data/pages/x0x/firmwarehacking.txt · Last modified: 2016/01/28 18:05 (external edit)