summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-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 ed418e7..65c3a7d 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);