class RiSC16::VM::Addressable::IO

Defined in:

vm/vm.cr

Constant Summary

EOS = 65280_u16

Constructors

Instance Method Summary

Instance methods inherited from class RiSC16::VM::Addressable

read(address : UInt16) : UInt16 read, write(address : UInt16, value : UInt16) write

Constructor Detail

def self.new(segment : RiSC16::Spec::Segment::IO) #

[View source]

Instance Method Detail

def finalize #

[View source]
def override(read : ::IO, write : ::IO) #

[View source]
def read(address : Word) : Word #

[View source]
def size : UInt16 #

[View source]
def size=(size : UInt16) #

[View source]
def start : UInt16 #

[View source]
def start=(start : UInt16) #

[View source]
def write(address : Word, value : Word) #

[View source]