home *** CD-ROM | disk | FTP | other *** search
- 27DB CD 0E RENAME patch for DR LOGO (v2.0). By J. Elliott, May 1993.
- 27DC 05 98 Instructions:
- 27DD 85 11 1. Store the old filename (eg FILE.LOG) at addresses 128 onwards.
- 27DE DC 16 End it with a zero (char 0).
- 27DF FF 27 2. Store the new filename at addresses 144 onwards and end with
- 27E1 B8 05 char 0.
- 27E2 24 00 3. Execute the primitive 'changef' with no inputs.
- 27E3 21 24 4. If .examine 91 is 0, no problems were encountered. Otherwise,
- 27E4 14 3E if .examine 91 is:
- 27E5 00 01 1: Old filename is invalid.
- 27E6 39 28 2: New filename is invalid.
- 27E7 44 28 3: Old file not found (or write-protected).
- 27E8 4D 0E 4: New file already exists.
- 27E9 E5 98
- 27EA CD 11 An example procedure is already on this disc, called RENAME.LOG.
- 27EB FA 1A The syntax for this procedure is 'rename "newfile "oldfile'.
- 27EC 24 27
- 27ED D1 CD
- 27EE C5 05
- 27EF CD 00 9 <-Countdown until completion.
- 27F0 D3 24
- 27F1 24 3E
- 27F2 D1 02
- 27F3 21 28
- 27F4 14 1B 8
- 27F5 00 11
- 27F6 39 6C
- 27F7 7E 00
- 27F8 B7 0E
- 27F9 28 11 7
- 27FA 16 CD
- 27FB 21 05
- 27FC 14 00
- 27FD 00 3C
- 27FE 39 3E 6
- 27FF 5E 04
- 2800 16 20
- 2801 00 0E
- 2802 21 11
- 2803 04 5C 5
- 2805 39 0E
- 2806 6E 17
- 2807 26 CD
- 2808 00 05
- 2809 CD 00 4
- 280A 48 3C
- 280B 85 3E
- 280C 28 03
- 280D 03 28
- 280E CD 01 3
- 280F 3B AF
- 2810 55 32
- 2811 C5 5B
- 2812 21 00
- 2813 17 C3 2
- 2814 00 7C
- 2815 E5 4B
- 2816 CD 80
- 2817 BC 00
- 2818 86 5C 1
- 2819 D1 00
- 281A D1 90
- 281B C3 00
- 281C 7C 6C
- 281D 4B 00 0 - Finished!