Class: MicroCisc::Vm::EmptyDevice
- Defined in:
- lib/micro_cisc/vm/empty_device.rb
Constant Summary
Constants inherited from Device
Device::TYPE_BLOCK_IO, Device::TYPE_BLOCK_MEMORY, Device::TYPE_HID, Device::TYPE_INVALID, Device::TYPE_PROCESSOR, Device::TYPE_SERIAL, Device::TYPE_TERMINAL
Instance Attribute Summary
Attributes inherited from Device
Instance Method Summary collapse
-
#initialize ⇒ EmptyDevice
constructor
A new instance of EmptyDevice.
Methods inherited from Device
#bank_index=, #banked?, #devices=, #handle_control_read, #handle_control_update, #read_control, #read_mem, #write_control, #write_mem
Constructor Details
#initialize ⇒ EmptyDevice
Returns a new instance of EmptyDevice.
4 5 6 |
# File 'lib/micro_cisc/vm/empty_device.rb', line 4 def initialize super(0, 0, 0) end |