delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/09/13:39:00

Date: Fri, 09 Jun 1995 08:46:46 -0500 (CDT)
From: Aaron Ucko <UCKO AT VAX1 DOT ROCKHURST DOT EDU>
Subject: Re: About DJGCC's BIOS CALL is capable under LINUX
To: eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Organization: Rockhurst College; Kansas City, MO

>> >I'm using  DOS iterrupt functions, e.g int86(0x10,&regs,&regs),
>> >successfully with DJGCC compiler running under DOS. Will these programs
>> >be working well under LINUX environment ? Please let me know.
>>
>> No, but you may be able to replace them with syscalls or even standard
>
>Doesn't DOSEMU emulate the int86() interface?  AFAIK, it must, or else
>no DOS program won't run, right?

Well, what DOSEmu does is set things up and then call the kernel function
vm86() to create a full-blown virtual machine running your program.  I think
using vm86() to emulate int86() would be a bit unwieldy (at the least).

--- Aaron Ucko (ucko AT vax1 DOT rockhurst DOT edu; finger for PGP public key) | httyp!
Geek code 2.1 [for explanation, finger hayden@ | `God's Laws' (Rudy Rucker,  
vax1.mankato.msus.edu]: GCS/M/S d(-) H s g+ p? \ _Master of Space and Time_):
!au a17 w+ v+(++) C++(+++)>++++ UL++(S+)>++++	\ 1) Be clean. 2) Follow Gary.
P+(++) L++ 3(-) E- N+(++) K- W--(---) M-@ V-(--) \ 3) Teach God's Laws.
po-(--) Y+ t(+) !5 j(++) R(-) G' tv--(-) b+++	  +---------------------------
!D(--) B--(---) e>++++(*) u++(@) h!() f(+) r-(--)>+++ n+(-) y?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019