870 REMark --- boot file for ProWesS ---
880 TK2_EXT
890 :
900 REMark This is a good place to set the display resolution and colour depth
910 REMark for systems with QVME or Aurora card.
920 REMark In a flash also set the windows !
930 REMark This is also a good place to set drive numbers etc.
940 :
950 REMark ...
960 :
970 REMark Set directory to search for programs etc.
980 :
990 PWSDIR$="flp1_pws_"
1000 IF PWSDIR$(LEN(PWSDIR$))<>"_" THEN PWSDIR$=PWSDIR$&'_'
1010 :
1020 REMark Have to load some resident extensions.
1030 REMark Don't load ptr_gen and thing system on SMSQ/E.
1040 :
1050 IF PEEK_L(163840)<>HEX('534d5351')
1060     LRESPR PWSDIR$&"ext_ptr_gen"
1070     LRESPR PWSDIR$&"ext_hot_rext"
1080     REMark Also load wman for Extended Environment programs
1090     REMark this allows automatic installation of these too.
1100     IF (FOPEN(#3,PWSDIR$&"ext_wman")=0)
1110         CLOSE #3 : LRESPR PWSDIR$&"ext_wman"
1120     END IF
1130 END IF
1140 LRESPR PWSDIR$&"ext_dll_rext"
1150 LRESPR PWSDIR$&"ext_syslib_rext"
1160 LRESPR PWSDIR$&"ext_global_rext"
1165 LRESPR PWSDIR$&"ext_Qlib_run"
1170 :
1180 REMark Load some extensions which are often used.
1190 REMark Of course they have to be available !
1200 REMark This is done to allow auto installation.
1210 :
1220 IF (FOPEN(#3,PWSDIR$&"ext_menu_rext")=0)
1230     CLOSE #3 : LRESPR PWSDIR$&"ext_menu_rext"
1240 ELSE
1250     LRESPR PWSDIR$&"ext_scrap_rext"
1260 END IF
1270 IF (FOPEN(#3,PWSDIR$&"ext_qpac2")=0)
1280     CLOSE #3 : LRESPR PWSDIR$&"ext_qpac2"
1290 END IF
1300 :
1310 REMark SBASIC extensions can't be loaded in startup files
1320 REMark so they have to be loaded here
1330 :
1340 LRESPR PWSDIR$&"ext_PWbasic_rext"
1350 dd_err=0 : REMark to allow DATAdesign error trapping
1360 :
1370 REMark Many other extensions can be loaded here !!
1380 :
1390 REMark ...
1400 :
1410 REMark Start the Hotkey System II.
1420 REMark This allows <ALT> combinations to be used.
1430 REMark Also finalise other initialisations.
1440 :
1450 HOT_GO
1460 REMark ...
1470 :
1480 REMark actually load ProWesS stuff
1490 :
1500 EW PWSDIR$&"prg_loader";PWSDIR$&"startup"
1510 :
1520 REMark Possibly finish initialising.
1530 REMark This is a good place to set some hotkeys etc.
1540 ERT HOT_THING('m','ProWesS reader')
1550 ERT HOT_THING('c','calc')
1560 ERT HOT_THING(CHR$(232),'Button_Sleep')
1570 ERT HOT_THING('.','Button_Pick')
1580 ERT HOT_PICK('b','')
1590 REMark ...
1600 :
1610 REMark Print the current date.
1620 REMark This allows checking of the system clock.
1630 :
1640 CLS #0 : PRINT #0,'The current date is'!DATE$
