Dec 082017
C routines that allow printing of debug messages to a secondary B&W monitor. Support is included for Windows 3.0, DOS and Actor 3.1. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
MDA.CLS | 2392 | 977 | deflated |
MONO.MAK | 1257 | 412 | deflated |
MONO.TXT | 2387 | 1104 | deflated |
MONODLL.C | 6304 | 2074 | deflated |
MONODLL.DEF | 181 | 131 | deflated |
MONODLL.DLL | 2560 | 964 | deflated |
MONODLL.H | 2015 | 551 | deflated |
MONODLL.LIB | 1024 | 151 | deflated |
MONODOS.C | 5791 | 1651 | deflated |
MONODOS.H | 2567 | 578 | deflated |
MONODOSL.LIB | 1536 | 742 | deflated |
MONOL.LIB | 1536 | 736 | deflated |
MONOWIN.C | 2455 | 813 | deflated |
MONOWIN.CPP | 2574 | 856 | deflated |
MONOWIN.H | 2178 | 625 | deflated |
MONOWINL.LIB | 1024 | 402 | deflated |
Download File MONO.ZIP Here
Contents of the MONO.TXT file
The routines included here allow you to print debug messages to
a secondary B&W monitor. Support is included for Windows 3.0,
DOS and Actor 3.1. You can print strings or variables using a
format specifier (printf style). The routines will scroll the
screen once you get to the bottom.
MONO.MAK -> Borland Make file for MONODOS, MONODLL and MONOWIN.
MONODOS.C -> This is a DOS version that supports strings
and variables using a format specifier.
MONODOS.H -> Header file for MONODOS.C.
MONOS/L.LIB -> Borland small and large link librarys.
MONODLL.C -> This is a Windows DLL that supports only strings.
MONODLL.H -> Header file for MONODLL.C.
MONODLL.DEF -> Definition file for the DLL.
MONODLL.DLL -> Windows 3.0 DLL.
MONOWIN.C -> This is a Windows compatible library (non-DLL) that
adds the variables/format support.
MONOWIN.H -> Header file for MONOWIN.C.
MONOWINS/L.LIB -> Borland small and large link librarys.
MDA.CLS -> Actor class support for MONODLL.C.
I use a secondary monochrome monitor to help me debug my
programs. For less than $150 you can get a good hercules card
and monitor. I highly recommend them, especially when working
in Windows. A hercules card or monochrome card will co-exist
with a vga card.
To use MDA in Actor:
Copy the MDA.CLS source file into the \ACTOR\CLASSES directory and put the
MONODLL.DLL library somewhere. A convienent place for the DLL is in the main
Windows 3 directory (\WIN). That is the default place windows will look for
the DLL. If you put it somewhere else you will have to edit the MDA:init
method and point to the directory where you place the DLL.
Next you must load the Actor classes Proc and Library. Do this by
loading the two source files, PROC.CLS and LIBRARY.CLS (in that order) from
the CLASSES directory. Finally, load the MDA class by loading the MDA.CLS
source file. If all goes well you should be able to test it by entering the
following in actor:
P := new(MDA);
printLine(P,P);
and you should see "" on the monochrome monitor. The
MDA class has not been tested in Actor 4.0.
Good luck. I hope you find these routines as valuable as I do.
Feel free to send me comments or suggestions.
Kevin Pinkerton, 301-872-9155 (work), 301-475-9755 (home)
Rt. 1, Box 140-1A
Leonardtown, Md 20650
a secondary B&W monitor. Support is included for Windows 3.0,
DOS and Actor 3.1. You can print strings or variables using a
format specifier (printf style). The routines will scroll the
screen once you get to the bottom.
MONO.MAK -> Borland Make file for MONODOS, MONODLL and MONOWIN.
MONODOS.C -> This is a DOS version that supports strings
and variables using a format specifier.
MONODOS.H -> Header file for MONODOS.C.
MONOS/L.LIB -> Borland small and large link librarys.
MONODLL.C -> This is a Windows DLL that supports only strings.
MONODLL.H -> Header file for MONODLL.C.
MONODLL.DEF -> Definition file for the DLL.
MONODLL.DLL -> Windows 3.0 DLL.
MONOWIN.C -> This is a Windows compatible library (non-DLL) that
adds the variables/format support.
MONOWIN.H -> Header file for MONOWIN.C.
MONOWINS/L.LIB -> Borland small and large link librarys.
MDA.CLS -> Actor class support for MONODLL.C.
I use a secondary monochrome monitor to help me debug my
programs. For less than $150 you can get a good hercules card
and monitor. I highly recommend them, especially when working
in Windows. A hercules card or monochrome card will co-exist
with a vga card.
To use MDA in Actor:
Copy the MDA.CLS source file into the \ACTOR\CLASSES directory and put the
MONODLL.DLL library somewhere. A convienent place for the DLL is in the main
Windows 3 directory (\WIN). That is the default place windows will look for
the DLL. If you put it somewhere else you will have to edit the MDA:init
method and point to the directory where you place the DLL.
Next you must load the Actor classes Proc and Library. Do this by
loading the two source files, PROC.CLS and LIBRARY.CLS (in that order) from
the CLASSES directory. Finally, load the MDA class by loading the MDA.CLS
source file. If all goes well you should be able to test it by entering the
following in actor:
P := new(MDA);
printLine(P,P);
and you should see "" on the monochrome monitor. The
MDA class has not been tested in Actor 4.0.
Good luck. I hope you find these routines as valuable as I do.
Feel free to send me comments or suggestions.
Kevin Pinkerton, 301-872-9155 (work), 301-475-9755 (home)
Rt. 1, Box 140-1A
Leonardtown, Md 20650
December 8, 2017
Add comments