TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ROBERT POZNER
from: SAM PAULSON
date: 1995-10-21 03:10:00
subject: Re: TSR problem

-> Sam; I read your message but we need to see the TSR segments of
-> code to determine the problem if there is one. Since it doesn't
-> work anyway, it can't be all that secret... :)
I'm not sure if this is what you're asking for, but this is the
beginning of the program.  It's the same code used in PB's example
TSR...the only thing I added was $OPTIMIZE SPEED.
$OPTIMIZE SPEED
$COMPILE EXE                  'This tells PB to make a standalone .EXE.
$LIB IPRINT OFF               'Allow graphic characters to print.
$OPTION CNTLBREAK OFF         'Not wise in a tsr.
x& = SETMEM(-700000)          'Release unused memory.
POPUP KEY CHR$(8,30,247)      'Alt-A is the hot key.
POPUP MULTIPLEX &HC000, 254   'Reg AX and DX get this pattern as an ID.
REG 1, &HC000 : REG 4, 254    'Set pattern to check for already installe
CALL INTERRUPT &H2F           'Do the multiplex interrrupt.
IF REG(1)&HC000 AND REG(4)254 THEN END   'We were already installed.
SwapFile$ = LEFT$(CURDIR$,2)+"\TSRTRIV.SWP"
PRINT "TSR Trivia available as ALT-A"
REG 1, &HC001 : REG 4, 252             'Alter AX,DX to show we were here
POPUP SLEEP USING EMS, SwapFile$       'before going to sleep.
---
 * The Serenity BBS * Minneapolis, MN * (612) 927-0353
--- WILDMAIL!/WC v4.12 
---------------
* Origin: The Black Hole BBS - Chaska, MN - (612)442-5635 (1:282/4070.0)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.