Home » CEEFAX disks » telesoftware5.adl » 12-03-88/B\OSB17

12-03-88/B\OSB17

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware5.adl
Filename: 12-03-88/B\OSB17
Read OK:
File size: 0ABF bytes
Load address: 0800
Exec address: 8023
File contents
   10REM OSBITS Module B/osb17
   20REM Keyboard clicks using events
   30REM Version 1.2 8.3.87
   40 
   50REM Use in I/O processor
   60 
   70*KEY1MO.3|M|NL.|M
   80 
   90code%=&A00
  100 
  110IF PAGE<&E00 THEN PRINT "I think you have a second processor"'"please switch it off and start again.":STOP
  120 
  130REM Set OS Call Addresses
  140osword=&FFF1
  150evntv=&220
  160 
  170FOR pass%=0 TO 2 STEP 2
  180P%=code%
  190 
  200[OPT pass%
  210SEI                           \ Disable interrupts when altering vectors
  220LDA #event_routine DIV 256
  230CMP evntv+1
  240BEQ dont_change               \ If vector already changed leave alone
  250LDA evntv
  260STA old_evntv
  270LDA evntv+1
  280STA old_evntv+1               \ Old vector contents saved
  290 
  300LDA #event_routine MOD 256
  310STA evntv
  320LDA #event_routine DIV 256
  330STA evntv+1                   \ Intercept address inserted into evntv
  340 
  350.dont_change
  360 
  370CLI                           \ Interrupts restored
  380LDA #8
  390LDX #env_block MOD 256
  400LDY #env_block DIV 256
  410JSR osword                    \ Envelope command
  420RTS                           \ End of set-up routine
  430 
  440.event_routine
  450CMP #2                        \ Is this a keyboard event?
  460BNE exit                      \ If not exit
  470 
  480PHP                           \ Save all registers onto stack
  490PHA
  500TXA
  510PHA
  520TYA
  530PHA
  540 
  550CLD                           \ Make sure we're in binary mode!
  560LDA #7
  570LDX #sp_block MOD 256
  580LDY #sp_block DIV 256
  590JSR osword                    \ SOUND command
  600 
  610PLA                           \ Restore all registers in reverse order
  620TAY
  630PLA
  640TAX
  650PLA
  660PLP
  670 
  680.exit
  690JMP (old_evntv)               \ Exit by going down old vector
  700 
  710.old_evntv    OPT FNEQUW(0)
  720.sp_block     OPT FNEQUW(0)   \ Channel - 0 is noise
  730              OPT FNEQUW(1)   \ Envelope 1
  740              OPT FNEQUW(5)   \ Pitch   - 5 is white noise
  750              OPT FNEQUW(2)   \ Duration
  760.env_block    OPT FNEQUB(1)   \ Envelope parameters
  770              OPT FNEQUB(1)
  780              OPT FNEQUB(120)
  790              OPT FNEQUB(0)
  800              OPT FNEQUB(0)
  810              OPT FNEQUB(1)
  820              OPT FNEQUB(0)
  830              OPT FNEQUB(0)
  840              OPT FNEQUB(127)
  850              OPT FNEQUB(-25)
  860              OPT FNEQUB(-1)
  870              OPT FNEQUB(-127)
  880              OPT FNEQUB(120)
  890              OPT FNEQUB(60)
  900 
  910]
  920NEXT
  930 
  940CALL code%
  950*FX 14,2
  960 
  970PRINT " *SAVE kclick ";STR$~(&FFFF0000+code%);" +";STR$~(P%-code%)
  980END
  990 
 1000**** EQUate a Byte ****
 1010DEF FNEQUB(N%)
 1020?P%=N% MOD 256
 1030IF (pass% AND 3) = 3 THEN PRINT ~?P%
 1040P%=P%+1
 1050=pass%
 1060 
 1070**** EQUate a Word (2 bytes) ****
 1080DEF FNEQUW(N%)
 1090?P%=N% MOD 256
 1100P%?1=N% DIV 256
 1110IF (pass% AND 3) = 3 THEN PRINT ~?P%,~?(P%+1)
 1120P%=P%+2
 1130=pass%

� OSBITS Module B/osb17
"� Keyboard clicks using events
� Version 1.2 8.3.87
( 
2� Use in I/O processor
< 
F*KEY1MO.3|M|NL.|M
P 
Zcode%=&A00
d 
n`� �<&E00 � � "I think you have a second processor"'"please switch it off and start again.":�
x 
�� Set OS Call Addresses
�osword=&FFF1
�evntv=&220
� 
�� pass%=0 � 2 � 2
�P%=code%
� 
�[OPT pass%
�LSEI                           \ Disable interrupts when altering vectors
�LDA #event_routine � 256
�CMP evntv+1
�IBEQ dont_change               \ If vector already changed leave alone
�
LDA evntv
STA old_evntv
LDA evntv+1
=STA old_evntv+1               \ Old vector contents saved
" 
,LDA #event_routine � 256
6
STA evntv
@LDA #event_routine � 256
JISTA evntv+1                   \ Intercept address inserted into evntv
T 
^.dont_change
h 
r7CLI                           \ Interrupts restored
|
LDA #8
�LDX #env_block � 256
�LDY #env_block � 256
�4JSR osword                    \ Envelope command
�9RTS                           \ End of set-up routine
� 
�.event_routine
�=CMP #2                        \ Is this a keyboard event?
�/BNE exit                      \ If not exit
� 
�APHP                           \ Save all registers onto stack
�PHA
�TXA
�PHA
TYA
PHA
 
&CCLD                           \ Make sure we're in binary mode!
0
LDA #7
:LDX #sp_block � 256
DLDY #sp_block � 256
N-JSR osword                    \ � command
X 
bJPLA                           \ Restore all registers in reverse order
lTAY
vPLA
�TAX
�PLA
�PLP
� 
�	.exit
�AJMP (old_evntv)               \ Exit by going down old vector
� 
�.old_evntv    OPT �EQUW(0)
�7.sp_block     OPT �EQUW(0)   \ Channel - 0 is noise
�-              OPT �EQUW(1)   \ Envelope 1
�=              OPT �EQUW(5)   \ Pitch   - 5 is white noise
�+              OPT �EQUW(2)   \ Duration
�6.env_block    OPT �EQUB(1)   \ Envelope parameters
              OPT �EQUB(1)
               OPT �EQUB(120)
              OPT �EQUB(0)
               OPT �EQUB(0)
*              OPT �EQUB(1)
4              OPT �EQUB(0)
>              OPT �EQUB(0)
H               OPT �EQUB(127)
R               OPT �EQUB(-25)
\              OPT �EQUB(-1)
f!              OPT �EQUB(-127)
p               OPT �EQUB(120)
z              OPT �EQUB(60)
� 
�]
��
� 
�� code%
�*FX 14,2
� 
�<� " *SAVE kclick ";�~(&FFFF0000+code%);" +";�~(P%-code%)
��
� 
�**** EQUate a Byte ****
�� �EQUB(N%)
�?P%=N% � 256
� (pass% � 3) = 3 � � ~?P%
P%=P%+1

=pass%
$ 
.%**** EQUate a Word (2 bytes) ****
8� �EQUW(N%)
B?P%=N% � 256
LP%?1=N% � 256
V'� (pass% � 3) = 3 � � ~?P%,~?(P%+1)
`P%=P%+2
j
=pass%
�
00000000  0d 00 0a 1b f4 20 4f 53  42 49 54 53 20 4d 6f 64  |..... OSBITS Mod|
00000010  75 6c 65 20 42 2f 6f 73  62 31 37 0d 00 14 22 f4  |ule B/osb17...".|
00000020  20 4b 65 79 62 6f 61 72  64 20 63 6c 69 63 6b 73  | Keyboard clicks|
00000030  20 75 73 69 6e 67 20 65  76 65 6e 74 73 0d 00 1e  | using events...|
00000040  18 f4 20 56 65 72 73 69  6f 6e 20 31 2e 32 20 38  |.. Version 1.2 8|
00000050  2e 33 2e 38 37 0d 00 28  05 20 0d 00 32 1a f4 20  |.3.87..(. ..2.. |
00000060  55 73 65 20 69 6e 20 49  2f 4f 20 70 72 6f 63 65  |Use in I/O proce|
00000070  73 73 6f 72 0d 00 3c 05  20 0d 00 46 15 2a 4b 45  |ssor..<. ..F.*KE|
00000080  59 31 4d 4f 2e 33 7c 4d  7c 4e 4c 2e 7c 4d 0d 00  |Y1MO.3|M|NL.|M..|
00000090  50 05 20 0d 00 5a 0e 63  6f 64 65 25 3d 26 41 30  |P. ..Z.code%=&A0|
000000a0  30 0d 00 64 05 20 0d 00  6e 60 e7 20 90 3c 26 45  |0..d. ..n`. .<&E|
000000b0  30 30 20 8c 20 f1 20 22  49 20 74 68 69 6e 6b 20  |00 . . "I think |
000000c0  79 6f 75 20 68 61 76 65  20 61 20 73 65 63 6f 6e  |you have a secon|
000000d0  64 20 70 72 6f 63 65 73  73 6f 72 22 27 22 70 6c  |d processor"'"pl|
000000e0  65 61 73 65 20 73 77 69  74 63 68 20 69 74 20 6f  |ease switch it o|
000000f0  66 66 20 61 6e 64 20 73  74 61 72 74 20 61 67 61  |ff and start aga|
00000100  69 6e 2e 22 3a fa 0d 00  78 05 20 0d 00 82 1b f4  |in.":...x. .....|
00000110  20 53 65 74 20 4f 53 20  43 61 6c 6c 20 41 64 64  | Set OS Call Add|
00000120  72 65 73 73 65 73 0d 00  8c 10 6f 73 77 6f 72 64  |resses....osword|
00000130  3d 26 46 46 46 31 0d 00  96 0e 65 76 6e 74 76 3d  |=&FFF1....evntv=|
00000140  26 32 32 30 0d 00 a0 05  20 0d 00 aa 15 e3 20 70  |&220.... ..... p|
00000150  61 73 73 25 3d 30 20 b8  20 32 20 88 20 32 0d 00  |ass%=0 . 2 . 2..|
00000160  b4 0c 50 25 3d 63 6f 64  65 25 0d 00 be 05 20 0d  |..P%=code%.... .|
00000170  00 c8 0e 5b 4f 50 54 20  70 61 73 73 25 0d 00 d2  |...[OPT pass%...|
00000180  4c 53 45 49 20 20 20 20  20 20 20 20 20 20 20 20  |LSEI            |
00000190  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 5c  |               \|
000001a0  20 44 69 73 61 62 6c 65  20 69 6e 74 65 72 72 75  | Disable interru|
000001b0  70 74 73 20 77 68 65 6e  20 61 6c 74 65 72 69 6e  |pts when alterin|
000001c0  67 20 76 65 63 74 6f 72  73 0d 00 dc 1c 4c 44 41  |g vectors....LDA|
000001d0  20 23 65 76 65 6e 74 5f  72 6f 75 74 69 6e 65 20  | #event_routine |
000001e0  81 20 32 35 36 0d 00 e6  0f 43 4d 50 20 65 76 6e  |. 256....CMP evn|
000001f0  74 76 2b 31 0d 00 f0 49  42 45 51 20 64 6f 6e 74  |tv+1...IBEQ dont|
00000200  5f 63 68 61 6e 67 65 20  20 20 20 20 20 20 20 20  |_change         |
00000210  20 20 20 20 20 20 5c 20  49 66 20 76 65 63 74 6f  |      \ If vecto|
00000220  72 20 61 6c 72 65 61 64  79 20 63 68 61 6e 67 65  |r already change|
00000230  64 20 6c 65 61 76 65 20  61 6c 6f 6e 65 0d 00 fa  |d leave alone...|
00000240  0d 4c 44 41 20 65 76 6e  74 76 0d 01 04 11 53 54  |.LDA evntv....ST|
00000250  41 20 6f 6c 64 5f 65 76  6e 74 76 0d 01 0e 0f 4c  |A old_evntv....L|
00000260  44 41 20 65 76 6e 74 76  2b 31 0d 01 18 3d 53 54  |DA evntv+1...=ST|
00000270  41 20 6f 6c 64 5f 65 76  6e 74 76 2b 31 20 20 20  |A old_evntv+1   |
00000280  20 20 20 20 20 20 20 20  20 20 20 20 5c 20 4f 6c  |            \ Ol|
00000290  64 20 76 65 63 74 6f 72  20 63 6f 6e 74 65 6e 74  |d vector content|
000002a0  73 20 73 61 76 65 64 0d  01 22 05 20 0d 01 2c 1c  |s saved..". ..,.|
000002b0  4c 44 41 20 23 65 76 65  6e 74 5f 72 6f 75 74 69  |LDA #event_routi|
000002c0  6e 65 20 83 20 32 35 36  0d 01 36 0d 53 54 41 20  |ne . 256..6.STA |
000002d0  65 76 6e 74 76 0d 01 40  1c 4c 44 41 20 23 65 76  |evntv..@.LDA #ev|
000002e0  65 6e 74 5f 72 6f 75 74  69 6e 65 20 81 20 32 35  |ent_routine . 25|
000002f0  36 0d 01 4a 49 53 54 41  20 65 76 6e 74 76 2b 31  |6..JISTA evntv+1|
00000300  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000310  20 20 20 5c 20 49 6e 74  65 72 63 65 70 74 20 61  |   \ Intercept a|
00000320  64 64 72 65 73 73 20 69  6e 73 65 72 74 65 64 20  |ddress inserted |
00000330  69 6e 74 6f 20 65 76 6e  74 76 0d 01 54 05 20 0d  |into evntv..T. .|
00000340  01 5e 10 2e 64 6f 6e 74  5f 63 68 61 6e 67 65 0d  |.^..dont_change.|
00000350  01 68 05 20 0d 01 72 37  43 4c 49 20 20 20 20 20  |.h. ..r7CLI     |
00000360  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000370  20 20 20 20 20 20 5c 20  49 6e 74 65 72 72 75 70  |      \ Interrup|
00000380  74 73 20 72 65 73 74 6f  72 65 64 0d 01 7c 0a 4c  |ts restored..|.L|
00000390  44 41 20 23 38 0d 01 86  18 4c 44 58 20 23 65 6e  |DA #8....LDX #en|
000003a0  76 5f 62 6c 6f 63 6b 20  83 20 32 35 36 0d 01 90  |v_block . 256...|
000003b0  18 4c 44 59 20 23 65 6e  76 5f 62 6c 6f 63 6b 20  |.LDY #env_block |
000003c0  81 20 32 35 36 0d 01 9a  34 4a 53 52 20 6f 73 77  |. 256...4JSR osw|
000003d0  6f 72 64 20 20 20 20 20  20 20 20 20 20 20 20 20  |ord             |
000003e0  20 20 20 20 20 20 20 5c  20 45 6e 76 65 6c 6f 70  |       \ Envelop|
000003f0  65 20 63 6f 6d 6d 61 6e  64 0d 01 a4 39 52 54 53  |e command...9RTS|
00000400  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000410  20 20 20 20 20 20 20 20  20 20 20 5c 20 45 6e 64  |           \ End|
00000420  20 6f 66 20 73 65 74 2d  75 70 20 72 6f 75 74 69  | of set-up routi|
00000430  6e 65 0d 01 ae 05 20 0d  01 b8 12 2e 65 76 65 6e  |ne.... .....even|
00000440  74 5f 72 6f 75 74 69 6e  65 0d 01 c2 3d 43 4d 50  |t_routine...=CMP|
00000450  20 23 32 20 20 20 20 20  20 20 20 20 20 20 20 20  | #2             |
00000460  20 20 20 20 20 20 20 20  20 20 20 5c 20 49 73 20  |           \ Is |
00000470  74 68 69 73 20 61 20 6b  65 79 62 6f 61 72 64 20  |this a keyboard |
00000480  65 76 65 6e 74 3f 0d 01  cc 2f 42 4e 45 20 65 78  |event?.../BNE ex|
00000490  69 74 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |it              |
000004a0  20 20 20 20 20 20 20 20  5c 20 49 66 20 6e 6f 74  |        \ If not|
000004b0  20 65 78 69 74 0d 01 d6  05 20 0d 01 e0 41 50 48  | exit.... ...APH|
000004c0  50 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |P               |
000004d0  20 20 20 20 20 20 20 20  20 20 20 20 5c 20 53 61  |            \ Sa|
000004e0  76 65 20 61 6c 6c 20 72  65 67 69 73 74 65 72 73  |ve all registers|
000004f0  20 6f 6e 74 6f 20 73 74  61 63 6b 0d 01 ea 07 50  | onto stack....P|
00000500  48 41 0d 01 f4 07 54 58  41 0d 01 fe 07 50 48 41  |HA....TXA....PHA|
00000510  0d 02 08 07 54 59 41 0d  02 12 07 50 48 41 0d 02  |....TYA....PHA..|
00000520  1c 05 20 0d 02 26 43 43  4c 44 20 20 20 20 20 20  |.. ..&CCLD      |
00000530  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000540  20 20 20 20 20 5c 20 4d  61 6b 65 20 73 75 72 65  |     \ Make sure|
00000550  20 77 65 27 72 65 20 69  6e 20 62 69 6e 61 72 79  | we're in binary|
00000560  20 6d 6f 64 65 21 0d 02  30 0a 4c 44 41 20 23 37  | mode!..0.LDA #7|
00000570  0d 02 3a 17 4c 44 58 20  23 73 70 5f 62 6c 6f 63  |..:.LDX #sp_bloc|
00000580  6b 20 83 20 32 35 36 0d  02 44 17 4c 44 59 20 23  |k . 256..D.LDY #|
00000590  73 70 5f 62 6c 6f 63 6b  20 81 20 32 35 36 0d 02  |sp_block . 256..|
000005a0  4e 2d 4a 53 52 20 6f 73  77 6f 72 64 20 20 20 20  |N-JSR osword    |
000005b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005c0  5c 20 d4 20 63 6f 6d 6d  61 6e 64 0d 02 58 05 20  |\ . command..X. |
000005d0  0d 02 62 4a 50 4c 41 20  20 20 20 20 20 20 20 20  |..bJPLA         |
000005e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005f0  20 20 5c 20 52 65 73 74  6f 72 65 20 61 6c 6c 20  |  \ Restore all |
00000600  72 65 67 69 73 74 65 72  73 20 69 6e 20 72 65 76  |registers in rev|
00000610  65 72 73 65 20 6f 72 64  65 72 0d 02 6c 07 54 41  |erse order..l.TA|
00000620  59 0d 02 76 07 50 4c 41  0d 02 80 07 54 41 58 0d  |Y..v.PLA....TAX.|
00000630  02 8a 07 50 4c 41 0d 02  94 07 50 4c 50 0d 02 9e  |...PLA....PLP...|
00000640  05 20 0d 02 a8 09 2e 65  78 69 74 0d 02 b2 41 4a  |. .....exit...AJ|
00000650  4d 50 20 28 6f 6c 64 5f  65 76 6e 74 76 29 20 20  |MP (old_evntv)  |
00000660  20 20 20 20 20 20 20 20  20 20 20 20 20 5c 20 45  |             \ E|
00000670  78 69 74 20 62 79 20 67  6f 69 6e 67 20 64 6f 77  |xit by going dow|
00000680  6e 20 6f 6c 64 20 76 65  63 74 6f 72 0d 02 bc 05  |n old vector....|
00000690  20 0d 02 c6 1e 2e 6f 6c  64 5f 65 76 6e 74 76 20  | .....old_evntv |
000006a0  20 20 20 4f 50 54 20 a4  45 51 55 57 28 30 29 0d  |   OPT .EQUW(0).|
000006b0  02 d0 37 2e 73 70 5f 62  6c 6f 63 6b 20 20 20 20  |..7.sp_block    |
000006c0  20 4f 50 54 20 a4 45 51  55 57 28 30 29 20 20 20  | OPT .EQUW(0)   |
000006d0  5c 20 43 68 61 6e 6e 65  6c 20 2d 20 30 20 69 73  |\ Channel - 0 is|
000006e0  20 6e 6f 69 73 65 0d 02  da 2d 20 20 20 20 20 20  | noise...-      |
000006f0  20 20 20 20 20 20 20 20  4f 50 54 20 a4 45 51 55  |        OPT .EQU|
00000700  57 28 31 29 20 20 20 5c  20 45 6e 76 65 6c 6f 70  |W(1)   \ Envelop|
00000710  65 20 31 0d 02 e4 3d 20  20 20 20 20 20 20 20 20  |e 1...=         |
00000720  20 20 20 20 20 4f 50 54  20 a4 45 51 55 57 28 35  |     OPT .EQUW(5|
00000730  29 20 20 20 5c 20 50 69  74 63 68 20 20 20 2d 20  |)   \ Pitch   - |
00000740  35 20 69 73 20 77 68 69  74 65 20 6e 6f 69 73 65  |5 is white noise|
00000750  0d 02 ee 2b 20 20 20 20  20 20 20 20 20 20 20 20  |...+            |
00000760  20 20 4f 50 54 20 a4 45  51 55 57 28 32 29 20 20  |  OPT .EQUW(2)  |
00000770  20 5c 20 44 75 72 61 74  69 6f 6e 0d 02 f8 36 2e  | \ Duration...6.|
00000780  65 6e 76 5f 62 6c 6f 63  6b 20 20 20 20 4f 50 54  |env_block    OPT|
00000790  20 a4 45 51 55 42 28 31  29 20 20 20 5c 20 45 6e  | .EQUB(1)   \ En|
000007a0  76 65 6c 6f 70 65 20 70  61 72 61 6d 65 74 65 72  |velope parameter|
000007b0  73 0d 03 02 1e 20 20 20  20 20 20 20 20 20 20 20  |s....           |
000007c0  20 20 20 4f 50 54 20 a4  45 51 55 42 28 31 29 0d  |   OPT .EQUB(1).|
000007d0  03 0c 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
000007e0  20 4f 50 54 20 a4 45 51  55 42 28 31 32 30 29 0d  | OPT .EQUB(120).|
000007f0  03 16 1e 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
00000800  20 4f 50 54 20 a4 45 51  55 42 28 30 29 0d 03 20  | OPT .EQUB(0).. |
00000810  1e 20 20 20 20 20 20 20  20 20 20 20 20 20 20 4f  |.              O|
00000820  50 54 20 a4 45 51 55 42  28 30 29 0d 03 2a 1e 20  |PT .EQUB(0)..*. |
00000830  20 20 20 20 20 20 20 20  20 20 20 20 20 4f 50 54  |             OPT|
00000840  20 a4 45 51 55 42 28 31  29 0d 03 34 1e 20 20 20  | .EQUB(1)..4.   |
00000850  20 20 20 20 20 20 20 20  20 20 20 4f 50 54 20 a4  |           OPT .|
00000860  45 51 55 42 28 30 29 0d  03 3e 1e 20 20 20 20 20  |EQUB(0)..>.     |
00000870  20 20 20 20 20 20 20 20  20 4f 50 54 20 a4 45 51  |         OPT .EQ|
00000880  55 42 28 30 29 0d 03 48  20 20 20 20 20 20 20 20  |UB(0)..H        |
00000890  20 20 20 20 20 20 20 4f  50 54 20 a4 45 51 55 42  |       OPT .EQUB|
000008a0  28 31 32 37 29 0d 03 52  20 20 20 20 20 20 20 20  |(127)..R        |
000008b0  20 20 20 20 20 20 20 4f  50 54 20 a4 45 51 55 42  |       OPT .EQUB|
000008c0  28 2d 32 35 29 0d 03 5c  1f 20 20 20 20 20 20 20  |(-25)..\.       |
000008d0  20 20 20 20 20 20 20 4f  50 54 20 a4 45 51 55 42  |       OPT .EQUB|
000008e0  28 2d 31 29 0d 03 66 21  20 20 20 20 20 20 20 20  |(-1)..f!        |
000008f0  20 20 20 20 20 20 4f 50  54 20 a4 45 51 55 42 28  |      OPT .EQUB(|
00000900  2d 31 32 37 29 0d 03 70  20 20 20 20 20 20 20 20  |-127)..p        |
00000910  20 20 20 20 20 20 20 4f  50 54 20 a4 45 51 55 42  |       OPT .EQUB|
00000920  28 31 32 30 29 0d 03 7a  1f 20 20 20 20 20 20 20  |(120)..z.       |
00000930  20 20 20 20 20 20 20 4f  50 54 20 a4 45 51 55 42  |       OPT .EQUB|
00000940  28 36 30 29 0d 03 84 05  20 0d 03 8e 05 5d 0d 03  |(60).... ....]..|
00000950  98 05 ed 0d 03 a2 05 20  0d 03 ac 0b d6 20 63 6f  |....... ..... co|
00000960  64 65 25 0d 03 b6 0c 2a  46 58 20 31 34 2c 32 0d  |de%....*FX 14,2.|
00000970  03 c0 05 20 0d 03 ca 3c  f1 20 22 20 2a 53 41 56  |... ...<. " *SAV|
00000980  45 20 6b 63 6c 69 63 6b  20 22 3b c3 7e 28 26 46  |E kclick ";.~(&F|
00000990  46 46 46 30 30 30 30 2b  63 6f 64 65 25 29 3b 22  |FFF0000+code%);"|
000009a0  20 2b 22 3b c3 7e 28 50  25 2d 63 6f 64 65 25 29  | +";.~(P%-code%)|
000009b0  0d 03 d4 05 e0 0d 03 de  05 20 0d 03 e8 1b 2a 2a  |......... ....**|
000009c0  2a 2a 20 45 51 55 61 74  65 20 61 20 42 79 74 65  |** EQUate a Byte|
000009d0  20 2a 2a 2a 2a 0d 03 f2  0f dd 20 a4 45 51 55 42  | ****..... .EQUB|
000009e0  28 4e 25 29 0d 03 fc 10  3f 50 25 3d 4e 25 20 83  |(N%)....?P%=N% .|
000009f0  20 32 35 36 0d 04 06 1e  e7 20 28 70 61 73 73 25  | 256..... (pass%|
00000a00  20 80 20 33 29 20 3d 20  33 20 8c 20 f1 20 7e 3f  | . 3) = 3 . . ~?|
00000a10  50 25 0d 04 10 0b 50 25  3d 50 25 2b 31 0d 04 1a  |P%....P%=P%+1...|
00000a20  0a 3d 70 61 73 73 25 0d  04 24 05 20 0d 04 2e 25  |.=pass%..$. ...%|
00000a30  2a 2a 2a 2a 20 45 51 55  61 74 65 20 61 20 57 6f  |**** EQUate a Wo|
00000a40  72 64 20 28 32 20 62 79  74 65 73 29 20 2a 2a 2a  |rd (2 bytes) ***|
00000a50  2a 0d 04 38 0f dd 20 a4  45 51 55 57 28 4e 25 29  |*..8.. .EQUW(N%)|
00000a60  0d 04 42 10 3f 50 25 3d  4e 25 20 83 20 32 35 36  |..B.?P%=N% . 256|
00000a70  0d 04 4c 11 50 25 3f 31  3d 4e 25 20 81 20 32 35  |..L.P%?1=N% . 25|
00000a80  36 0d 04 56 27 e7 20 28  70 61 73 73 25 20 80 20  |6..V'. (pass% . |
00000a90  33 29 20 3d 20 33 20 8c  20 f1 20 7e 3f 50 25 2c  |3) = 3 . . ~?P%,|
00000aa0  7e 3f 28 50 25 2b 31 29  0d 04 60 0b 50 25 3d 50  |~?(P%+1)..`.P%=P|
00000ab0  25 2b 32 0d 04 6a 0a 3d  70 61 73 73 25 0d ff     |%+2..j.=pass%..|
00000abf
12-03-88/B\OSB17.m0
12-03-88/B\OSB17.m1
12-03-88/B\OSB17.m2
12-03-88/B\OSB17.m4
12-03-88/B\OSB17.m5