Class: AcornBBC

Inherits:
HostSystem show all
Defined in:
lib/host_systems/AcornBBC.rb

Constant Summary collapse

@@symbols =
nil

Constants inherited from HostSystem

HostSystem::MAX_SCREENDUMP_LINES

Class Method Summary collapse

Methods inherited from HostSystem

all_host_systems, default_background_colour, default_foreground_colour, default_screen_width, font_data, font_height, font_width, hex_dump, line_break_chars, max_screen_width, pixels_between_characters, possible_file_systems, s_to_ascii, screen_rows, to_ascii, to_screendump

Methods included from SubclassTracking

extended

Class Method Details

.disassemble(buffer, start_address = 0) ⇒ Object



26
27
28
29
# File 'lib/host_systems/AcornBBC.rb', line 26

def self.disassemble(buffer,start_address=0)
  require 'D65'
  D65.disassemble(buffer,start_address,symbols)  
end

.full_nameObject



11
12
13
# File 'lib/host_systems/AcornBBC.rb', line 11

def self.full_name
    "Acorn BBC"
end

.start_trackObject



16
17
18
# File 'lib/host_systems/AcornBBC.rb', line 16

def self.start_track
    0
end

.symbolsObject



21
22
23
24
# File 'lib/host_systems/AcornBBC.rb', line 21

def self.symbols
  @@symbols=YAML::load(File.open(File.dirname(__FILE__)+"/acorn_symbols.yaml")) if @@symbols.nil?
  @@symbols
end