Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_20.ADF » P/DisSrc

P/DisSrc

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_20.ADF
Filename: P/DisSrc
Read OK:
File size: 023C bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM ****************************
   20REM *     Disable Facility     *
   30REM *   for SAFE Protection    *
   40REM *(c) Ross Little 9 May 1995*
   50REM ****************************
   60 
   70cliv=&208
   80filev=&212
   90oldcv=&DD14
  100oldfv=&FF1B
  110 
  120FOR I=0 TO 3 STEP 3
  130P%=&900
  140[  OPT I
  150   SEI
  160   LDA #oldcv MOD 256
  170   STA cliv
  180   LDA #oldcv DIV 256
  190   STA cliv+1
  200   LDA #oldfv MOD 256
  210   STA filev
  220   LDA #oldfv DIV 256
  230   STA filev+1
  240   CLI
  250   RTS
  260]:NEXT
  270OSCLI "SAVE Disable 900 "+STR$ ~P%
  280PRINT '"Code Assembled and Saved"
  290PRINT "Type *Disable to use."
  300END

"� ****************************
"� *     Disable Facility     *
"� *   for SAFE Protection    *
("� *(c) Ross Little 9 May 1995*
2"� ****************************
< 
F
cliv=&208
Pfilev=&212
Zoldcv=&DD14
doldfv=&FF1B
n 
x� I=0 � 3 � 3
�P%=&900
�[  OPT I
�
   SEI
�   LDA #oldcv � 256
�   STA cliv
�   LDA #oldcv � 256
�   STA cliv+1
�   LDA #oldfv � 256
�   STA filev
�   LDA #oldfv � 256
�   STA filev+1
�
   CLI
�
   RTS
]:�
� "SAVE Disable 900 "+� ~P%
!� '"Code Assembled and Saved"
"� "Type *Disable to use."
,�
�
00000000  0d 00 0a 22 f4 20 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |...". **********|
00000010  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
00000020  2a 2a 0d 00 14 22 f4 20  2a 20 20 20 20 20 44 69  |**...". *     Di|
00000030  73 61 62 6c 65 20 46 61  63 69 6c 69 74 79 20 20  |sable Facility  |
00000040  20 20 20 2a 0d 00 1e 22  f4 20 2a 20 20 20 66 6f  |   *...". *   fo|
00000050  72 20 53 41 46 45 20 50  72 6f 74 65 63 74 69 6f  |r SAFE Protectio|
00000060  6e 20 20 20 20 2a 0d 00  28 22 f4 20 2a 28 63 29  |n    *..(". *(c)|
00000070  20 52 6f 73 73 20 4c 69  74 74 6c 65 20 39 20 4d  | Ross Little 9 M|
00000080  61 79 20 31 39 39 35 2a  0d 00 32 22 f4 20 2a 2a  |ay 1995*..2". **|
00000090  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000000a0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 0d 00 3c 05 20 0d  |**********..<. .|
000000b0  00 46 0d 63 6c 69 76 3d  26 32 30 38 0d 00 50 0e  |.F.cliv=&208..P.|
000000c0  66 69 6c 65 76 3d 26 32  31 32 0d 00 5a 0f 6f 6c  |filev=&212..Z.ol|
000000d0  64 63 76 3d 26 44 44 31  34 0d 00 64 0f 6f 6c 64  |dcv=&DD14..d.old|
000000e0  66 76 3d 26 46 46 31 42  0d 00 6e 05 20 0d 00 78  |fv=&FF1B..n. ..x|
000000f0  11 e3 20 49 3d 30 20 b8  20 33 20 88 20 33 0d 00  |.. I=0 . 3 . 3..|
00000100  82 0b 50 25 3d 26 39 30  30 0d 00 8c 0c 5b 20 20  |..P%=&900....[  |
00000110  4f 50 54 20 49 0d 00 96  0a 20 20 20 53 45 49 0d  |OPT I....   SEI.|
00000120  00 a0 17 20 20 20 4c 44  41 20 23 6f 6c 64 63 76  |...   LDA #oldcv|
00000130  20 83 20 32 35 36 0d 00  aa 0f 20 20 20 53 54 41  | . 256....   STA|
00000140  20 63 6c 69 76 0d 00 b4  17 20 20 20 4c 44 41 20  | cliv....   LDA |
00000150  23 6f 6c 64 63 76 20 81  20 32 35 36 0d 00 be 11  |#oldcv . 256....|
00000160  20 20 20 53 54 41 20 63  6c 69 76 2b 31 0d 00 c8  |   STA cliv+1...|
00000170  17 20 20 20 4c 44 41 20  23 6f 6c 64 66 76 20 83  |.   LDA #oldfv .|
00000180  20 32 35 36 0d 00 d2 10  20 20 20 53 54 41 20 66  | 256....   STA f|
00000190  69 6c 65 76 0d 00 dc 17  20 20 20 4c 44 41 20 23  |ilev....   LDA #|
000001a0  6f 6c 64 66 76 20 81 20  32 35 36 0d 00 e6 12 20  |oldfv . 256.... |
000001b0  20 20 53 54 41 20 66 69  6c 65 76 2b 31 0d 00 f0  |  STA filev+1...|
000001c0  0a 20 20 20 43 4c 49 0d  00 fa 0a 20 20 20 52 54  |.   CLI....   RT|
000001d0  53 0d 01 04 07 5d 3a ed  0d 01 0e 1f ff 20 22 53  |S....]:...... "S|
000001e0  41 56 45 20 44 69 73 61  62 6c 65 20 39 30 30 20  |AVE Disable 900 |
000001f0  22 2b c3 20 7e 50 25 0d  01 18 21 f1 20 27 22 43  |"+. ~P%...!. '"C|
00000200  6f 64 65 20 41 73 73 65  6d 62 6c 65 64 20 61 6e  |ode Assembled an|
00000210  64 20 53 61 76 65 64 22  0d 01 22 1d f1 20 22 54  |d Saved"..".. "T|
00000220  79 70 65 20 2a 44 69 73  61 62 6c 65 20 74 6f 20  |ype *Disable to |
00000230  75 73 65 2e 22 0d 01 2c  05 e0 0d ff              |use."..,....|
0000023c
P/DisSrc.m0
P/DisSrc.m1
P/DisSrc.m2
P/DisSrc.m4
P/DisSrc.m5