home *** CD-ROM | disk | FTP | other *** search
- rem Compile the C module
- rem
-
- tcc -c -mt -N- -k- -f- debug.c
-
- rem
- rem Assemble the vector table file
- rem
-
- tasm /ml debvect ;
-
- rem
- rem Link the files together, vector module 1st
- rem change \c\lib\cs in the statement below
-
- tlink debvect+debug, debug, debug, \c\lib\cs /m ;
-
- rem
- rem Convert the .EXE file to a .COM file
- rem
-
- exetobin debug.exe debug.bin
-
- rem
- rem Convert the .COM file to the .BGI file. The syntax below
- rem specifies the input file as DEBUG.BIN, the output file as
- rem DEBUG.BGI, and the internal driver name as "DEBUG".
- rem
-
- bh debug.bin debug.bgi DEBUG
-
- rem
- rem Convert the driver to a register-able .OBJ file.
- rem
-
- bgiobj debug.bgi n_debug.obj _DEBUG_driver
- bgiobj /F debug.bgi f_debug.obj _DEBUG_driver_far
-