The emm386 versus int 67 discussion: pushf/callfar must be and is okay

Eric Auer <[email protected]>
Newsgroups gmane.os.freedos.devel
Message-ID <[email protected]>
Hi,
I just wanted to point out that the int 67 trick is also part of
FD emm386, quote from the sources:

DUMMY_CALL:                                ; Falls Software (u.a. TURBO Pascal
                INT     67H                ; Programme) auf die Idee kommt, via
                IRET                       ; CS:IP aus der Interrupt-Tabelle den
                        ; EMM aufzurufen, EMM nun tatsaechlich
                        ; aufrufen !


So yes, it IS a kludge. But it was not introduced because MS would love to
do weird things. It was introduced because some programs DO USE the pushf/
call far method to simulate interrupts, and emm386 DOES HAVE TO be compatible
to them. Luckily, all three of DR-DOS, MS and FreeDOS emm386 use the kludge.
One of the programs that would not work otherwise is, funny enough, Turbo
Pascal.

Eric
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.