summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
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
Diffstat (limited to 'apps')
-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)
char buf[32];
int button;
int usb_polarity;
+ int bitmask = *(unsigned short*)0x20000fc;
int rom_version = *(unsigned short*)0x20000fe;
if(PADR & 0x400)
@@ -156,6 +157,9 @@ bool dbg_hw_info(void)
snprintf(buf, 32, "ATA: 0x%x", ata_io_address);
lcd_puts(0, 3, buf);
+ snprintf(buf, 32, "Mask: 0x%04x", bitmask);
+ lcd_puts(0, 4, buf);
+
lcd_update();
button = button_get(true);