home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************
- PopASC (c) Copyright 1992-94 by Omega Point, Inc.
- *********************************************************************/
-
- #include "cr.h"
-
- /************ INITIALIZATION DATA ************************************
-
- Data items defined here are being disposed of when program goes resident.
- These data definitions are linked as first c-module (after R0.OBJ).
- One may use several data modules of this type. The last of such modules
- should have a word variable defined as the last disposable item.
- All data defined before (inclusive) that word variable is discarded
- when resident mode becomes active. Check its's usage in ASCIC.C module.
-
- *************************************************************************/
-
- /** These disposable messages go thru dspf **/
-
- char loaded_msg[]="PopASC is already loaded. Run ASC /U to unload. `e";
- char removed_msg[]="PopASC was unloaded from memory. `e";
- char cant_msg[]="Cannot unload PopASC (other TSRs loaded after it). `e";
-
- /**** config_block STORED IN (any) ONE MODULE ONLY ****/
-
- struct cfg_rec config_block = { /* This record stays in only one module */
- sizeof(config_block), /* Configuration block size */
- 'A','S','C','I', /* Program ID string */
- 100 /* Version 1.00 */
- };
-
-
-
- char hello_atr[]={0x1b,0x1e,0x1f,0x19,0x1b,0x1E};
- char hello_msg[]="`2\
- `\xB4`m\
- `\x0 PopASC - ASCII/Color (C) 1992-4 Omega Point, Inc. `w\
- `w\
- `\x07`1Right-Ctl `0: Pop On/Off (or `1Ctl-SPACE`0) `w\
- `\x04`1PgUp/Dn \x1A `0: Move within ASCII chart `w\
- `\x0b`1SPACE `0: Toggle ASCII \x11═\x10 Colors `w\
- `\x0b`1Enter `0: Send ASCII code to application `w\
- `\x0d`1Ins `0: Send Ctl-P + ASCII code `w\
- `\x02`1F12 `0(or `1Alt-.`0) `0: Repeat sending (no pop-up) `w\
- `\x0a`0ASC `1/U`0 : Unload PopASC from RAM (if last) `w\
- `3 `w\
- ▀`w\
- `4 Written using `5CodeRunneR`4 (R) - the #1 TSR library `w\
- `4 for C or assembly programmers. For information call `w\
- `4 `2Omega Point`4 at `1(508) 877-1819`4 or fax at `1877-0915`4. `w\
- `3 `r";
-
- char _tsr_name[]="PopASC (c) 1994 by OP";
-
- /***************************************************************************
- THIS FOLLOWS IMMEDIATELY AFTER THE LAST DISPOSABLE DATA ITEM
- ****************************************************************************/
-
- /**** 1. Store all "install_" type function pointers into install_list ****/
-
- extern install_hk(); /* Minimal support for Hot-Keys (Hardware only) */
- extern install_bk(); /* Optional BIOS-KEY (or faked-key) support. */
- extern install_sch(); /* Regular Scheduler. */
- extern install_tsc(); /* Tiny scheduler. */
- extern install_trap(); /* Interrupt traps. */
- extern install_dos_rdy();/* DOS intercept, to keep DOS from staying busy. */
-
- fp install_list[]={install_hk};
-
- /**** 2. Put Marker for the end-of-init-data (must be = NZ) ****/
-
- word init_data_end=1;
-
- /************************************************************************/
-