SkeleTSR is a minimalistic Terminate and Stay Resident (TSR) program designed for the MS-DOS and PC DOS environment. It serves as a foundational template for developers looking to create their own TSR applications.
- Minimalistic design for easy customization.
- Basic framework for TSR functionality.
- Written in assembly language for ease of access to low-level functionality.
- One of the following assemblers:
- Borland Turbo Assembler 4.1
- Microsoft Macro Assembler 6.11
- JWasm 2.11
- One of the following Make utilities:
- Borland Make
- Microsoft NMake
To use SkeleTSR as a base for your own TSR, follow these steps.
-
Clone the repository:
git clone https://github.com/icekarma/SkeleTSR.git -
Edit the appropriate Makefile to set the user-configurable options: Makefile.b for TASM, and Makefile.m for MASM and JWasm.
- BUILDTYPE:
debugorrelease. In a debug build,_DEBUGis defined, and the assembler and linker are instructed to generate debug information. In a release build,NDEBUGis defined, and no debug information is generated. - BROWSEINFO:
yesorno. Only meaningful when BUILDTYPE isdebugand ASSEMBLER ismasm. If set toyes, MASM is instructed to generate browse information, andBSCMAKEis invoked to generate a.BSCfile. - ASSEMBLER:
tasm,masm, orjwasm. Specifies the assembler to use. - LINKER:
linkortlink. Specifies the linker to use.
- BUILDTYPE:
-
Modify the source code to implement your desired functionality.
-
Build the TSR with Make. The Makefile provided is compatible with both Borland MAKE and Microsoft NMAKE.
-
Test your TSR.
SkeleTSR is released under the 2-Clause "Simplified" BSD License. A copy of this license can be found in the LICENSE.txt file in this repository.
Feel free to use and modify SkeleTSR for your own projects, and consider contributing back interesting or novel changes!
Contributions are welcome! If you have suggestions or improvements, please open an issue or submit a pull request.