Re: DRL updated! -- please stop that INT discussion! ( FPC )
Eric Auer <[email protected]>
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, if FPC is that great, please take my DRL.PAS and the original one, and use the OLD crt style screen stuff combined with the NEW fixes for division by zero and LFN hiding. "diff" is your friend. Take care: The old version had this inline assembly string upcase, the new version is more compatible. The old version uses TextAttr := ... to set the color, the new version uses ANSI. The old version uses BIOS and DOS interrupts for getting the color, the number of lines on the screen, and to do various DOS stuff. The new version uses msdos() instead of intr() and msdos() mixed for the DOS access. It uses access to $40:[...] for some things where the old version uses interrupts. It uses inline assembly at ONE place where the old version uses intr(). What the heck. Feel free to do anything you like with DRL. Having it ported to FPC sounds nice, as long as FPC can produce 16bit real mode code as well. I think the FPC version will have the advantage of being easier to port to Linux, but for DOS, the Turbo Pascal version does what it is supposed to. Eric