From: Algirdas Avizienis (aviz@netcom.com)
Date: 07/28/93


From: aviz@netcom.com (Algirdas Avizienis)
Subject: DOSemu with Linux  0.99pl11
Date: Wed, 28 Jul 1993 07:25:26 GMT

Hi there, i just recently upgraded to SLS 1.02 and added in the newest
kernel, and I got dosemu0.49 from sunsite and compiled it. I had to
comment out one line in mem.h I believe it was to get it to compile
and take out the -lipc line from the libs part. But unfortunately,
I can't get it to work. I'm using dos 5.0, linux 0.99pl11, gcc
2.4.3 and libc 4.4.1.

Here's what I get from dosemu..

TESTING DOS_SYSCALL messages..
SYSCALL ERROR: 45, *Level 2 not synchronized* in file emu.c, line 235: expr=
        -1
CLI/STI initialized
VID: malloc'ed scrbuf at 0x00114000
debug flags: -a
debug flags: -vsdRWkpiwghxmIEc
DEBUG FLAGS:
disk: 0, keyboard: 0, video: 0, io: 0
serial: 0, printer: 0, warning: 0 , general: 0
VC_ACTIVE!
VC_ACTIVE: ours: 3, active: 3
$Header: /usr/src/dos/RCS/termio.c,v 1.25 1993/05/04 05:29:22 root Exp root $
ERROR: num 0, port 0x3f8, address 0x400, mem 0x3f8
$Header: /usr/src/dos/RCS/emu.c,v 1.27 1993/05/04 05:29:22 root Exp root $
0100 0010 1010 0001
ERROR: testing error messages, don't worry...
ERROR: IN/OUT SB/SW: 0x6c
ERROR: IN/OUT SB/SW: 0x6c
ERROR: IN/OUT SB/SW: 0x6f
SIGILL 4 received

EIP: 07c0:0000008e ESP: 07c0:0000ffe6 VFLAGS(b): 110000001001000110
EAX: 00000005 EBX: 00000001 ECX: 00000001 EDX: 00000000 VFLAGS(h): 00030246
ESI: 0000ffff EDI: 00000000 EBP: 00000001 DS: 07c0 ES: 07c0 FS: 07c0 GS: 07c0
FLAGS: PF ZF IF RF VM IOPL: 0
OPS: 56 49 44 3a 20 6d 61 6c 6c 6f -> 63 27 65 64 20 73 63 72 62 75
ERROR: not an FPU instruction, real illegal opcode!
error exit: (4,0x0004) in_sigsegv: 0 ignore_segv: 0
leavedos(0) called - shutting down
00| e000:0000->e0000 01| e000:0010->e0010 02| e000:0020->e0020
03| e000:0030->e0030 04| e000:0040->e0040 05| e000:0050->e0050
06| e000:0060->e0060 07| e000:0070->e0070 08| e000:0080->e0080
09| e000:0090->e0090 0a| e000:00a0->e00a0 0b| e000:00b0->e00b0
0c| e000:00c0->e00c0 0d| e000:00d0->e00d0 0e| e000:00e0->e00e0
0f| e000:00f0->e00f0 10| e000:0100->e0100 11| e000:0110->e0110
12| e000:0120->e0120 13| e000:0130->e0130 14| e000:0140->e0140
15| e000:0150->e0150 ERROR: signal 14 received in leavedos()
16| e000:0160->e0160 17| e000:0170->e0170
18| e000:0180->e0180 19| e000:0190->e0190 1a| e000:01a0->e01a0
1b| e000:01b0->e01b0 1c| e000:0002->e0002 1d| e000:01d0->e01d0
1e| e000:01e0->e01e0 1f| e000:01f0->e01f0 20| e000:0200->e0200
21| e000:0210->e0210 22| e000:0220->e0220 23| e000:0230->e0230
24| e000:0240->e0240 25| e000:0250->e0250 26| e000:0260->e0260
27| e000:0270->e0270 28| e000:0280->e0280 29| e000:0290->e0290
2a| e000:02a0->e02a0 2b| e000:02b0->e02b0 2c| e000:02c0->e02c0
2d| e000:02d0->e02d0 2e| e000:02e0->e02e0 2f| e000:02f0->e02f0
30| e000:0300->e0300 31| e000:0310->e0310 32| e000:0320->e0320
33| e000:0330->e0330 34| e000:0340->e0340 35| e000:0350->e0350

EIP: e000:00000080 ESP: 07c0:0000ffde VFLAGS(b): 110000001001000110
EAX: 00000005 EBX: 00000001 ECX: 00000001 EDX: 00000000 VFLAGS(h): 00030246
ESI: 0000ffff EDI: 00000000 EBP: 00000001 DS: 07c0 ES: 07c0 FS: 07c0 GS: 07c0
FLAGS: PF ZF IF RF VM IOPL: 0
OPS: 00 00 00 00 00 00 00 00 00 00 -> cd 08 cf 00 00 00 00 00 00 00
ENTERING clear_console_video()
ERROR: signal 14 received in leavedos()
LEAVING clear_console_video()

Any help would be much appreciated!
I used to have it running just fine on my old setup, but I don't know
why it isn't working.

email or a post here would be great..