1
0
Fork 0
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:
Linus Nielsen Feltzing 2002-10-08 11:15:00 +00:00
parent 91b26f269a
commit 3cfc6ec252

View file

@ -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);