On 3/25/2006 at 1:47 PM Fred Cisin wrote:
Is there a way in software to determine whether that is
present v a
conventional 80186?
Hmmm, maybe. The problem is the "pull the hole in after yourself"
relocation mechanism of the peripheral control block. Assuming that the
startup code in the BIOS didn't fool with the relocation register, you
could just read the contents of the control block starting at I/O address
FF00. You could also search for it in I/O space by this method:
unsigned k;
for ( k = 0; k < 256; k++)
{
if ( (inpw( (k << 8) + 254) & 0xfff) == k)
printf( "Looks like the control block starts at I/O address %x\n", k <<
8);
}
You could also search memory space in much the same way, if the BIOS has
decided to relocate it to memory space instead.
If you find it, then you can twiddle the onboard peripherals to see what
you've got. My guess is that the Hornet won't have the 186-style timers
or PIC.
Cheers,
Chuck