Class: Wardite::MemorySection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite/load.rb

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeMemorySection

Returns a new instance of MemorySection.



42
43
44
45
46
47
# File 'lib/wardite/load.rb', line 42

def initialize
  self.name = "Memory"
  self.code = 0x5

  @limits = []
end

Instance Attribute Details

#limitsObject

: Array[[Integer, Integer|nil]]



39
40
41
# File 'lib/wardite/load.rb', line 39

def limits
  @limits
end