Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

A question about the new /J switch for TSRs (Developers)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 01.04.2023, 09:09

I have written about how I want to extend the /J switch of my TSRs. Prior to this, /J was just a switch to disable allocation of a DOS UMB. The change is that if /J is immediately followed by +, -, or a letter, then the following letters will affect different options about the application's behaviour.

For now we have all switches mentioned in the blog post, except for the /N and /O switches which for simplicity were not yet added to /J. But all the switches we have are of the form "disable XYZ", and the underlying variables default to "true" (0FFh) and are set to "false" (00h) if specified as in eg /JU.

For now I can still change around the sense of the switches. As yet, /JU is the same as /J+U, and the plus sign indicates setting the associated variable to "false" (eg "disable DOS UMB use"). With a minus sign as in /J-U, the variable is reset to "true" ("enable DOS UMB use") instead. I don't want to change the /JU semantics, but I could swap plus and minus and thus make /JU the same as /J-U ("disable DOS UMB use" then).

Any thoughts?

---
l

 

Complete thread:

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