mirror of
https://github.com/tschak909/platotermClassicMac.git
synced 2024-12-27 11:30:08 +00:00
Baud rate back to 57600. Do not paint if mono. Scale characters for 384 and 480 line displays.
This commit is contained in:
parent
2a6d0bb34e
commit
227f948745
2
io.c
2
io.c
@ -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)
|
||||
|
6
screen.c
6
screen.c
@ -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) &&
|
||||
|
Loading…
Reference in New Issue
Block a user