Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

32-bit MSDOS (Announce)

posted by marcov, 30.06.2021, 22:42

> > Afaik Windows and Linux use %fs for TLS.
>
> I know every byte that goes into the Win32
> executables that I produce (that run under
> normal Windows, HX and PDOS/386).

> There is no
> requirement for %fs to be set. I don't even
> know what TLS is.

I'm sure you know your subset, but since TLS also plays a role in SEH, in practice it is quite important for non trivial windows binaries, e.g. ones that interface COM, or use native Windows C++ and thus system libraries for exceptions (rather than SJLJ emulation)

Of course since TLS is related to threading it might be less relevant on a single threaded OS like dos. But the subset of Windows binaries (even commandline) that will run decreases because of it.

Which is sad, since from what I have read, Win32 seems to be the only way of running existing binaries on your OS.

Apropos, nearly all dos extenders use DPMI services for their memory operations (e.g. allocate blocks >1MB), access to segments and hooking interrupts. Emulating those should make it easier to retarget existing compilers.

 

Complete thread:

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