On Mon, Oct 08, 2007 at 03:27:20AM +0200, echelon@free.fr wrote:
for (i=0; i<0x100; i++) { io_val = inb(io_addr); printf(" %.8x : %.8x\n", io_addr, io_val); io_addr++; }
This can also be done with:
dd if=/dev/port bs=1 skip=0x1000 count=256|xxd -c1
but it does not print the actual port, only the offset.
//Peter