Difference between revisions of "Guides:MAME - Driver - ct486"

From Wah!ki
Jump to navigation Jump to search
Line 20: Line 20:
 
! Device Type !! Slot Option !! Device Option
 
! Device Type !! Slot Option !! Device Option
 
|-
 
|-
| Floppy Drive || -flop1 ${FLOPPATH}/${FLOP1} || None
+
| Floppy Drive || - || <code>-flop1 ${FLOPPATH}/${FLOP1}</code>
 
|-
 
|-
| IDE HDD Primary || -board3:ide:ide:0 hdd || -hard1 ${HDDPATH}/${HARD1}"
+
| IDE HDD Primary || <code>-board3:ide:ide:0 hdd || <code>-hard1 ${HDDPATH}/${HARD1}</code>
 
|-
 
|-
| IDE CDROM Secondary || -board3:ide:ide:1 cdrom || -cdrom ${CDPATH}/${CDROM}
+
| IDE CDROM Secondary || <code>-board3:ide:ide:1 cdrom</code> || </code>-cdrom ${CDPATH}/${CDROM}</code>
 
|}
 
|}
 
  
 
as of MAME 229, the isa ide slot device (card) causes a hdd controller failure on boot ''(haven't worked out why yet)''. if you want to try it out the format is (attached device type will be cdrom in this example).  
 
as of MAME 229, the isa ide slot device (card) causes a hdd controller failure on boot ''(haven't worked out why yet)''. if you want to try it out the format is (attached device type will be cdrom in this example).  
  
Noting that the cli device chain provides each option as you build it up, emulated IDE isa card
+
Noting that the cli device chain provides each additional option as you build it, e.g. for an emulated IDE isa card
  
-<slot> <device>  
+
The theory is
-<slot>:<device>:<bus>:<id> <attached device type>
+
# Plug in the device card type to the isa slot <code>-<slot> <device></code> enabling device endpoints
-cdrom <path/to/cdimage>
+
# Define the device endpoint and attach a device type <code>-<slot>:<device>:<bus>:<id> <attached device type></code>
 +
# Attach media to the device type <code>-cdrom <path/to/cdimage></code>

Revision as of 20:51, 10 March 2021

Some notes on the ct486 driver

HDD Geometries

These geoms are for Type 47 (custom) drives

Size CHS SHA
4GB 8332,16,63 xxxxx

nvram

When/if you change out the CHD underneath this machine you will need to reconfigure the HDD Type 47 geometry to match, alternatively backup the nvram file in ct486 folder and re-instate it with the machine you are booting

Slot Devices =

Some useful slot devices

Device Type Slot Option Device Option
Floppy Drive - -flop1 ${FLOPPATH}/${FLOP1}
IDE HDD Primary -board3:ide:ide:0 hdd -hard1 ${HDDPATH}/${HARD1}
IDE CDROM Secondary -board3:ide:ide:1 cdrom -cdrom ${CDPATH}/${CDROM}

as of MAME 229, the isa ide slot device (card) causes a hdd controller failure on boot (haven't worked out why yet). if you want to try it out the format is (attached device type will be cdrom in this example).

Noting that the cli device chain provides each additional option as you build it, e.g. for an emulated IDE isa card

The theory is

  1. Plug in the device card type to the isa slot -<slot> <device> enabling device endpoints
  2. Define the device endpoint and attach a device type -<slot>:<device>:<bus>:<id> <attached device type>
  3. Attach media to the device type -cdrom <path/to/cdimage>