Class: MicroCisc::Vm::EmptyDevice

Inherits:
Device
  • Object
show all
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

#id

Instance Method Summary collapse

Methods inherited from Device

#bank_index=, #banked?, #devices=, #handle_control_read, #handle_control_update, #read_control, #read_mem, #write_control, #write_mem

Constructor Details

#initializeEmptyDevice

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