dosemu 64-bit compile? - SOLVED

Zoltan Boszormenyi zboszor at freemail.hu
Wed Nov 14 08:21:00 UTC 2007


Zoltan Boszormenyi írta:
> Frank Cox írta:
>> On Wed, 14 Nov 2007 00:42:37 +0530
>> Saurabh Bathe <sbathe at gmail.com> wrote:
>>
>>  
>>> AFAIK, edit the makefile for  dosemu.
>>>     
>>
>> Thank you very much for your answer.
>>
>> After doing the " rpmbuild --rebuild dosemu-1.4.0-1.src.rpm" step 
>> that errored
>> out as described in my previous message, I had a file named 
>> dosemu-1.4.0.tgz in
>> my ~/rpmbuild/SOURCES directory.  I un-tarred that and after poking 
>> around a
>> bit I found a file named compiletime-settings.  I changed the line in 
>> that file
>> that said  libdir ${prefix}/lib to  libdir ${prefix}/lib64
>>
>> I then recreated dosemu-1.4.0.tgz in the ~/rpmbuild/SOURCES directory 
>> so it now
>> contained the modified compiletime-settings file.  After that, doing 
>> a "rpm
>> -bb ~/rpmbuild/SPECS/dosemu.spec" created the file that I wanted,
>> dosemu-1.4.0-1.x86_64.rpm.  I installed it and it appears to work as 
>> expected.
>>
>> PERFORMANCE
>> This 64-bit DOSEMU compile runs substantially slower than the 32-bit 
>> compile
>> that I used previously on this computer.  I have several rather large
>> PowerBASIC/DOS programs that are, in fact, the main reason why I use 
>> DOSEMU.
>>
>> Up until a couple of days ago, I had Fedora 7/i386 on this computer.  
>> I just
>> happen to still have the numbers when compiling one of those programs 
>> with
>> PowerBASIC/DOS under DOSEMU:
>>
>> With F7/i386:  1686600 lines per minute -- total time to compile the 
>> program:
>> 0.2 seconds
>>
>> With F8/x86_64:  230400 lines per minute -- total time to compile the 
>> program:
>> 1.6 seconds.
>>
>> The F8/x86_64 DOSEMU is running approximately 13 times slower.
>>
>> I understand that DOSEMU has to do more work to run on a x86_64 
>> architecture.
>> However, I'm wondering if there is something that I missed or 
>> something that I
>> should do (compiler options?) that would give it a bit more oomph.
>>   
>
> You can try v86-64, it's a v86 mode emulation for x86-64 kernels.
> http://v86-64.sourceforge.net/

The latest version of v86dev needs the first attached patch to compile,
also dosemu on F8 needs the second patch to successfully compile.
But after these they work together. Protected mode DOS games work
and they even produce sound :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: v86dev-20070607-2.6.23.patch
Type: text/x-patch
Size: 944 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071114/3dad4e30/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dosemu-1.4.0-dexeconfig-open-O_CREAT-3params.patch
Type: text/x-patch
Size: 415 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071114/3dad4e30/attachment-0003.bin>


More information about the fedora-list mailing list