mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-28 04:38:00 +00:00
Remove support for the Sun386i. (#329)
This was a machine running SunOS 4, which we no longer support. It had an odd display controller and a compiler with issues that required workarounds. Those compiler issues aren't an issue in today's world, so we don't need to keep the workarounds present for reference. It had a bit of inline assembly, but that is still present in other files for other platforms.
This commit is contained in:
26
src/bbtsub.c
26
src/bbtsub.c
@@ -1268,19 +1268,6 @@ LispPTR bltchar(LispPTR *args)
|
||||
DestPixRect->pr_width = destbpl = abs(pbt->pbtdestbpl);
|
||||
SrcePixRect->pr_height = DestPixRect->pr_height = pbt->pbtheight;
|
||||
|
||||
#ifdef I386
|
||||
/* Need to take care of byte order, because display bank */
|
||||
/* on the 386 is NOT bit reversed.... */
|
||||
if (IN_DISPLAY_BANK(pbt->pbtsourcehi))
|
||||
mpr_d(SrcePixRect)->md_flags |= MP_I386;
|
||||
else
|
||||
mpr_d(SrcePixRect)->md_flags &= (~MP_I386);
|
||||
if (IN_DISPLAY_BANK(pbt->pbtdesthi))
|
||||
mpr_d(DestPixRect)->md_flags |= MP_I386;
|
||||
else
|
||||
mpr_d(DestPixRect)->md_flags &= (~MP_I386);
|
||||
#endif /* I386 */
|
||||
|
||||
mpr_mdlinebytes(DestPixRect) = (destbpl + 7) >> 3;
|
||||
mpr_mdlinebytes(SrcePixRect) = (srcebpl + 7) >> 3;
|
||||
|
||||
@@ -2096,19 +2083,6 @@ void tedit_bltchar(LispPTR *args)
|
||||
DestPixRect->pr_width = destbpl = abs(pbt->pbtdestbpl);
|
||||
SrcePixRect->pr_height = DestPixRect->pr_height = pbt->pbtheight;
|
||||
|
||||
#ifdef I386
|
||||
/* Need to take care of byte order, because display bank */
|
||||
/* on the 386 is NOT bit reversed.... */
|
||||
if (IN_DISPLAY_BANK(pbt->pbtsourcehi))
|
||||
mpr_d(SrcePixRect)->md_flags |= MP_I386;
|
||||
else
|
||||
mpr_d(SrcePixRect)->md_flags &= (~MP_I386);
|
||||
if (IN_DISPLAY_BANK(pbt->pbtdesthi))
|
||||
mpr_d(DestPixRect)->md_flags |= MP_I386;
|
||||
else
|
||||
mpr_d(DestPixRect)->md_flags &= (~MP_I386);
|
||||
#endif /* I386 */
|
||||
|
||||
mpr_mdlinebytes(DestPixRect) = (destbpl + 7) >> 3;
|
||||
mpr_mdlinebytes(SrcePixRect) = (srcebpl + 7) >> 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user