Class: Badline::VIC::GraphicsMode::Bitmap
- Inherits:
-
Object
- Object
- Badline::VIC::GraphicsMode::Bitmap
- Includes:
- Hires
- Defined in:
- lib/badline/vic/graphics_mode.rb
Instance Method Summary collapse
Methods included from Hires
Instance Method Details
#decode(screencode, _color, cell, row, seq) ⇒ Object
100 101 102 103 104 105 |
# File 'lib/badline/vic/graphics_mode.rb', line 100 def decode(screencode, _color, cell, row, seq) data = seq.bank.peek(seq.registers.bitmap_base + (cell * 8) + row) foreground = (screencode >> 4) & 0x0f background = screencode & 0x0f paint_hires(data, foreground, background, seq) end |