mirror of
https://github.com/simh/simh.git
synced 2026-02-26 00:34:36 +00:00
AltairZ80 SOL20: Minor corrections and formatting
While working on the AltairZ80 documentation, I found some problems with the SOL20 registers and fixed some formatting issues. Added static and "vdm1_" prefix to "charset" variable in s100_vdm1.c
This commit is contained in:
committed by
Mark Pizzolato
parent
796a3e1abc
commit
94de4da6a6
@@ -79,7 +79,7 @@ static enum vdm1_switch vdm1_ctrl = VDM1_MODE4;
|
||||
static enum vdm1_switch vdm1_cursor = VDM1_NOBLINK;
|
||||
static enum vdm1_switch vdm1_display = VDM1_NORMAL;
|
||||
|
||||
const uint8 charset[128][VDM1_CHAR_YSIZE] =
|
||||
static const uint8 vdm1_charset[128][VDM1_CHAR_YSIZE] =
|
||||
{{0x00,0x7f,0x41,0x41,0x41,0x41,0x41,0x41,0x41,0x7f,0x00,0x00,0x00},
|
||||
{0x00,0x7f,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x00,0x00},
|
||||
{0x00,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x7f,0x00,0x00,0x00},
|
||||
@@ -537,7 +537,7 @@ static void vdm1_render_char(uint8 byte, uint8 x, uint8 y)
|
||||
|
||||
pixel = start + (VDM1_XSIZE * ry);
|
||||
|
||||
c = charset[byte & 0x7f][ry];
|
||||
c = vdm1_charset[byte & 0x7f][ry];
|
||||
|
||||
if (!vdm1_blink && byte & 0x80) {
|
||||
c = ~(c & 0xff);
|
||||
|
||||
Reference in New Issue
Block a user