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

P/DFSsrc

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/DFSsrc
Read OK:
File size: 0B37 bytes
Load address: FFFF1D00
Exec address: FFFF8023
Duplicates

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

File contents
   10REM SAFE Protection for DFS  v1.00
   20REM   (c) Ross Little April 1995
   30 
   40osasci=&FFE3
   50osfind=&FFCE
   60osrdch=&FFE0
   70filev=&212
   80cliv=&208
   90stor=&88
  100text=&8B
  110file=&8E
  120 
  130FOR I=0 TO 3 STEP 3
  140P%=&900
  150[     OPT I
  160.init LDA filev
  170      STA retv
  180      LDA filev+1
  190      STA retv+1
  200      CMP #newv DIV 256
  210      BEQ end
  220      LDX #newv MOD 256
  230      LDY #newv DIV 256
  240      SEI              \Change
  250      STX filev        \OSFILE
  260      STY filev+1      \Vector
  270      CLI
  280      LDA cliv
  290      STA hret
  300      LDA cliv+1
  310      STA hret+1
  320      LDX #hvec MOD 256
  330      LDY #hvec DIV 256
  340      SEI              \Change
  350      STX cliv         \OSCLI
  360      STY cliv+1       \Vector
  370      CLI
  380      LDX #htxt MOD 256\Display
  390      LDY #htxt DIV 256\intro mess
  400      JSR mess
  410.end  RTS
  420.retv EQUW 0
  430.newv CMP #0
  440      BEQ sver
  450      JMP (retv)
  460.sver STA stor         \Store old
  470      STX stor+1       \registers
  480      STY stor+2
  490      LDY #0
  500      LDA (stor+1),Y
  510      TAX
  520      INY
  530      LDA (stor+1),Y
  540      TAY
  550      LDA #&40         \'OPENIN'
  560      JSR osfind       \filename
  570      CMP #0
  580      BEQ quit
  590      TAY
  600      LDA #0           \Close file
  610      JSR osfind
  620      LDX #etxt MOD 256\Display
  630      LDY #etxt DIV 256\File Exist
  640      JSR mess         \message
  650      JSR osrdch
  660      CMP #ASC("Y")    \User wish
  670      BEQ next         \to cont.?
  680      CMP #ASC("y")
  690      BEQ next
  700      LDX #atxt MOD 256\No...Disp
  710      LDY #atxt DIV 256\Abort mess
  720      JSR mess
  730      RTS
  740.next LDA #&D
  750      JSR osasci
  760      JMP quit
  770.quit LDA stor
  780      LDX stor+1       \Restore
  790      LDY stor+2       \registers
  800      JMP (retv)       \and Return
  810.etxt EQUB &D
  820      EQUS "File exists:"
  830      EQUB &D
  840      EQUS "Continue (Y/N)?"
  850      BRK
  860.atxt EQUS " Aborted"
  870      EQUB &D
  880      BRK
  890.htxt EQUB &D
  900      EQUS "SAFE Protection for DFS v1.00"
  910      EQUB &D
  920      BRK
  930.hlne EQUB 10
  940      EQUS "H"
  950      EQUB 14
  960.mess STX text
  970      STY text+1
  980      LDY #&FF
  990.disp INY              \'Display
 1000      LDA (text),Y     \ Text'
 1010      CMP #0           \subroutine
 1020      BEQ term
 1030      JSR osasci
 1040      JMP disp
 1050.term RTS
 1060.hret EQUW 0
 1070.hvec STA stor
 1080      STX stor+1
 1090      STY stor+2
 1100      LDY #&FF
 1110.hlop INY              \*HELP
 1120      LDA (stor+1),Y   \command?
 1130      AND #&DF
 1140      CMP hlne,Y
 1150      BEQ hlop
 1160      CPY #2
 1170      BPL hdsp
 1180      JMP hend
 1190.hdsp LDX #htxt MOD 256\Display
 1200      LDY #htxt DIV 256\HELP text
 1210      JSR mess
 1220.hend LDA stor         \Restore
 1230      LDX stor+1       \registers
 1240      LDY stor+2       \and pass
 1250      JMP (hret)       \on.
 1260]:NEXT
 1270CALL init
 1280END

$� SAFE Protection for DFS  v1.00
"�   (c) Ross Little April 1995
 
(osasci=&FFE3
2osfind=&FFCE
<osrdch=&FFE0
Ffilev=&212
P
cliv=&208
Zstor=&88
dtext=&8B
nfile=&8E
x 
�� I=0 � 3 � 3
�P%=&900
�[     OPT I
�.init LDA filev
�      STA retv
�      LDA filev+1
�      STA retv+1
�      CMP #newv � 256
�      BEQ end
�      LDX #newv � 256
�      LDY #newv � 256
�"      SEI              \Change
�"      STX filev        \OSFILE
"      STY filev+1      \Vector

      CLI
      LDA cliv
"      STA hret
,      LDA cliv+1
6      STA hret+1
@      LDX #hvec � 256
J      LDY #hvec � 256
T"      SEI              \Change
^      STX cliv         \�
h"      STY cliv+1       \Vector
r
      CLI
|!      LDX #htxt � 256\Display
�$      LDY #htxt � 256\intro mess
�      JSR mess
�
.end  RTS
�.retv EQUW 0
�.newv CMP #0
�      BEQ sver
�      JMP (retv)
�%.sver STA stor         \Store old
�%      STX stor+1       \registers
�      STY stor+2
�      LDY #0
�      LDA (stor+1),Y
�
      TAX

      INY
      LDA (stor+1),Y

      TAY
&      LDA #&40         \'�'
0$      JSR osfind       \filename
:      CMP #0
D      BEQ quit
N
      TAY
X&      LDA #0           \Close file
b      JSR osfind
l!      LDX #etxt � 256\Display
v$      LDY #etxt � 256\File Exist
�#      JSR mess         \message
�      JSR osrdch
�#      CMP #�("Y")    \User wish
�%      BEQ next         \to cont.?
�      CMP #�("y")
�      BEQ next
�#      LDX #atxt � 256\No...Disp
�$      LDY #atxt � 256\Abort mess
�      JSR mess
�
      RTS
�.next LDA #&D
�      JSR osasci
�      JMP quit
.quit LDA stor
#      LDX stor+1       \Restore
%      LDY stor+2       \registers
 &      JMP (retv)       \and Return
*.etxt EQUB &D
4      EQUS "File exists:"
>      EQUB &D
H       EQUS "Continue (Y/N)?"
R
      BRK
\.atxt EQUS " Aborted"
f      EQUB &D
p
      BRK
z.htxt EQUB &D
�.      EQUS "SAFE Protection for DFS v1.00"
�      EQUB &D
�
      BRK
�.hlne EQUB 10
�      EQUS "H"
�      EQUB 14
�.mess STX text
�      STY text+1
�      LDY #&FF
�$.disp INY              \'Display
�"      LDA (text),Y     \ Text'
�&      CMP #0           \subroutine
�      BEQ term
      JSR osasci
      JMP disp

.term RTS
$.hret EQUW 0
..hvec STA stor
8      STX stor+1
B      STY stor+2
L      LDY #&FF
V!.hlop INY              \*HELP
`$      LDA (stor+1),Y   \command?
j      � #&DF
t      CMP hlne,Y
~      BEQ hlop
�      CPY #2
�      BPL hdsp
�      JMP hend
�!.hdsp LDX #htxt � 256\Display
�#      LDY #htxt � 256\HELP text
�      JSR mess
�#.hend LDA stor         \Restore
�%      LDX stor+1       \registers
�$      LDY stor+2       \and pass
�      JMP (hret)       \on.
�]:�
�
� init
�
�
00000000  0d 00 0a 24 f4 20 53 41  46 45 20 50 72 6f 74 65  |...$. SAFE Prote|
00000010  63 74 69 6f 6e 20 66 6f  72 20 44 46 53 20 20 76  |ction for DFS  v|
00000020  31 2e 30 30 0d 00 14 22  f4 20 20 20 28 63 29 20  |1.00...".   (c) |
00000030  52 6f 73 73 20 4c 69 74  74 6c 65 20 41 70 72 69  |Ross Little Apri|
00000040  6c 20 31 39 39 35 0d 00  1e 05 20 0d 00 28 10 6f  |l 1995.... ..(.o|
00000050  73 61 73 63 69 3d 26 46  46 45 33 0d 00 32 10 6f  |sasci=&FFE3..2.o|
00000060  73 66 69 6e 64 3d 26 46  46 43 45 0d 00 3c 10 6f  |sfind=&FFCE..<.o|
00000070  73 72 64 63 68 3d 26 46  46 45 30 0d 00 46 0e 66  |srdch=&FFE0..F.f|
00000080  69 6c 65 76 3d 26 32 31  32 0d 00 50 0d 63 6c 69  |ilev=&212..P.cli|
00000090  76 3d 26 32 30 38 0d 00  5a 0c 73 74 6f 72 3d 26  |v=&208..Z.stor=&|
000000a0  38 38 0d 00 64 0c 74 65  78 74 3d 26 38 42 0d 00  |88..d.text=&8B..|
000000b0  6e 0c 66 69 6c 65 3d 26  38 45 0d 00 78 05 20 0d  |n.file=&8E..x. .|
000000c0  00 82 11 e3 20 49 3d 30  20 b8 20 33 20 88 20 33  |.... I=0 . 3 . 3|
000000d0  0d 00 8c 0b 50 25 3d 26  39 30 30 0d 00 96 0f 5b  |....P%=&900....[|
000000e0  20 20 20 20 20 4f 50 54  20 49 0d 00 a0 13 2e 69  |     OPT I.....i|
000000f0  6e 69 74 20 4c 44 41 20  66 69 6c 65 76 0d 00 aa  |nit LDA filev...|
00000100  12 20 20 20 20 20 20 53  54 41 20 72 65 74 76 0d  |.      STA retv.|
00000110  00 b4 15 20 20 20 20 20  20 4c 44 41 20 66 69 6c  |...      LDA fil|
00000120  65 76 2b 31 0d 00 be 14  20 20 20 20 20 20 53 54  |ev+1....      ST|
00000130  41 20 72 65 74 76 2b 31  0d 00 c8 19 20 20 20 20  |A retv+1....    |
00000140  20 20 43 4d 50 20 23 6e  65 77 76 20 81 20 32 35  |  CMP #newv . 25|
00000150  36 0d 00 d2 11 20 20 20  20 20 20 42 45 51 20 65  |6....      BEQ e|
00000160  6e 64 0d 00 dc 19 20 20  20 20 20 20 4c 44 58 20  |nd....      LDX |
00000170  23 6e 65 77 76 20 83 20  32 35 36 0d 00 e6 19 20  |#newv . 256.... |
00000180  20 20 20 20 20 4c 44 59  20 23 6e 65 77 76 20 81  |     LDY #newv .|
00000190  20 32 35 36 0d 00 f0 22  20 20 20 20 20 20 53 45  | 256..."      SE|
000001a0  49 20 20 20 20 20 20 20  20 20 20 20 20 20 20 5c  |I              \|
000001b0  43 68 61 6e 67 65 0d 00  fa 22 20 20 20 20 20 20  |Change..."      |
000001c0  53 54 58 20 66 69 6c 65  76 20 20 20 20 20 20 20  |STX filev       |
000001d0  20 5c 4f 53 46 49 4c 45  0d 01 04 22 20 20 20 20  | \OSFILE..."    |
000001e0  20 20 53 54 59 20 66 69  6c 65 76 2b 31 20 20 20  |  STY filev+1   |
000001f0  20 20 20 5c 56 65 63 74  6f 72 0d 01 0e 0d 20 20  |   \Vector....  |
00000200  20 20 20 20 43 4c 49 0d  01 18 12 20 20 20 20 20  |    CLI....     |
00000210  20 4c 44 41 20 63 6c 69  76 0d 01 22 12 20 20 20  | LDA cliv..".   |
00000220  20 20 20 53 54 41 20 68  72 65 74 0d 01 2c 14 20  |   STA hret..,. |
00000230  20 20 20 20 20 4c 44 41  20 63 6c 69 76 2b 31 0d  |     LDA cliv+1.|
00000240  01 36 14 20 20 20 20 20  20 53 54 41 20 68 72 65  |.6.      STA hre|
00000250  74 2b 31 0d 01 40 19 20  20 20 20 20 20 4c 44 58  |t+1..@.      LDX|
00000260  20 23 68 76 65 63 20 83  20 32 35 36 0d 01 4a 19  | #hvec . 256..J.|
00000270  20 20 20 20 20 20 4c 44  59 20 23 68 76 65 63 20  |      LDY #hvec |
00000280  81 20 32 35 36 0d 01 54  22 20 20 20 20 20 20 53  |. 256..T"      S|
00000290  45 49 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |EI              |
000002a0  5c 43 68 61 6e 67 65 0d  01 5e 1d 20 20 20 20 20  |\Change..^.     |
000002b0  20 53 54 58 20 63 6c 69  76 20 20 20 20 20 20 20  | STX cliv       |
000002c0  20 20 5c ff 0d 01 68 22  20 20 20 20 20 20 53 54  |  \...h"      ST|
000002d0  59 20 63 6c 69 76 2b 31  20 20 20 20 20 20 20 5c  |Y cliv+1       \|
000002e0  56 65 63 74 6f 72 0d 01  72 0d 20 20 20 20 20 20  |Vector..r.      |
000002f0  43 4c 49 0d 01 7c 21 20  20 20 20 20 20 4c 44 58  |CLI..|!      LDX|
00000300  20 23 68 74 78 74 20 83  20 32 35 36 5c 44 69 73  | #htxt . 256\Dis|
00000310  70 6c 61 79 0d 01 86 24  20 20 20 20 20 20 4c 44  |play...$      LD|
00000320  59 20 23 68 74 78 74 20  81 20 32 35 36 5c 69 6e  |Y #htxt . 256\in|
00000330  74 72 6f 20 6d 65 73 73  0d 01 90 12 20 20 20 20  |tro mess....    |
00000340  20 20 4a 53 52 20 6d 65  73 73 0d 01 9a 0d 2e 65  |  JSR mess.....e|
00000350  6e 64 20 20 52 54 53 0d  01 a4 10 2e 72 65 74 76  |nd  RTS.....retv|
00000360  20 45 51 55 57 20 30 0d  01 ae 10 2e 6e 65 77 76  | EQUW 0.....newv|
00000370  20 43 4d 50 20 23 30 0d  01 b8 12 20 20 20 20 20  | CMP #0....     |
00000380  20 42 45 51 20 73 76 65  72 0d 01 c2 14 20 20 20  | BEQ sver....   |
00000390  20 20 20 4a 4d 50 20 28  72 65 74 76 29 0d 01 cc  |   JMP (retv)...|
000003a0  25 2e 73 76 65 72 20 53  54 41 20 73 74 6f 72 20  |%.sver STA stor |
000003b0  20 20 20 20 20 20 20 20  5c 53 74 6f 72 65 20 6f  |        \Store o|
000003c0  6c 64 0d 01 d6 25 20 20  20 20 20 20 53 54 58 20  |ld...%      STX |
000003d0  73 74 6f 72 2b 31 20 20  20 20 20 20 20 5c 72 65  |stor+1       \re|
000003e0  67 69 73 74 65 72 73 0d  01 e0 14 20 20 20 20 20  |gisters....     |
000003f0  20 53 54 59 20 73 74 6f  72 2b 32 0d 01 ea 10 20  | STY stor+2.... |
00000400  20 20 20 20 20 4c 44 59  20 23 30 0d 01 f4 18 20  |     LDY #0.... |
00000410  20 20 20 20 20 4c 44 41  20 28 73 74 6f 72 2b 31  |     LDA (stor+1|
00000420  29 2c 59 0d 01 fe 0d 20  20 20 20 20 20 54 41 58  |),Y....      TAX|
00000430  0d 02 08 0d 20 20 20 20  20 20 49 4e 59 0d 02 12  |....      INY...|
00000440  18 20 20 20 20 20 20 4c  44 41 20 28 73 74 6f 72  |.      LDA (stor|
00000450  2b 31 29 2c 59 0d 02 1c  0d 20 20 20 20 20 20 54  |+1),Y....      T|
00000460  41 59 0d 02 26 1f 20 20  20 20 20 20 4c 44 41 20  |AY..&.      LDA |
00000470  23 26 34 30 20 20 20 20  20 20 20 20 20 5c 27 8e  |#&40         \'.|
00000480  27 0d 02 30 24 20 20 20  20 20 20 4a 53 52 20 6f  |'..0$      JSR o|
00000490  73 66 69 6e 64 20 20 20  20 20 20 20 5c 66 69 6c  |sfind       \fil|
000004a0  65 6e 61 6d 65 0d 02 3a  10 20 20 20 20 20 20 43  |ename..:.      C|
000004b0  4d 50 20 23 30 0d 02 44  12 20 20 20 20 20 20 42  |MP #0..D.      B|
000004c0  45 51 20 71 75 69 74 0d  02 4e 0d 20 20 20 20 20  |EQ quit..N.     |
000004d0  20 54 41 59 0d 02 58 26  20 20 20 20 20 20 4c 44  | TAY..X&      LD|
000004e0  41 20 23 30 20 20 20 20  20 20 20 20 20 20 20 5c  |A #0           \|
000004f0  43 6c 6f 73 65 20 66 69  6c 65 0d 02 62 14 20 20  |Close file..b.  |
00000500  20 20 20 20 4a 53 52 20  6f 73 66 69 6e 64 0d 02  |    JSR osfind..|
00000510  6c 21 20 20 20 20 20 20  4c 44 58 20 23 65 74 78  |l!      LDX #etx|
00000520  74 20 83 20 32 35 36 5c  44 69 73 70 6c 61 79 0d  |t . 256\Display.|
00000530  02 76 24 20 20 20 20 20  20 4c 44 59 20 23 65 74  |.v$      LDY #et|
00000540  78 74 20 81 20 32 35 36  5c 46 69 6c 65 20 45 78  |xt . 256\File Ex|
00000550  69 73 74 0d 02 80 23 20  20 20 20 20 20 4a 53 52  |ist...#      JSR|
00000560  20 6d 65 73 73 20 20 20  20 20 20 20 20 20 5c 6d  | mess         \m|
00000570  65 73 73 61 67 65 0d 02  8a 14 20 20 20 20 20 20  |essage....      |
00000580  4a 53 52 20 6f 73 72 64  63 68 0d 02 94 23 20 20  |JSR osrdch...#  |
00000590  20 20 20 20 43 4d 50 20  23 97 28 22 59 22 29 20  |    CMP #.("Y") |
000005a0  20 20 20 5c 55 73 65 72  20 77 69 73 68 0d 02 9e  |   \User wish...|
000005b0  25 20 20 20 20 20 20 42  45 51 20 6e 65 78 74 20  |%      BEQ next |
000005c0  20 20 20 20 20 20 20 20  5c 74 6f 20 63 6f 6e 74  |        \to cont|
000005d0  2e 3f 0d 02 a8 15 20 20  20 20 20 20 43 4d 50 20  |.?....      CMP |
000005e0  23 97 28 22 79 22 29 0d  02 b2 12 20 20 20 20 20  |#.("y")....     |
000005f0  20 42 45 51 20 6e 65 78  74 0d 02 bc 23 20 20 20  | BEQ next...#   |
00000600  20 20 20 4c 44 58 20 23  61 74 78 74 20 83 20 32  |   LDX #atxt . 2|
00000610  35 36 5c 4e 6f 2e 2e 2e  44 69 73 70 0d 02 c6 24  |56\No...Disp...$|
00000620  20 20 20 20 20 20 4c 44  59 20 23 61 74 78 74 20  |      LDY #atxt |
00000630  81 20 32 35 36 5c 41 62  6f 72 74 20 6d 65 73 73  |. 256\Abort mess|
00000640  0d 02 d0 12 20 20 20 20  20 20 4a 53 52 20 6d 65  |....      JSR me|
00000650  73 73 0d 02 da 0d 20 20  20 20 20 20 52 54 53 0d  |ss....      RTS.|
00000660  02 e4 11 2e 6e 65 78 74  20 4c 44 41 20 23 26 44  |....next LDA #&D|
00000670  0d 02 ee 14 20 20 20 20  20 20 4a 53 52 20 6f 73  |....      JSR os|
00000680  61 73 63 69 0d 02 f8 12  20 20 20 20 20 20 4a 4d  |asci....      JM|
00000690  50 20 71 75 69 74 0d 03  02 12 2e 71 75 69 74 20  |P quit.....quit |
000006a0  4c 44 41 20 73 74 6f 72  0d 03 0c 23 20 20 20 20  |LDA stor...#    |
000006b0  20 20 4c 44 58 20 73 74  6f 72 2b 31 20 20 20 20  |  LDX stor+1    |
000006c0  20 20 20 5c 52 65 73 74  6f 72 65 0d 03 16 25 20  |   \Restore...% |
000006d0  20 20 20 20 20 4c 44 59  20 73 74 6f 72 2b 32 20  |     LDY stor+2 |
000006e0  20 20 20 20 20 20 5c 72  65 67 69 73 74 65 72 73  |      \registers|
000006f0  0d 03 20 26 20 20 20 20  20 20 4a 4d 50 20 28 72  |.. &      JMP (r|
00000700  65 74 76 29 20 20 20 20  20 20 20 5c 61 6e 64 20  |etv)       \and |
00000710  52 65 74 75 72 6e 0d 03  2a 11 2e 65 74 78 74 20  |Return..*..etxt |
00000720  45 51 55 42 20 26 44 0d  03 34 1d 20 20 20 20 20  |EQUB &D..4.     |
00000730  20 45 51 55 53 20 22 46  69 6c 65 20 65 78 69 73  | EQUS "File exis|
00000740  74 73 3a 22 0d 03 3e 11  20 20 20 20 20 20 45 51  |ts:"..>.      EQ|
00000750  55 42 20 26 44 0d 03 48  20 20 20 20 20 20 20 45  |UB &D..H       E|
00000760  51 55 53 20 22 43 6f 6e  74 69 6e 75 65 20 28 59  |QUS "Continue (Y|
00000770  2f 4e 29 3f 22 0d 03 52  0d 20 20 20 20 20 20 42  |/N)?"..R.      B|
00000780  52 4b 0d 03 5c 19 2e 61  74 78 74 20 45 51 55 53  |RK..\..atxt EQUS|
00000790  20 22 20 41 62 6f 72 74  65 64 22 0d 03 66 11 20  | " Aborted"..f. |
000007a0  20 20 20 20 20 45 51 55  42 20 26 44 0d 03 70 0d  |     EQUB &D..p.|
000007b0  20 20 20 20 20 20 42 52  4b 0d 03 7a 11 2e 68 74  |      BRK..z..ht|
000007c0  78 74 20 45 51 55 42 20  26 44 0d 03 84 2e 20 20  |xt EQUB &D....  |
000007d0  20 20 20 20 45 51 55 53  20 22 53 41 46 45 20 50  |    EQUS "SAFE P|
000007e0  72 6f 74 65 63 74 69 6f  6e 20 66 6f 72 20 44 46  |rotection for DF|
000007f0  53 20 76 31 2e 30 30 22  0d 03 8e 11 20 20 20 20  |S v1.00"....    |
00000800  20 20 45 51 55 42 20 26  44 0d 03 98 0d 20 20 20  |  EQUB &D....   |
00000810  20 20 20 42 52 4b 0d 03  a2 11 2e 68 6c 6e 65 20  |   BRK.....hlne |
00000820  45 51 55 42 20 31 30 0d  03 ac 12 20 20 20 20 20  |EQUB 10....     |
00000830  20 45 51 55 53 20 22 48  22 0d 03 b6 11 20 20 20  | EQUS "H"....   |
00000840  20 20 20 45 51 55 42 20  31 34 0d 03 c0 12 2e 6d  |   EQUB 14.....m|
00000850  65 73 73 20 53 54 58 20  74 65 78 74 0d 03 ca 14  |ess STX text....|
00000860  20 20 20 20 20 20 53 54  59 20 74 65 78 74 2b 31  |      STY text+1|
00000870  0d 03 d4 12 20 20 20 20  20 20 4c 44 59 20 23 26  |....      LDY #&|
00000880  46 46 0d 03 de 24 2e 64  69 73 70 20 49 4e 59 20  |FF...$.disp INY |
00000890  20 20 20 20 20 20 20 20  20 20 20 20 20 5c 27 44  |             \'D|
000008a0  69 73 70 6c 61 79 0d 03  e8 22 20 20 20 20 20 20  |isplay..."      |
000008b0  4c 44 41 20 28 74 65 78  74 29 2c 59 20 20 20 20  |LDA (text),Y    |
000008c0  20 5c 20 54 65 78 74 27  0d 03 f2 26 20 20 20 20  | \ Text'...&    |
000008d0  20 20 43 4d 50 20 23 30  20 20 20 20 20 20 20 20  |  CMP #0        |
000008e0  20 20 20 5c 73 75 62 72  6f 75 74 69 6e 65 0d 03  |   \subroutine..|
000008f0  fc 12 20 20 20 20 20 20  42 45 51 20 74 65 72 6d  |..      BEQ term|
00000900  0d 04 06 14 20 20 20 20  20 20 4a 53 52 20 6f 73  |....      JSR os|
00000910  61 73 63 69 0d 04 10 12  20 20 20 20 20 20 4a 4d  |asci....      JM|
00000920  50 20 64 69 73 70 0d 04  1a 0d 2e 74 65 72 6d 20  |P disp.....term |
00000930  52 54 53 0d 04 24 10 2e  68 72 65 74 20 45 51 55  |RTS..$..hret EQU|
00000940  57 20 30 0d 04 2e 12 2e  68 76 65 63 20 53 54 41  |W 0.....hvec STA|
00000950  20 73 74 6f 72 0d 04 38  14 20 20 20 20 20 20 53  | stor..8.      S|
00000960  54 58 20 73 74 6f 72 2b  31 0d 04 42 14 20 20 20  |TX stor+1..B.   |
00000970  20 20 20 53 54 59 20 73  74 6f 72 2b 32 0d 04 4c  |   STY stor+2..L|
00000980  12 20 20 20 20 20 20 4c  44 59 20 23 26 46 46 0d  |.      LDY #&FF.|
00000990  04 56 21 2e 68 6c 6f 70  20 49 4e 59 20 20 20 20  |.V!.hlop INY    |
000009a0  20 20 20 20 20 20 20 20  20 20 5c 2a 48 45 4c 50  |          \*HELP|
000009b0  0d 04 60 24 20 20 20 20  20 20 4c 44 41 20 28 73  |..`$      LDA (s|
000009c0  74 6f 72 2b 31 29 2c 59  20 20 20 5c 63 6f 6d 6d  |tor+1),Y   \comm|
000009d0  61 6e 64 3f 0d 04 6a 10  20 20 20 20 20 20 80 20  |and?..j.      . |
000009e0  23 26 44 46 0d 04 74 14  20 20 20 20 20 20 43 4d  |#&DF..t.      CM|
000009f0  50 20 68 6c 6e 65 2c 59  0d 04 7e 12 20 20 20 20  |P hlne,Y..~.    |
00000a00  20 20 42 45 51 20 68 6c  6f 70 0d 04 88 10 20 20  |  BEQ hlop....  |
00000a10  20 20 20 20 43 50 59 20  23 32 0d 04 92 12 20 20  |    CPY #2....  |
00000a20  20 20 20 20 42 50 4c 20  68 64 73 70 0d 04 9c 12  |    BPL hdsp....|
00000a30  20 20 20 20 20 20 4a 4d  50 20 68 65 6e 64 0d 04  |      JMP hend..|
00000a40  a6 21 2e 68 64 73 70 20  4c 44 58 20 23 68 74 78  |.!.hdsp LDX #htx|
00000a50  74 20 83 20 32 35 36 5c  44 69 73 70 6c 61 79 0d  |t . 256\Display.|
00000a60  04 b0 23 20 20 20 20 20  20 4c 44 59 20 23 68 74  |..#      LDY #ht|
00000a70  78 74 20 81 20 32 35 36  5c 48 45 4c 50 20 74 65  |xt . 256\HELP te|
00000a80  78 74 0d 04 ba 12 20 20  20 20 20 20 4a 53 52 20  |xt....      JSR |
00000a90  6d 65 73 73 0d 04 c4 23  2e 68 65 6e 64 20 4c 44  |mess...#.hend LD|
00000aa0  41 20 73 74 6f 72 20 20  20 20 20 20 20 20 20 5c  |A stor         \|
00000ab0  52 65 73 74 6f 72 65 0d  04 ce 25 20 20 20 20 20  |Restore...%     |
00000ac0  20 4c 44 58 20 73 74 6f  72 2b 31 20 20 20 20 20  | LDX stor+1     |
00000ad0  20 20 5c 72 65 67 69 73  74 65 72 73 0d 04 d8 24  |  \registers...$|
00000ae0  20 20 20 20 20 20 4c 44  59 20 73 74 6f 72 2b 32  |      LDY stor+2|
00000af0  20 20 20 20 20 20 20 5c  61 6e 64 20 70 61 73 73  |       \and pass|
00000b00  0d 04 e2 1f 20 20 20 20  20 20 4a 4d 50 20 28 68  |....      JMP (h|
00000b10  72 65 74 29 20 20 20 20  20 20 20 5c 6f 6e 2e 0d  |ret)       \on..|
00000b20  04 ec 07 5d 3a ed 0d 04  f6 0a d6 20 69 6e 69 74  |...]:...... init|
00000b30  0d 05 00 05 e0 0d ff                              |.......|
00000b37
P/DFSsrc.m0
P/DFSsrc.m1
P/DFSsrc.m2
P/DFSsrc.m4
P/DFSsrc.m5