delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/05/25/12:15:21

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.42.141 with SMTP id s13mr11120069qae.3.1369497379891;
Sat, 25 May 2013 08:56:19 -0700 (PDT)
X-Received: by 10.49.59.162 with SMTP id a2mr96071qer.5.1369497379872; Sat, 25
May 2013 08:56:19 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Sat, 25 May 2013 08:56:19 -0700 (PDT)
In-Reply-To: <68c3dec5-8fd4-4eb0-888d-3949d879a33c@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.173.19.150; posting-account=v5xbdQoAAAAOGc9Ccc-kLZyobvPlN3Qr
NNTP-Posting-Host: 2.173.19.150
References: <1137560452 DOT 398133 DOT 301490 AT g14g2000cwa DOT googlegroups DOT com>
<0ed77a97-aec8-4fde-8124-707ca9cffad1 AT googlegroups DOT com> <28c2ff16-6cef-46c3-8f52-f67b320b5c04 AT googlegroups DOT com>
<de2dnU5WsKrWXQPMnZ2dnUVZ_jydnZ2d AT earthlink DOT com> <68c3dec5-8fd4-4eb0-888d-3949d879a33c AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <90dceebd-8d81-4433-8932-9bce42bddb97@googlegroups.com>
Subject: Re: Adding 64-bit file support to DJGPP
From: Georg Potthast <dosusb AT googlemail DOT com>
Injection-Date: Sat, 25 May 2013 15:56:19 +0000
Bytes: 3191
Lines: 35
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r4PGF29V004475
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

The 64bit hardware does no longer support V86 mode. This mode was intended to allow 32 bit operating systems to run 16 bit applications, i.e. DOS applications.

Now the hardware has to be able to support 32 bit operating systems in 64 bit mode, like Windows XP. For this VT-X has been implemented which allows to emmulate a 32 bit PC in 64 bit mode. This is used by VirtualPC and friends.

Writing a Hypervisor that uses VT-X is really a lot of development since you have to virtualise just about anything. I evaluated an alternative Hypervisor just to see how much is left to implement to make it usable.

DJ Delorie is right to suggest MinGW as an alternative. As long as you do not access the hardware directly it is really easy to port a DJGPP program to MinGW.

Otherwise I think that a robust alternative is to put your DJGPP application together with FreeDOS on a disk image and package that together with a command line version of Qemu for Windows which is about 13 MB compressed. When the user starts your package he/she will start Qemu with FreeDOS starting your application.

I only need a 2 MB FreeDOS distro to run my DJGPP applications. Many of the Qemu files in the 13 MB package you do not need. So the entire package will probably add up to compressed 15 MB which is less than most Windows applications.


Am Freitag, 24. Mai 2013 16:55:18 UTC+2 schrieb RayeR:
> Well, I see there's already GCC for UEFI targets. So much more interesting would be to write some V86 monitor that switch from PM to V86 and allow running existing DOS programs. It would trap INT calls and translate it to UEFI calls. But I belive it's hard task, maybe complicated like Japhet's Jemmex...


- Raw text -


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