Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

fix (Developers)

posted by Ninho E-mail, 29.05.2011, 14:36

Just a quick passing by to announce I /fixed/ my low memory loading scheme using a bit of stolen free time. It should now be fully correct and TSR resistent, thanks in large part to CM's thought provoking comments. This is achieved without the need to first relocate the installer to the top of low memory.

Main good news :

- never execute from freed memory (duh!)

- freeing/splitting of mem blocks done by direct MCB access, protected
by CLI. (No unsafe int 21 4A nor 49)

- allocation of the final block for TSR placement is done by DOS 21/48, rather than duplicating its function in my code, still inside the section protected by CLI.
It doesn't matter that int 21 will internally do STI, since interrupting TSRs will be prepared to recognise when they were invoked in DOS (having hooked int 21 presumably) and behave accordingly. This is unlike my previous idea ("fake" INDOS while not actually in DOS, which was feeble and indeed unnecessary).

As soon as I've more free time I'll pack and upload an updated testing pack.

See you all

---
Ninho

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 249 users online (1 registered, 248 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum