summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-11-07 05:30:31 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-11-07 05:30:31 +0000
commit5db6b51759fa1b2e9595a177414874fc928d5180 (patch)
tree5cc59f4a3a9dd1499c233beaa714015618064f6e /bootloader
parent22e3d5694030a919402a77c31178a60ce3839194 (diff)
downloadrockbox-5db6b51759fa1b2e9595a177414874fc928d5180.tar.gz
rockbox-5db6b51759fa1b2e9595a177414874fc928d5180.zip
Get the user timer working properly consequentially fixing doom without a hack.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15510 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rwxr-xr-xbootloader/mrobe500.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c
index 3663612c74..ede05aa25c 100755
--- a/bootloader/mrobe500.c
+++ b/bootloader/mrobe500.c
@@ -109,6 +109,7 @@ void mrdebug(void)
109 touchpad_calibrate_screen(); 109 touchpad_calibrate_screen();
110 use_calibration(true); 110 use_calibration(true);
111#endif 111#endif
112
112 while(true) 113 while(true)
113 { 114 {
114#if 0 115#if 0
@@ -144,14 +145,14 @@ void mrdebug(void)
144// tsc2100_read_values(&x, &y, &z1, &z2); 145// tsc2100_read_values(&x, &y, &z1, &z2);
145// printf("x: %04x y: %04x z1: %04x z2: %04x", x, y, z1, z2); 146// printf("x: %04x y: %04x z1: %04x z2: %04x", x, y, z1, z2);
146// printf("tsadc: %4x", tsc2100_readreg(TSADC_PAGE, TSADC_ADDRESS)&0xffff); 147// printf("tsadc: %4x", tsc2100_readreg(TSADC_PAGE, TSADC_ADDRESS)&0xffff);
147// printf("current tick: %04x", current_tick); 148 printf("current tick: %04x", current_tick);
148// printf("Address: 0x%08x Data: 0x%08x", address, *address); 149 printf("Address: 0x%08x Data: 0x%08x", address, *address);
149// printf("Address: 0x%08x Data: 0x%08x", address+1, *(address+1)); 150 printf("Address: 0x%08x Data: 0x%08x", address+1, *(address+1));
150// printf("Address: 0x%08x Data: 0x%08x", address+2, *(address+2)); 151 printf("Address: 0x%08x Data: 0x%08x", address+2, *(address+2));
151// // tsc2100_keyclick(); /* doesnt work :( */ 152// // tsc2100_keyclick(); /* doesnt work :( */
152// line -= 6; 153// line -= 6;
153// } 154// }
154#if 1 155#if 0
155 if (button&BUTTON_TOUCHPAD) 156 if (button&BUTTON_TOUCHPAD)
156 { 157 {
157 if (button&BUTTON_REL) 158 if (button&BUTTON_REL)