jwt27 / djgpp-cvs

git mirror of cvs.delorie.com:/cvs/djgpp
http://www.delorie.com/djgpp/cvs.html
GNU General Public License v2.0
10 stars 7 forks source link

process: add _dos_exec5() #8

Closed stsp closed 4 months ago

stsp commented 1 year ago

Same as _dos_exec() but with "flags" as 5th arg. The flags are passed to AL when calling int21/4Bh. In addition to an execution mode in AL, freedos defines the loadhigh flag 0x80.

This allows to implement loadhigh properly. Without this patch it is possible to implement loadhigh by hands (by linking UMBs in a changing alloc strat), but in that case UMBs will remain linked in.

stsp commented 1 year ago

Updated patch, there was a problem with -Wshadowing.