···4141#define MAX_VOICES 24 /* Note: 24 midi channels is the minimum general midi spec implementation */
4242#endif /* CPU_PP */
43434444-#else /* Simulator requires 44100Hz, and we can afford to use more voices */
4444+#else /* Simulator requires 44100Hz, and we can afford to use more voices */
45454646#define SAMPLE_RATE SAMPR_44
4747#define MAX_VOICES 48
+1-1
bootloader/pb_vibe500.c
···7878 {
7979 /* Power off bit */
8080 if ((button_read_device()&BUTTON_POWER)!=0)
8181- GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL,0x80);
8181+ GPIO_CLEAR_BITWISE(GPIOB_OUTPUT_VAL,0x80);
8282 }
8383}
···6363 val = ((data[1] >> 4) << 8) | data[2]; /* position */
64646565 if (val > 0)
6666- {
6767- int scr_pos = val >> 8; /* split the scrollstrip into 16 regions */
6868- if ((old_pos<scr_pos)&&(old_pos!=-1)) int_btn = BUTTON_DOWN;
6969- if ((old_pos>scr_pos)&&(old_pos!=-1)) int_btn = BUTTON_UP;
7070- old_pos = scr_pos;
7171- }
6666+ {
6767+ int scr_pos = val >> 8; /* split the scrollstrip into 16 regions */
6868+ if ((old_pos<scr_pos)&&(old_pos!=-1)) int_btn = BUTTON_DOWN;
6969+ if ((old_pos>scr_pos)&&(old_pos!=-1)) int_btn = BUTTON_UP;
7070+ old_pos = scr_pos;
7171+ }
7272 else old_pos=-1;
7373 }
7474}
···9494 if (!hold_button)
9595 {
9696 /* Read Record, OK, C */
9797- state = GPIOA_INPUT_VAL;
9898- if ((state & 0x01)==0) buttons|=BUTTON_REC;
9999- if ((state & 0x40)==0) buttons|=BUTTON_OK;
100100- if ((state & 0x08)==0) buttons|=BUTTON_CANCEL;
9797+ state = GPIOA_INPUT_VAL;
9898+ if ((state & 0x01)==0) buttons|=BUTTON_REC;
9999+ if ((state & 0x40)==0) buttons|=BUTTON_OK;
100100+ if ((state & 0x08)==0) buttons|=BUTTON_CANCEL;
101101102102 /* Read POWER button */
103103- if ((GPIOD_INPUT_VAL & 0x40)==0) buttons|=BUTTON_POWER;
103103+ if ((GPIOD_INPUT_VAL & 0x40)==0) buttons|=BUTTON_POWER;
104104 }
105105 else return BUTTON_NONE;
106106 return buttons;
+3-3
firmware/target/arm/tcc77x/crt0.S
···48484949 The following two values are filled in by mktccboot.
5050 */
5151-of_entrypoint: .word 0 /* Saved entrypoint of original firmware*/
5252-bl_entrypoint: .word 0 /* Location in RAM of the start of our bootloader */
5353-5151+of_entrypoint: .word 0 /* Saved entrypoint of original firmware*/
5252+bl_entrypoint: .word 0 /* Location in RAM of the start of our bootloader */
5353+5454#else
5555// ldr pc, =start_loc /* jump to the main entry point */
5656 b start_loc
+7-7
firmware/target/arm/tms320dm320/crt0.S
···120120121121/* Exception handlers. Will be copied to address 0 after memory remapping */
122122 .section .vectors,"aw"
123123- b start
124124- b undef_instr_handler
125125- b software_int_handler
126126- b prefetch_abort_handler
127127- b data_abort_handler
128128- b reserved_handler
129129- b irq_handler
123123+ b start
124124+ b undef_instr_handler
125125+ b software_int_handler
126126+ b prefetch_abort_handler
127127+ b data_abort_handler
128128+ b reserved_handler
129129+ b irq_handler
130130 b fiq_handler
131131132132 .text