User guide

1
Installing and Configuring Enhanced OS-9
Enhanced OS-9 for X86 PCAT 89
while in MWOS/OS9000/80386/PORTS/PCAT/RBF/RB1003/config.des
the portion of interest is
/*
* Device specific defines
*
* ds_idetype = IDE interface type
* IDE_TYPE_STANDARD
* IDE_TYPE_PCI
* IDE_TYPE_PCMCIA
*
* ds_polled = IDE_POLLED
* IDE_INTERRUPTS
*
* ds_altstat = HD_DEFAULT_ALTSTAT (Standard IDE offset)
* HD_PCMCIA_ALTSTAT (PCMCIA IDE offset)
*
* ds_timeout = Drive ready timeout in seconds.
* IDE specification allows for up to
* 30 seconds. We will allow the max here.
* Users are free to reduce this amount
* if desired. PCMCIA IDE FLASH type cards
* require only a few miliseconds. Rotating
* devices will require more time.
*
*/
#define IDE_TYPE_STANDARD 0
#define IDE_TYPE_PCI 1
#define IDE_TYPE_PCMCIA 2
#define IDE_INTERRUPTS 0
#define IDE_POLLED 1
#define HD_DEFAULT_ALTSTAT 0x0206
#define HD_PCMCIA_ALTSTAT 0xe
init dev_specific {
#if defined(RB1003_SPEC_IO_ADDRESS)
ds_idetype = IDE_TYPE_PCMCIA;
ds_polled = IDE_POLLED;
ds_altstat = HD_PCMCIA_ALTSTAT;
ds_timeout = 30;
#else
ds_idetype = IDE_TYPE_STANDARD;
ds_polled = IDE_INTERRUPTS;
ds_altstat = HD_DEFAULT_ALTSTAT;