Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

This version needs 0/0/0/0 Bytes - but not on EDR-DOS (Announce)

posted by DOS386, 31.03.2009, 04:03

Japheth wrote:

> AFAIU your TSR installs a simple int 24h handler on every int 21h call. The
> handler always returns al=3.

YES.

> My suggestion is to modify FDCONFIG.SYS:
> shell=C:\FDOS\BIN\COMMAND.COM /P /E:512
> shell=C:\FDOS\BIN\COMMAND.COM /F /P /E:512

Got:

SHELL=C:\BLAH\FREECOM.COM /F /E:512 /P:FDAUTO.BAT
REM "/F" disables AbortRetryFail :-)
REM "/P" makes it permanent (no chance to EXIT)
REM "/E:512" increases enviriioment size to 512 bytes
REM            for some buggy stuff, but it doesn't really help :-(


And it works ... Thanks :-) However it works in FreeDOS only, not in EDR-DOS, so you reduced the usefulness of my TSR by factor 2 only. :clap:

Khusraw wrote:

> the one who asked for JLMs. If you want the brilliant DOS386 to contribute by

Again :lol3:

rr wrote:

> PEBCAK

I will :hungry:

Cm wrote:

> Stop using god damned hardcoded values for the size of all data and code
> parts of your program. This makes everything impossible to maintain and
> you can't write any large program.

This one isn't ...

> Stop hooking interrupts by modifying the IVT.

If you supply a reason why ...

> Comment your files better. F.e. I had to study the complete TSR (and evaluate
> some hardcoded values) before I understood what the second handler in
> the resident part is for.

See UI21DEB :-)

> Free the environment if you don't need it anymore.

Maye good idea.

> Write the allocated memory block's segment into its MCB.
> This enables MEM to show the name of the resident part.

Done ! But MEM fails completely and [J]DEBUG reveals 2 letters only :clap:

> use the IBM Interrupt Sharing Protocol (IISP) when hooking permanent
> interrupt vectors (i.e. anything except Int22, Int23, Int24).

Benefit ?

> if they do so carefully, they'll fail because

you always find a risk :lol:

> The short version: This is bad hack which might work most of the time but could cause quirky behaviour of some programs.

YES.

> There's also the point that Int25, Int26 and I think some Int2F calls
> (NLSFUNC file open/lseek/read/close?) might cause Int24 errors.

See 10 lines above.

> Read in RBIL about Int2F.4A00, which is queried by the block device's code

Thanks, I'll check it. (actually INT $2F is not very inviting to me ... guess why)

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

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