Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : SLASHBAR.DOC

 
Output of file : SLASHBAR.DOC contained in archive : DOCFILES.ZIP
SLASHBAR Robert L. Hummel
Command 1987/No. 10

______________________________________________________

Purpose: Pops up a Lotus-style menu of the commands
needed to operate a non-Lotus applications
program.

Format: [d:][path]SLASHBAR [path]menuname.ext [/n]

Remarks: Menuname.ext is a menu (.BAR) file compiled
for the application in question with the
MAKEBAR.COM program contained on this disk.
When first loaded, SLASHBAR becomes memory-
resident and uses the /n parameter to reserve
sufficient room in memory for the largest
.BAR file that will be used during the
current session. The default value of n is
4096 bytes. The maximum value of n is
approximately 60,000 bytes, which is more
than the largest .BAR file that can be
produced by the MAKEBAR compiler. The
SLASHBAR command can be run many times during
a session in order to replace the menu in use
with that for a different applications
program, but the /n parameter is used only
for the first loading.

The default "hot key" used by SLASHBAR to pop
up the menu in current use is Alt-/ (Alt plus
the slashbar key). Instructions for changing
this trigger key are given in the Notes.

Example: To load the sample DOS.BAR menu supplied on
this disk, at the DOS prompt enter

SLASHBAR DOS.BAR

(DOS.BAR requires less than 1500 bytes, so no
n parameter need be given.) Alt-/ brings up
the menu, whose commands are activated either
by moving the highlight bar to the desired
command and pressing Enter, or simply by
typing the first letter of the command. The
second line of the menu is the explanatory
help line for the currently-highlighted
command, as in Lotus 1-2-3.

Notes:

1. If you are familiar with DEBUG, you can
change the "hot key" used by SLASHBAR.
The possible Shift-Mask values (MM in
the DEBUG session below) are listed in a
table on the next page. The default
(the Alt key) is 08 at offset 171.

2. Alternate values for the Scan-Code (SS
in the DEBUG session below) are
similarly listed in the table below.
The default (the slash / key) value is
35, and its offset address is 167.
After selecting new values for SS and
MM, the DEBUG session would be as
follows:

DEBUG SLASHBAR.COM
E 167 SS ;Scan code here
E 171 MM ;Shift mask here
W
Q

End each line above with a carriage
return and do not type in the semicolons
or the words to their right.


SHIFT-MASK Value Table ("X" means key is depressed)

Value Alt Ctrl L-Shft R-Shft
00
01 X
02 X
03 X X
04 X
05 X X
06 X X
07 X X X
08 X
09 X X
0A X X
0B X X X
0C X X
0D X X X
0E X X X
0F X X X X


SCAN-CODE Value Table (in hex)

Key Code Key Code
Esc 01 |\ 2B
!1 02 Z 2C
@2 03 X 2D
#3 04 C 2E
$4 05 V 2F
%5 06 B 30
^6 07 N 31
&7 08 M 32
*8 09 <, 33
(9 0A >. 34
)0 0B ?/ 35
_- 0C R-Shft 36
+= 0D PrtSc* 37
Bksp 0E Alt 38
Tab 0F Sp 39
Q 10 CapsLk 3A
W 11 F1 3B
E 12 F2 3C
R 13 F3 3D
T 14 F4 3E
Y 15 F5 3F
U 16 F6 40
I 17 F7 41
O 18 F8 42
P 19 F9 43
{[ 1A F10 44
}] 1B NumLk 45
Enter 1C ScrLk 46
Ctrl 1D 7Home 47
A 1E 8Up 48
S 1F 9PgUp 49
D 20 - 4A
F 21 4Left 4B
G 22 5 4C
H 23 6Right 4D
J 24 + 4E
K 25 1End 4F
L 26 2Down 50
:; 27 3PgDn 51
"' 28 0Ins 52
~` 29 .Del 53
LShft 2A



  3 Responses to “Category : Assembly Language Source Code
Archive   : DOCFILES.ZIP
Filename : SLASHBAR.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/