Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

DS and ES matching - PDB meaning (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 18.10.2025, 19:41

> > https://hg.pushbx.org/ecm/msdos4/file/51ad27d225a8/src/DOS/MISC.ASM#l357
> >
> > Process Data Block. It means the same as the Process Segment Prefix,
> yes.
>
> Thanks. I didn't check what "hell" is, in Microsoft's professional opinion.
> :-)
>
> invoke DOSINIT ; go to hell

It's a branch that's intended to crash. It used to do this by running the DOSINIT code, which is code that is no longer resident at this point: https://hg.pushbx.org/ecm/msdos4/file/51ad27d225a8/src/DOS/MSINIT.ASM#l180 IIRC it's overwritten by parts of the SDA later.

I changed it so it branches to a dedicated function: https://hg.pushbx.org/ecm/msdos4/file/28de3823a0fd/src/DOS/misc.nas#l552

This function is defined here (technically in the "msbio" part but both "msdos" and "msbio" are linked to one binary now): https://hg.pushbx.org/ecm/msdos4/file/28de3823a0fd/src/BIOS/code.asm#l333

The old DOSINIT is now called NEARDOSINIT and lives in the SYSINIT segment (hence it is called "near") rather than in the (what used to be) combined DOSDATA + DOSCODE: https://hg.pushbx.org/ecm/msdos4/file/28de3823a0fd/src/DOS/dosinit.nas#l570

---
l

 

Complete thread:

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