mirror of
https://github.com/86Box/docs.git
synced 2026-02-22 01:25:34 -07:00
Flush some pending changes
This commit is contained in:
@@ -138,7 +138,7 @@ Any given I/O port can have an **unlimited** amount of I/O handlers, such that:
|
||||
|
||||
Read callbacks can effectively return "don't care" (without interfering with other handlers) by returning a value with all bits set: ``0xff`` for ``inb``, ``0xffff`` for ``inw`` or ``0xffffffff`` for ``inl``.
|
||||
|
||||
.. note:: The same callback fallback rules specified above also apply with multiple handlers. Handlers without valid callbacks for the operation's type and width are automatically skipped.
|
||||
.. note:: The same callback fallback rules specified above also apply with multiple handlers. Handlers without callbacks for the operation's type and (same or lower) width are automatically skipped.
|
||||
|
||||
I/O traps
|
||||
---------
|
||||
|
||||
@@ -6,7 +6,7 @@ PCI
|
||||
Adding a device
|
||||
---------------
|
||||
|
||||
PCI devices can be added with the ``pci_add_card`` function in the device's ``init`` callback. A slot is :ref:`automatically selected <dev/api/pci:Slot types>` according to the ``add_type``; if the emulated machine runs out of PCI slots, a **DEC 21150** PCI-PCI bridge is automatically deployed to add 9 more slots.
|
||||
PCI devices can be added with the ``pci_add_card`` function in the device's ``init`` callback. A PCI slot is :ref:`automatically selected <dev/api/pci:Slot types>` for the device according to the ``add_type``; if the emulated machine runs out of slots, a **DEC 21150** PCI-PCI bridge is automatically deployed to add 9 more slots, and new devices are placed in the secondary PCI bus under it.
|
||||
|
||||
.. container:: toggle
|
||||
|
||||
|
||||
Reference in New Issue
Block a user