Class: Ti99
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
extended
Class Method Details
.default_background_colour ⇒ Object
55
56
57
|
# File 'lib/host_systems/Ti99.rb', line 55
def self.default_background_colour
PNG::Color.new(64,228,255,0xFF) end
|
.default_foreground_colour ⇒ Object
51
52
53
|
# File 'lib/host_systems/Ti99.rb', line 51
def self.default_foreground_colour
PNG::Color::Black
end
|
.default_screen_width ⇒ Object
31
32
33
|
# File 'lib/host_systems/Ti99.rb', line 31
def self.default_screen_width
40
end
|
.font_data_filename ⇒ Object
23
24
25
|
# File 'lib/host_systems/Ti99.rb', line 23
def self.font_data_filename
File.dirname(__FILE__) +'/ti99-font.bin'
end
|
.font_height ⇒ Object
43
44
45
|
# File 'lib/host_systems/Ti99.rb', line 43
def self.font_height
7
end
|
.font_width ⇒ Object
39
40
41
|
# File 'lib/host_systems/Ti99.rb', line 39
def self.font_width
8
end
|
.full_name ⇒ Object
11
12
13
|
# File 'lib/host_systems/Ti99.rb', line 11
def self.full_name
"Texas Instruments TI-99/4a"
end
|
.max_screen_width ⇒ Object
35
36
37
|
# File 'lib/host_systems/Ti99.rb', line 35
def self.max_screen_width
80
end
|
.pixels_between_characters ⇒ Object
47
48
49
|
# File 'lib/host_systems/Ti99.rb', line 47
def self.pixels_between_characters
1
end
|
.screen_rows ⇒ Object
27
28
29
|
# File 'lib/host_systems/Ti99.rb', line 27
def self.screen_rows
24
end
|
.start_track ⇒ Object
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
|