On Sat, 10 Oct 2009, Ciro Vargas C wrote: > Sorry but Wine support DOS applications. > please test it and you got surpraised
I think you will be surprised if you create pure DOS application. Let's try: /*** t76.prg ***/ proc main() ? date(), time() ? os() ? version() ? procname() wait return druzus:/tmp/24# file t76.exe t76.exe: MS-DOS executable, MZ for MS-DOS druzus:/tmp/24# wineconsole t76.exe fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer winevdm: unable to exec 'Z:\tmp\24\t76.exe': DOS memory range unavailable druzus:/tmp/24# Let's hack the kernel and unblock access to low memory: root:~# sysctl -w vm.mmap_min_addr=0 vm.mmap_min_addr = 0 and then again: druzus:/tmp/24# wineconsole t76.exe fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer wine: Unhandled page fault on read access to 0x0d96f002 at address 0x7e8e15b1 (thread 001a), starting debugger... Let's try to execute pure clipper.exe binaries: druzus:/tmp/24# wineconsole /mnt/nwe/lng/clipper5/bin/clipper.exe fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer wine: Unhandled page fault on read access to 0x19bf8002 at address 0x7e8e85b1 (thread 001a), starting debugger... WINE does not support DOS application. For such support it's necessary to emulate whole DOS with all DOS interrupts and memory regions, emulate BIOS interrupts, etc. so to make it well it's necessary to replicate FreeDOS or other DOS inside Wine with some emulation layers given by DOSEMU which are not available in pure WINE. I have no idea what you have tested. Maybe it's possible to execute DOS application using WINE indirectly, i.e. using some emulation layer which comes with real MS-Windows installed on the same computer when WINE is configured to use original MS-Windows code and original Windows installation contains MS-DOS emulator for executing DOS application. I've never tested it so I cannot confirm if it works or not. Anyhow it does not change the fact that WINE cannot execute DOS programs and it only executes DOS emulator which executes DOS programs. In such case I suggest to use DOSEMU to reduce number of emulation layers. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour