mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 03:51:32 +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:
18
src/main.c
18
src/main.c
@@ -530,26 +530,10 @@ int main(int argc, char *argv[])
|
||||
JDS -- 1/18/90 also BITBLTSUB does it now. */
|
||||
}
|
||||
|
||||
#ifdef I386
|
||||
/* 80387 initialization */
|
||||
asm(".data");
|
||||
asm(".align 4");
|
||||
asm("__FP_trunc:");
|
||||
asm(" .globl __FP_trunc");
|
||||
asm(".byte 0x3f");
|
||||
asm(".byte 0x0c");
|
||||
asm("__FP_round:");
|
||||
asm(" .globl __FP_round");
|
||||
asm(".byte 0x3f");
|
||||
asm(".byte 0x00");
|
||||
asm(".text");
|
||||
asm("fldcw __FP_round");
|
||||
#elif DOS
|
||||
#ifdef DOS
|
||||
_setrealmode(0x3f); /* Don't interrupt on FP overflows */
|
||||
_getrealerror();
|
||||
#endif /* I386 */
|
||||
|
||||
#ifdef DOS
|
||||
tzset();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user