The 82077 device implements the functionality of the Intel® 82077 floppy controller together with up to four disk drives. There can usually be two floppy controllers in a PC system, the first and the secondary. While a controller can have four drives connected to it, most BIOSes only support two drives.
conf_object, log_object, io_memory
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
irq_dev
-
Optional attribute;
read/write access; type:
o|n
Interrupt device, implementing the simple_interrupt interface.
-
dma_dev
-
Required attribute;
read/write access; type:
o
DMA device, implementing the legacy_dma interface.
-
dma_channel
-
Required attribute;
read/write access; type:
i
DMA channel.
-
irq_level
-
Required attribute;
read/write access; type:
i
Interrupt level.
-
state
-
Optional attribute;
read/write access; type:
i
Floppy command state. Idle=0, Command=1, Execute=2, Result=3.
-
interrupt_pin
-
Optional attribute;
read/write access; type:
i
Interrupt request status.
-
enabled
-
Optional attribute;
read/write access; type:
i
Controller enable flag.
-
dma_enabled
-
Optional attribute;
read/write access; type:
i
DMA enable flag.
-
drive_select
-
Optional attribute;
read/write access; type:
i
Currently selected drive.
-
receive_ready
-
Optional attribute;
read/write access; type:
i
Controller is ready to receive data (main status bit 7).
-
direction_cpu
-
Optional attribute;
read/write access; type:
i
Data transfer direction (main status bit 6).
-
command_busy
-
Optional attribute;
read/write access; type:
i
Command busy (main status bit 4).
-
fifo_enabled
-
Optional attribute;
read/write access; type:
i
FIFO enable flag.
-
fifo_threshold
-
Optional attribute;
read/write access; type:
i
FIFO threshold.
-
poll_enabled
-
Optional attribute;
read/write access; type:
i
Polling mode enable flag.
-
poll_change
-
Optional attribute;
read/write access; type:
i
Polling change detected.
-
precomp
-
Optional attribute;
read/write access; type:
i
Precompensation.
-
cmd_id
-
Optional attribute;
read/write access; type:
i
Currently executing command.
-
cmd_len
-
Optional attribute;
read/write access; type:
i
Actual length of current command.
-
cur_cmd_len
-
Optional attribute;
read/write access; type:
i
Number of command bytes received.
-
res_len
-
Optional attribute;
read/write access; type:
i
Number of result bytes.
-
cur_res_pos
-
Optional attribute;
read/write access; type:
i
Current result read position.
-
implied_seek
-
Optional attribute;
read/write access; type:
i
Implied seek enable flag.
-
step_rate
-
Optional attribute;
read/write access; type:
i
Step rate interval.
-
head_load
-
Optional attribute;
read/write access; type:
i
Head load time.
-
head_unload
-
Optional attribute;
read/write access; type:
i
Head unload time.
-
st0
-
Optional attribute;
read/write access; type:
i
Status register 0.
-
st1
-
Optional attribute;
read/write access; type:
i
Status register 1.
-
st2
-
Optional attribute;
read/write access; type:
i
Status register 2.
-
drives
-
Optional attribute;
read/write access; type:
[o]|[oo]|[ooo]|[oooo]|n
((drive)*). List of up to four floppy drives.
-
cmd
-
Optional attribute;
read/write access; type:
[i{17}]
(b0, ..., b16). Current command.
-
res
-
Optional attribute;
read/write access; type:
[i{15}]
(b0, ..., b14). Result bytes.
82077