analog/v2-analog-rev1/vga/vgabuf.h
David Kuder 0835003caa Build 0159
Progress on PCPI mode bug fixes. PCPI mode is now working again, but the config interface is still broken enough to prevent the use of the config utility while in this mode.. Sending the FORMAT command from the monitor rom returns the card to defaults.
Replace n with the slot number the card is installed in:

]CALL -151
*CnF0:46 4F 52 4D 41 54 00 00

Correction of mousetext / inverse / flashing handling on IIe
see https://github.com/V2RetroComputing/analog/issues/3

Monochrome mode & color palettes are now implemented.
$C0n1: Monochrome mode & palette
  $80: B&W
  $90: Inverse
  $A0: Amber
  $B0: Inverse Amber
  $C0: Green
  $D0: Inverse Green
  $E0: Commodore 64 Theme
  $F0: Use IIgs palette
$C0n2: Mirror of IIgs TBCOLOR register
$C0n3: Mirror of IIgs BORDER register
2023-03-02 11:09:48 -05:00

24 lines
648 B
C

#pragma once
#include <stdint.h>
#include "common/buffers.h"
#define text_memory text_p1
#define hires_memory hgr_p1
#define terminal_memory (private_memory+0xF000)
extern uint8_t character_rom[2048];
extern uint8_t terminal_character_rom[2048];
extern volatile uint32_t mono_palette;
extern volatile uint8_t terminal_row;
extern volatile uint8_t terminal_col;
#define terminal_tbcolor apple_memory[0xC022]
#define terminal_border apple_memory[0xC034]
#define TERMINAL_FORE ((terminal_tbcolor>>4) & 0xf)
#define TERMINAL_BACK (terminal_tbcolor & 0xf)
#define TERMINAL_BORDER (terminal_border & 0xf)