summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-10-08 11:15:00 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-10-08 11:15:00 +0000
commit3cfc6ec2525ccdf52e4df01c86c5154a7886e7be (patch)
tree6198b8c15df1444aa20b25446d449f61883b84a1
parent91b26f269aa8aa54bc253af92db673a595eadb09 (diff)
downloadrockbox-3cfc6ec2525ccdf52e4df01c86c5154a7886e7be.tar.gz
rockbox-3cfc6ec2525ccdf52e4df01c86c5154a7886e7be.zip
More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2526 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index ed418e7667..65c3a7d6fe 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -136,6 +136,7 @@ bool dbg_hw_info(void)
136 char buf[32]; 136 char buf[32];
137 int button; 137 int button;
138 int usb_polarity; 138 int usb_polarity;
139 int bitmask = *(unsigned short*)0x20000fc;
139 int rom_version = *(unsigned short*)0x20000fe; 140 int rom_version = *(unsigned short*)0x20000fe;
140 141
141 if(PADR & 0x400) 142 if(PADR & 0x400)
@@ -156,6 +157,9 @@ bool dbg_hw_info(void)
156 snprintf(buf, 32, "ATA: 0x%x", ata_io_address); 157 snprintf(buf, 32, "ATA: 0x%x", ata_io_address);
157 lcd_puts(0, 3, buf); 158 lcd_puts(0, 3, buf);
158 159
160 snprintf(buf, 32, "Mask: 0x%04x", bitmask);
161 lcd_puts(0, 4, buf);
162
159 lcd_update(); 163 lcd_update();
160 164
161 button = button_get(true); 165 button = button_get(true);