home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************
- POP'TEST (c) Copyright 1989 by MSI
- Author - Ratko V. Tomic
- *********************************************************************/
-
- #include "cr.h"
-
- /** These disposable messages go thru dspf **/
-
- char loaded_msg[]=" Program is already loaded. `e";
- char unloading[]=" Program was unloaded. `e";
- char not_loaded[]=" Cannot unload - it wasn't loaded. `e";
- char no_unl[]=" Cannot unload safely (other TSRs loaded after it). `e";
-
- char hello_atr[]={0x1B,0x1e,0x1f,0x19};
- char hello_atr1[]={0x70,0x70,0x70,0x70};
-
- char hello_msg[]="`2\
- `\xB7`m\
- `\x05POP-Spawn Ver 1.04 Copyright (C) 1990 by MSI `w\
- `\x05 ShareWARE ($10 to Register) `w\
- `3─`w\
- `1F11`0 or`1 Alt-, `0: Run any program `w\
- `1F12`0 or`1 Alt-. `0: Shell into COMMAND.COM `w\
- `3─`w\
- `2COMMAND LINE `w\
- `w\
- `1 /M`2xxx`0 Set spawn memory size to `2xxx`0 K. `w\
- `1 /P`2name`0 Set default program `2name.ext`0 . `w\
- `1 /G `0 Go: Run default prog. without prompts. `w\
- `1 /Q `0 Quick: Same as /G, without wait on exit. `w\
- `1 /C`2cmdln`0 Set default command line to `2cmdln`0. `w\
- `1 /U `0 Unload TSR (if loaded last). `w\
- `3─`w\
- `0 Call Microsystems Software, Inc. at `2(508) 626-8511 `w\
- `0 or for more great TSRs call our BBS `2(508) 875-8009 `w\
- `0 `r";
-
- char _tsr_name[]="POP & Go (C) 1989 by MSI";
-
- #define EXE_K1 (0x57) /* F11 */
- #define EXE_K2 (M_LA|0x33) /* Alt-Comma */
- #define CMD_K1 (0x58) /* F12 */
- #define CMD_K2 (M_LA|0x34) /* Alt-Period */
- #define UNL_KEY (M_LC|M_LS|0x16) /* Ctl-Shift-U */
-
- word hk_list[]={CMD_K1,EXE_K1,CMD_K2,EXE_K2,UNL_KEY,0};
-
- struct cfg_rec config_block = { /* This record stays in only one module */
- sizeof(config_block), /* Configuration block size */
- 'P','&','G','o', /* Program ID string */
- 104 /* Version 1.04 */
- };
-
- char img_file[]="MEM_IMG.$$$"; /* File to store memory image */
- char cmd_pref[]="COMSPEC="; /* To search for COMMAND.COM */
- char dflt_shell[]="C:\COMMAND.COM";
-
- /***************************************************************************
- THIS FOLLOWS IMMEDIATELY AFTER THE LAST DISPOSABLE DATA ITEM
- ****************************************************************************/
-
- /**** 1. Store all "install_" type function pointers into install_list ****/
-
- fp install_list[]={install_hk};
-
- /**** 2. Put Marker for the end-of-init-data (must be = NZ) ****/
-
- word init_data_end=1;
-
- /************************************************************************/
-