Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

PCI phased out? (Announce)

posted by roytam, 11.03.2011, 07:52

> > > > WINE 64-bit does run Win16 apps. It didn't say anything
> > > > about slow emulation. But I haven't tested. Most, if not all,
> > > > Win 3.x apps are indeed pmode-friendly.)
> > >
> > > Probably win32s apps.
> >
> > I think all Win 3.0 apps were 16-bit pmode friendly. Win32s (NT subset)
> > used PE (not NE), which is not a 16-bit format, so that part should be
> > easiest. Like I mentioned before, I (fairly recently) used Virtual
> Pascal
> > to compile a Win32 PE with WinCRT (GUI), and it surprisingly worked
> under
> > Win3.1/Win32s on my 486 (though not if UPX'd). But I also threw in a
> > separate DOS stub compile (Turbo Pascal, 8086) for completeness. Win64
> runs
> > it fine, but WINE runs it incorrectly (draws wrong), go figure.
>
> But Win32s (unlike Win9x or WinNT) requires relocations, which most newer
> compilers don't generate. Old Borland stuff does (BC55, older Delphis),
> though. WDOSX requires relocs for its PE emulation. Even using UPX on PEs
> in general, you have to be careful as --strip-relocs=1 is default. So you
> have to manually say --strip-relocs=0 both when packing AND unpacking
> (oddly)! EDIT: But I'm pretty sure UPX's Win32 stub isn't Win32s friendly
> anyways.
>

For MS Linker, you can tell it to generate .reloc section with "/fixed:no" linker switch. I can successfully create binary for Win32s. (Of course no CRT functions can be used, only Pure Win32(s) API can be used)

> > I need to setup a bootable USB of Linux64 (EDIT: w/ DOSEMU) one of these
> > days, but I can't quite decide how to do it. :-|
>
> I'll probably try this (in lieu of Ubuntu [buggy, IMO] or UNetBootIn
> [non-persistent]):
>
> https://fedorahosted.org/liveusb-creator/

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 340 users online (0 registered, 340 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum