forked from len0rd/rockbox
More HW info
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2526 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
91b26f269a
commit
3cfc6ec252
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue