Class HGR
In: lib/HGR.rb
Parent: Object
HGR PNG dot/f_9.png

Methods

Constants

PALLETE_MODES = [:white,:green,:amber,:colour]
PALLETE = { :white=>PNG::Color::White, :green=>PNG::Color.new(0x00, 0x99, 0x00, 0xFF), :amber=>PNG::Color::Orange
HGR_BLACK = PNG::Color::Black #color=0,4   colours cribbed from groups.google.com.au/group/comp.sys.apple2/browse_thread/thread/b9aa36ead6935c42/faa0f4df3e89060f
HGR_GREEN = PNG::Color.new(0x2F,0xB8,0x1F,0xFF)
HGR_VIOLET = PNG::Color.new(0xC8,0x47,0xE4,0xFF)
HGR_WHITE = PNG::Color::White #color=3,7
HGR_ORANGE = PNG::Color.new(0xC7,0x70,0x28,0xFF)
HGR_BLUE = PNG::Color.new(0x30,0x8F,0xE3,0xFF)
HGR_COLS = 40*7
HGR_ROWS = 8*8*3
SCALE = 2

Public Class methods

HGR screen is 8192 bytes stored at either $2000 (page 1) or $4000 (page 2)

[Validate]