Class: Ti99

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

Constant Summary

Constants inherited from HostSystem

HostSystem::MAX_SCREENDUMP_LINES

Class Method Summary collapse

Methods inherited from HostSystem

all_host_systems, font_data, hex_dump, line_break_chars, possible_file_systems, s_to_ascii, to_screendump

Methods included from SubclassTracking

extended

Class Method Details

.default_background_colourObject



55
56
57
# File 'lib/host_systems/Ti99.rb', line 55

def self.default_background_colour
  PNG::Color.new(64,228,255,0xFF)	#cyan
end

.default_foreground_colourObject



51
52
53
# File 'lib/host_systems/Ti99.rb', line 51

def self.default_foreground_colour  
    PNG::Color::Black
end

.default_screen_widthObject



31
32
33
# File 'lib/host_systems/Ti99.rb', line 31

def self.default_screen_width
  40
end

.font_data_filenameObject



23
24
25
# File 'lib/host_systems/Ti99.rb', line 23

def self.font_data_filename
File.dirname(__FILE__) +'/ti99-font.bin'
end

.font_heightObject



43
44
45
# File 'lib/host_systems/Ti99.rb', line 43

def self.font_height
  7
end

.font_widthObject



39
40
41
# File 'lib/host_systems/Ti99.rb', line 39

def self.font_width
  8
end

.full_nameObject



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

def self.full_name
    "Texas Instruments TI-99/4a"
end

.max_screen_widthObject



35
36
37
# File 'lib/host_systems/Ti99.rb', line 35

def self.max_screen_width
  80
end

.pixels_between_charactersObject



47
48
49
# File 'lib/host_systems/Ti99.rb', line 47

def self.pixels_between_characters
  1
end

.screen_rowsObject



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

def self.screen_rows
  24
end

.start_trackObject



15
16
17
# File 'lib/host_systems/Ti99.rb', line 15

def self.start_track
    0
end

.to_ascii(b) ⇒ Object



19
20
21
# File 'lib/host_systems/Ti99.rb', line 19

def self.to_ascii(b)    
  b.chr
end