15 VTAB 12: HTAB 3: PRINT "YOU DO NOT HAVE AN EIGHTY-COLUMN": HTAB 3: PRINT "CARD. PRO DISK UTILITIES REQUIRES": HTAB 3: PRINT "EIGHTY COLUMNS. PRESS A KEY TO EXIT.": GET K$: PRINT CHR$(4)"BYE"
16 IF PEEK(64435) = 6 AND PEEK(64448) < >234 THEN 18
17 VTAB 12: HTAB 3: PRINT "YOU DO NOT HAVE AN ENHANCED APPLE.": HTAB 3: PRINT "PRO DISK UTILITIES REQUIRES": HTAB 3: PRINT "THIS. PRESS A KEY TO EXIT.": GET K$: PRINT CHR$(4)"BYE"
35 DIM PM(20),ST(20): REM ARRAY OF PARMS, STRING TO SEARCH
36 UN = 0: REM UNIT # OF PR$ (DSSS 0000)
37 AC = 0: REM LOCATION OF ASCII DUMP
38 HX = 0: REM LOCATION OF HEX DUMP
39 FD = 253: REM $FD, LOCATION OF LINE # (0= 1-16)
40 FE = 254: REM $FE, LOW BYTE OF .5K BUFFER
41 FF = 255: REM $FF, PAGE OF .5K BUFFER TO DUMP
42 HP = 0: REM LOCATION OF 2-BYTE HEX PRINTER
43 BK = 0: REM CURRENT BLOCK #
44 TB = 0: REM TOTAL BLOCKS IN VOLUME
45 MD = 0: REM CURRENT DISPLAY MODE (0=HEX,1=ASCII)
46 B1 = 0: REM CURRENT BYTE POINTED TO IN BUFFER
47 B2 = 0: REM OLD BYTE POINTED TO IN BUFFER
48 PP = 0: REM LOCATION OF POINTER PRINTER
49 HL = 1: REM LOW/HIGH ASCII (0=LOW,1=HIGH)
50 SC = 0: REM LOCATION OF SEARCH ROUTINE
51 H1 = 0: REM LOCATION OF 1-BYTE HEX PRINTER
52 BB = 0:EB = 0: REM BEGINNING, ENDING BLOCKS
53 BX = 0:BY = 0: REM PAGE NUMBERS OF DATA BUFFERS 2&3
54 VR = 0: REM LOCATION OF VERIFY ROUTINE
55 MP = 0: REM LOCATION OF MAP PRINTER
56 BR = 0: REM LOCATION OF BIT BREAK ROUTINE
57 PT = 804: REM LOCATION OF PATH OF FILE
58 BS = 0:BL = 0: REM LOCATION OF BIT ROUTINES
59 REM
60 REM *** 80 COLUMNS ***
61 PRINT CHR$(4)"PREFIX": INPUT GG$: IF LEFT$(GG$,3) < >"/SD" THEN 70
62 GOSUB 55000: VTAB 11: HTAB 10: PRINT "WARNING: THIS UTILITY IS DANGEROUS.": HTAB 10: PRINT "IT MAY BE UNWISE TO RUN IT ON SOFTDISK.": PRINT : HTAB 10: PRINT "PRESS A KEY.": POKE -16368,0: WAIT -16384,128: GET K$: TEXT : HOME
70 RESTORE : FOR X = 1 TO 13: READ N,A$: NEXT
74 DATA 1,"BAD",4,"TXT",6,"BIN",15,"DIR",25,"ADB",26,"AWP",27,"ASP",239,"PAS",240,"CMD",252,"BAS",253,"VAR",254,"REL",255,"SYS"
76 REM
77 REM *** SET UP MLI CALLER ***
79 REM
80 FOR A = 0 TO 15: READ B: POKE ML +A,B: NEXT A
81 DATA 32,0,191,0,0,0,144,3,133,255,96,169,0,133,255,96
82 REM
83 REM *** SET UP ASSEMBLY ROUTINES ***
84 REM
85 BF = 123:BX = 125:BY = 127
86 AC = BF *256 +1536:HP = AC +179:HX = BF *256 +1792:H1 = HX +153:PP = HX +159:SC = BF *256 +2048:VR = BF *256 +2213:MP = BF *256 +2304:BR = MP +65:BS = AC +192:BL = AC +199
87 REM
88 REM *** GET VOLUME, GO TO MENU"
89 REM
90 POKE 216,0: GOTO 50000
91 REM
95 REM
96 REM ---------------------
97 REM * TOP LINE SETUP
98 REM ---------------------
99 REM
100 HOME : VTAB 1: HTAB 1: PRINT " ";
105 VTAB 1: HTAB 1: IF PR$ = "" THEN PRINT "No volume selected";: GOTO 115
351 VTAB 21: HTAB 9: PRINT "PRESS <RET> TO PRINT TO SLOT ";PS;" OR <ESC> TO PRINT TO SCREEN: ";: GET A$: PRINT : IF A$ > <R$ AND A$ > <E$ THEN GOTO 351
352 IF A$ = R$ THEN PRINT D$;"PR#";PS: RETURN
353 RETURN
355 REM
356 REM --------------------
357 REM * PRINTER OFF
358 REM --------------------
359 REM
360 IF PS = 0 THEN RETURN
361 PRINT D$;"PR#0": RETURN
390 REM
391 REM --------------------
392 REM * CALL MLI
393 REM --------------------
394 REM
400 POKE ML +3,CD: POKE ML +5,PL/256: POKE ML +4,PL -256 * PEEK(ML +5)
23810 HOME : VTAB 5: HTAB 1: PRINT "A fatal error has been detected in attempting to recover ";Z$;" using": VTAB 7: HTAB 1: PRINT "recovery method number ";M;". Undelete attempt has been aborted. It is possible"
23820 VTAB 9: HTAB 1: PRINT "that damage has been done to the volume used in the recovery process. It is": VTAB 11: HTAB 1: PRINT "recommended that all files be copied to another volume and the original volume"
23825 VTAB 13: HTAB 1: PRINT "be reformatted in an attempt to recover as much data as possible."
23827 GOSUB 280: GOTO 20000
23830 HOME : VTAB 7: HTAB 1: PRINT "As a result of testing recovery method ";M;" on the file ";Z$;", a fatal": VTAB 9: HTAB 1: PRINT "error has been detected. The cause could either be that the file cannot be"
23835 VTAB 11: HTAB 1: PRINT "undeleted or that the file can be undeleted using another method."
23840 GOTO 23827
23900 IF C = 0 THEN GOTO 23950
23905 HOME : VTAB 8: HTAB 1: PRINT "The file ";Z$;" has been undeleted. ";
23910 IF G THEN GOTO 23930
23915 PRINT "The file has no allocation": VTAB 10: PRINT "conflicts with any other files. No damage to any other files has occurred.": GOSUB 280: GOTO 20000
23930 PRINT "However, the file has ";G;" block": VTAB 10: HTAB 1: PRINT "allocation conflicts with other files. It is recommended that all files be"
23935 VTAB 12: HTAB 1: PRINT "copied to another volume in an effort to recover as much data as possible."
23940 GOSUB 280: GOTO 20000
23950 HOME : IF G THEN 23975
23952 VTAB 8: HTAB 1: PRINT "The file ";Z$;" can be undeleted with no block allocation conflicts": VTAB 10: HTAB 1: PRINT "with other files using method number ";M;"."
23955 VTAB 21: HTAB 7: PRINT "DO YOU WISH TO UNDELETE THE FILE USING METHOD NUMBER ";M;" (YES/NO): ";:L = 3:S$ = "": GOSUB 200: IF E THEN 20000
23960 IF B$ = "YES" THEN N = M:C = 1: VTAB 21: HTAB 1: FOR X = 1 TO 78: PRINT " ";: NEXT : PRINT : VTAB 21: HTAB 1: PRINT "NOW UNDELETING THE ABOVE FILE USING METHOD NUMBER ";M;": $";: GOTO 23095
23965 IF B$ = "NO" THEN GOTO 20000
23970 GOTO 23955
23975 VTAB 8: HTAB 1: PRINT "The file ";Z$;" can be undeleted. However, ";G;" block allocation ": VTAB 10: HTAB 1: PRINT "conflicts exist. Undeleting this file could damage other files."
24041 VTAB 7: HTAB 5: PRINT "Storage type: ";:N = INT(ST(0)/16): IF N = 1 THEN PRINT "Seedling";
24042 IF N = 2 THEN PRINT "Sapling";
24043 IF N = 3 THEN PRINT "Tree";
24044 IF N = 13 THEN PRINT "Subdirectory";
24045 IF N = 14 THEN PRINT "Subdirectory header": VTAB 10: HTAB 1: PRINT "ERROR... NOT A FILE OR SUBDIRECTORY. PRESS ANY KEY: ";: GET A$: PRINT : GOTO 20000
50045 VTAB 16: HTAB 17: PRINT "Copyright (c) 1988. Published on Softdisk #87."
50046 VTAB 17: HTAB 9: PRINT "Subscriptions 1-800-831-2694. Changing this notice is illegal."
50050 VTAB 21: HTAB 23: PRINT "Insert disk(s). Press any key: ";: GET A$: GOTO 2000
55000 TEXT : HOME : COLOR= 10: VLIN 0,47 AT 0: VLIN 0,47 AT 39: HLIN 0,38 AT 0: HLIN 0,39 AT 46: RETURN
60000 REM PROGRAM ADJUSTER
60005 REM ******************************
25960 editor, send us a text file on a disk and you'll come out ahead.<CTRL-0x0d>^P<CTRL-0x0d>All program submissions should be accompanied by a _program submission form". If your printer is online, you can make one right now by pressing P.<CTRL-0x0d><CTRL-0x0d>You've got nothing to lose (zip, scratch, total void of anything) and everything to gain (money, groupies, money, glamour, and money). Why not join the fun? Send us something today.<CTRL-0x0d>~e<CTRL-0x0d>^S155,4,30,168<CTRL-0x0d>^T159,1,37<CTRL-0x0d>~cEnd of Submissions text<CTRL-0x0d> VALBLOOP