From cd4b5002fb1c6de5f81890255f74b11944ac873a Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sun, 12 Jul 2020 17:55:03 -0300 Subject: [PATCH] Add drafts for a full page on IDE tertiary/quaternary channels --- settings/peripherals.rst | 14 +++++--------- usage/ideterqua.rst | 33 +++++++++++++++++++++++++++++++++ usage/index.rst | 1 + 3 files changed, 39 insertions(+), 9 deletions(-) create mode 100644 usage/ideterqua.rst diff --git a/settings/peripherals.rst b/settings/peripherals.rst index 961f412..49e83a3 100644 --- a/settings/peripherals.rst +++ b/settings/peripherals.rst @@ -28,21 +28,17 @@ Selecting a controller is not usually necessary. The DTK controllers are useful The BIOS option ROM address used by the selected controller can be configured through the *Settings* button. +.. _ideterqua: + Tertiary / Quaternary IDE Controller ------------------------------------ -Add a third or fourth (respectively) IDE channel to the emulated machine, through a generic ISA or VLB IDE controller card. The following resources are used by the additional controllers: - -+----------+-------------+---------------+-----------+ -|Channel |Main I/O port|Status I/O port|Default IRQ| -+==========+=============+===============+===========+ -|Tertiary |0168h |036Eh |10 | -+----------+-------------+---------------+-----------+ -|Quaternary|01E8h |03EEh |11 | -+----------+-------------+---------------+-----------+ +Add a third or fourth (respectively) IDE channel to the emulated machine, through a generic ISA or VLB IDE controller card. The IRQ used by each controller can be configured through its respective *Settings* button. +.. note:: The tertiary and quaternary channels may require manual configuration of guest operating systems, and may not be bootable. See :doc:`../usage/ideterqua` for more information. + ISABugger --------- diff --git a/usage/ideterqua.rst b/usage/ideterqua.rst new file mode 100644 index 0000000..d1e0878 --- /dev/null +++ b/usage/ideterqua.rst @@ -0,0 +1,33 @@ +Tertiary and Quaternary IDE +=========================== + +The additional tertiary and quaternary IDE controllers, enabled through the :ref:`settings/peripherals:Tertiary / Quaternary IDE Controller` settings, may require manual configuration of guest operating systems, which is outlined in this page. They are also **not bootable**, except on machines equipped with MR BIOS. + +The following system resources are used by these additional controllers: + ++----------+-------------+---------------+---+ +|Channel |Main I/O port|Status I/O port|IRQ| ++==========+=============+===============+===+ +|Tertiary |0168h |036Eh |10 | ++----------+-------------+---------------+---+ +|Quaternary|01E8h |03EEh |11 | ++----------+-------------+---------------+---+ + +.. important:: While the IRQ for each channel can be changed through its respective *Settings* button on :ref:`settings/peripherals:Tertiary / Quaternary IDE Controller`, most operating systems do not allow IDE controllers to use custom IRQs. + +Windows NT (including 2000, XP and newer) +----------------------------------------- + +The Windows NT family will detect and enable both additional channels at installation time. + +Additionally, they can be enabled after the fact through the *Add New Hardware* control panel, by adding a *Generic IDE/ESDI Hard Disk Controller* device for each channel. Configuration 000x corresponds to the **tertiary** channel, while Configuration 000x corresponds to the **quaternary** channel. + +Linux +----- + +On kernels 2.6.19 and newer (after the switch to ``libata``), run the ``modprobe pata_legacy probe_all=1`` command as root to enable both additional channels. Consult your distribution's documentation on how to load that module on startup. + +On kernels older than 2.6.19 (before the switch to ``libata``), add the following parameters to the kernel command line to enable their respective channels: + +* **Tertiary:** ``ide2=0x168,0x36e,10`` (assuming IRQ 10) +* **Quaternary:** ``ide3=0x1e8,0x3ee,11`` (assuming IRQ 11) diff --git a/usage/index.rst b/usage/index.rst index bbe5361..82ff6fe 100644 --- a/usage/index.rst +++ b/usage/index.rst @@ -10,3 +10,4 @@ This section contains information on how to use 86Box and its emulated hardware gettingstarted machinespecific imageformats + ideterqua