Baud rate back to 57600. Do not paint if mono. Scale characters for 384 and 480 line displays.

This commit is contained in:
Thomas Cherryhomes 2019-01-29 18:51:50 -06:00
parent 2a6d0bb34e
commit 227f948745
2 changed files with 7 additions and 1 deletions

2
io.c
View File

@ -31,7 +31,7 @@ void io_init(void)
handshake.fInX=0;
SerHShake(driverIn,&handshake);
SerReset(driverOut,baud1200+stop10+noParity+data8);
SerReset(driverOut,baud57600+stop10+noParity+data8);
serial_buffer=NewPtr(SERIAL_BUFFER_SIZE);
if (serial_buffer!=noErr)

View File

@ -72,12 +72,14 @@ void screen_init(void)
/* Mac Plus sized screen */
windowRect.top=20;
windowRect.bottom=windowRect.top+320;
CharHigh=10;
}
else if (screenRect.bottom < 532)
{
/* 640x480 screen */
windowRect.top=20;
windowRect.bottom=windowRect.top+448;
CharHigh=14;
}
else
{
@ -531,6 +533,10 @@ void screen_paint(padPt* Coord)
unsigned char stackentry = 1;
unsigned short spanAbove, spanBelow;
RGBColor oldColor;
if (is_mono==1)
return;
GetCPixel(x,y,&oldColor);
if ((oldColor.red == current_foreground.red) &&