Hi,

With the idea of creating a TSR (and not a DOS device driver), I would
suggest reading other simple TSR's, in order to see how to hook/unhook
interrupt vectors. The basics would be to hook and then finish your program
with the terminate_and_stay_resident call.
mKEYB or FD-KEYB are examples (in C and Pascal programming languages,
respectively).

Regards,
Aitor


2015-01-02 18:03 GMT+01:00 Andy Stamp <[email protected]>:

> Hello Folks,
>
> I've been working on creating a program called LPXLATE which converts
> ESC/P print data from legacy apps into PCL or PS for printing on modern
> printers.
>
> Most of my time has been spent working on the conversion routines, but I
> would like to start working on integrating this code into a TSR that could
> be installed and would hijack calls to output bytes to the parallel port
> and feed them into this app which in turn would output the translated data
> via the parallel port.
>
> I am wondering what resources I should look into for info on hijacking
> BIOS calls (INT 17h) and creating TSRs.
>
> I downloaded a copy of Ralf Brown's interrupt list and found Peter
> Norton's guide to programming the IBM PC at a thrift store.
>
> A quick Googling suggests Undocumented DOS and the IBM PC XT hardware
> reference.
> Is there any proprietary info in these that would taint my contributions
> to FreeDOS?
>
> Obviously reading leak MS/DR-DOS source code is bad, but I want to make
> sure.
>
> Thanks,
>
> --
> --Andy
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to