diff options
Diffstat (limited to 'v4.0/src/SELECT/XCOPY.EQU')
| -rw-r--r-- | v4.0/src/SELECT/XCOPY.EQU | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/v4.0/src/SELECT/XCOPY.EQU b/v4.0/src/SELECT/XCOPY.EQU new file mode 100644 index 0000000..d3f932d --- /dev/null +++ b/v4.0/src/SELECT/XCOPY.EQU | |||
| @@ -0,0 +1,144 @@ | |||
| 1 | ; | ||
| 2 | ; | ||
| 3 | ;REVISION HISTORY | ||
| 4 | ; | ||
| 5 | ; A005 DCR0201 10/9/87 Incorperate new format for EXTENDED | ||
| 6 | ; ATTRIBUTES. | ||
| 7 | ; | ||
| 8 | ; | ||
| 9 | ;Equates used for flags | ||
| 10 | ; | ||
| 11 | ;*** MY_FLAG **** | ||
| 12 | find_first_flag equ 01h ;AN000;set MY_FLAG by "OR" | ||
| 13 | findfile_flag equ 02h ;AN000; | ||
| 14 | no_more_file equ 04h ;AN000; | ||
| 15 | single_copy_flag equ 08h ;AN000;single copy instead of multi copy | ||
| 16 | visit_parent_flag equ 10h ;AN000;visit parent node | ||
| 17 | found_flag equ 20h ;AN000;found flag - for find subdir | ||
| 18 | missing_link_flag equ 40h ;AN000; | ||
| 19 | is_source_flag equ 80h ;AN000;if set, dealing with source | ||
| 20 | reset_find_first equ 0FEh ;AN000;reset by AND | ||
| 21 | reset_findfile equ 0FDh ;AN000; | ||
| 22 | reset_no_more equ 0FBh ;AN000; | ||
| 23 | reset_visit_parent equ 0EFh ;AN000; | ||
| 24 | reset_found equ 0DFh ;AN000; | ||
| 25 | reset_missing_link equ 0BFh ;AN000; | ||
| 26 | reset_is_source equ 07Fh ;AN000; | ||
| 27 | |||
| 28 | ;*** FILE_FLAG *** | ||
| 29 | cont_flag equ 01h ;AN000; | ||
| 30 | eof_flag equ 02h ;AN000; | ||
| 31 | big_file_flag equ 04h ;AN000; | ||
| 32 | file_bigger_flag equ 08h ;AN000; | ||
| 33 | created_flag equ 10h ;AN000; | ||
| 34 | reset_cont equ 0FEh ;AN000; | ||
| 35 | reset_eof equ 0FDh ;AN000; | ||
| 36 | reset_big_file equ 0FBh ;AN000; | ||
| 37 | reset_file_bigger equ 0F7h ;AN000; | ||
| 38 | reset_created equ 0EFh ;AN000; | ||
| 39 | reset_readfile equ 0F0h ;AN000;reset FILE_FLAG for read a file | ||
| 40 | |||
| 41 | ;*** COPY_STATUS *** | ||
| 42 | open_error_flag equ 01h ;AN000; | ||
| 43 | read_error_flag equ 02h ;AN000; | ||
| 44 | create_error_flag equ 04h ;AN000; | ||
| 45 | write_error_flag equ 08h ;AN000; | ||
| 46 | mkdir_error_flag equ 10h ;AN000; | ||
| 47 | chdir_error_flag equ 20h ;AN000; | ||
| 48 | maybe_itself_flag equ 40h ;AN000;source, target starting drv, directory is same. | ||
| 49 | disk_full_flag equ 80h ;AN000; | ||
| 50 | reset_open_error equ 0FEh ;AN000; | ||
| 51 | reset_read_error equ 0FDh ;AN000; | ||
| 52 | reset_create_error equ 0FBh ;AN000; | ||
| 53 | reset_write_error equ 0F7h ;AN000; | ||
| 54 | reset_close_error equ 0EFh ;AN000; | ||
| 55 | reset_chdir_error equ 0DFh ;AN000; | ||
| 56 | |||
| 57 | |||
| 58 | ;*** ACTION_FLAG *** | ||
| 59 | |||
| 60 | reading_flag equ 01h ;AN000;display "Reading source files..." | ||
| 61 | reset_reading equ 0FEh ;AN000;do not display. | ||
| 62 | |||
| 63 | ;*** SYS_FLAG *** | ||
| 64 | |||
| 65 | one_disk_copy_flag equ 01h ;AN000; | ||
| 66 | default_drv_set_flag equ 02h ;AN000;default drive has been changed by this program | ||
| 67 | default_s_dir_flag equ 04h ;AN000;source current directory saved. | ||
| 68 | default_t_dir_flag equ 08h ;AN000;target current directory saved. | ||
| 69 | removalble_drv_flag equ 10h ;AN000; | ||
| 70 | sharing_source_flag equ 20h ;AN000;source shared | ||
| 71 | sharing_target_flag equ 40h ;AN000; | ||
| 72 | turn_verify_off_flag equ 80h ;AN000;turn the verify off when exit to dos. | ||
| 73 | reset_default_s_dir equ 0FBh ;AN000;reset default_s_dir_flag | ||
| 74 | |||
| 75 | ;*** OPTION_FLAG *** | ||
| 76 | |||
| 77 | slash_a equ 01h ;AN000;soft archieve ? | ||
| 78 | slash_d equ 02h ;AN000;date? | ||
| 79 | slash_e equ 04h ;AN000;create empty dir? | ||
| 80 | slash_m equ 08h ;AN000;hard archieve ? (turn off source archieve bit) | ||
| 81 | slash_p equ 10h ;AN000;prompt? | ||
| 82 | slash_s equ 20h ;AN000;walk the tree? | ||
| 83 | slash_v equ 40h ;AN000;verify on? | ||
| 84 | slash_w equ 80h ;AN000;show "Press any key to begin copying" msg) | ||
| 85 | reset_slash_a equ 0FEh ;AN000;turn off soft archieve | ||
| 86 | reset_slash_m equ 0F7h ;AN000;turn off hard archieve | ||
| 87 | |||
| 88 | ;*** PARM_FLAG *** | ||
| 89 | |||
| 90 | first_parm_flag equ 01h ;AN000;first parm entered in input parm | ||
| 91 | second_parm_flag equ 02h ;AN000;second parm entered. | ||
| 92 | end_of_parm_flag equ 04h ;AN000;end of parm reached | ||
| 93 | copy_onto_itself_flag equ 08h ;AN000;copy onto itself flag | ||
| 94 | cyclic_flag equ 10h ;AN000;cyclic copy flag | ||
| 95 | inv_time_flag equ 20h ;AN000;invalid time | ||
| 96 | inv_date_flag equ 40h ;AN000;invalid date | ||
| 97 | init_error_flag equ 80h ;AN000;critical initialization error. Should abort. | ||
| 98 | |||
| 99 | ;*** PARM1_FLAG *** | ||
| 100 | |||
| 101 | inv_s_path_flag equ 01h ;AN000;invalid source path (path not found) | ||
| 102 | inv_t_path_flag equ 02h ;AN000;invalid target path | ||
| 103 | s_file_flag equ 04h ;AN000;source filename entered | ||
| 104 | t_file_flag equ 08h ;AN000;target filename entered | ||
| 105 | |||
| 106 | ;general equates | ||
| 107 | |||
| 108 | COLON EQU ":" ;AN000;FOLLOWS DRV LTR IN FULL FILESPEC | ||
| 109 | NUL EQU 0 ;AN000;DELIMITER FOR ASCIIZ STRINGS | ||
| 110 | SPACE EQU " " ;AN000;TEST FOR DBCS IN 'F D ' MESSAGE | ||
| 111 | PARAGRAPH EQU 4 ;AN005;TO CONVERT TO/FROM BYTES/PARA. | ||
| 112 | PARA_BOUND EQU 15 ;AN005;BYTES TO ADD FOR PARA. CALCULAT | ||
| 113 | FIXD_HD_SIZ EQU 2 ;AN005;PARA COUNT MINIMUM FOR FILE HDR | ||
| 114 | SYSPRM_EX_MANY EQU 1 ;AN000;TOO MANY OPERANDS ERR FROM PARSE | ||
| 115 | SYSPRM_MISSING_OP EQU 2 ;AN000;MISSING OPERANDS ERR FROM PARSE | ||
| 116 | SYSPRM_DUP_SW EQU 3 ;AN004;INVALID SWITCH R-CODE FROM PARSE | ||
| 117 | F_APPEND EQU 8000H ;AN000; /X status bit in Append | ||
| 118 | NOT_X_APPEND EQU 0 ;AN000; /X NOT ACTIVE | ||
| 119 | ACT_APPEND EQU 0 ;AN000;ACTIVE STATUS OF APPEND | ||
| 120 | D_V_APPEND EQU 0FFH ;AN000;DOS VERSION OF APPEND | ||
| 121 | PSPFCB1_DRV EQU 5Ch ;AN000; | ||
| 122 | PSPFCB2_DRV EQU 6Ch ;AN000; | ||
| 123 | PSPDTA_PARMLEN EQU 80h ;AN000; | ||
| 124 | PSPDTA_PARRSTR EQU 81h ;AN000; | ||
| 125 | BASE_OF_ALPHA_DRV EQU 64 ;AN000;1 => A, 2 => B for drive letter | ||
| 126 | BASE_UPPER_CASE EQU 11011111B ;AN000;"AND"ed will make it to upper case chr | ||
| 127 | ALPHA_A EQU 'A' ;AN000; | ||
| 128 | ;ALPHA_D EQU 'D' ;moved to XCPYINT.MSG file for translation. | ||
| 129 | ALPHA_E EQU 'E' ;AN000; | ||
| 130 | ;ALPHA_F EQU 'F' ;moved to XCPYINT.MSG file for translation. | ||
| 131 | ALPHA_M EQU 'M' ;AN000; | ||
| 132 | ALPHA_S EQU 'S' ;AN000; | ||
| 133 | ALPHA_P EQU 'P' ;AN000; | ||
| 134 | ALPHA_T EQU 'T' ;AN000; | ||
| 135 | ALPHA_V EQU 'V' ;AN000; | ||
| 136 | ALPHA_W EQU 'W' ;AN000; | ||
| 137 | ALPHA_Z EQU 'Z' ;AN000; | ||
| 138 | A_dot EQU '.' ;AN000; | ||
| 139 | path_delim equ '\' ;AN000; | ||
| 140 | drv_delim equ ':' ;AN000; | ||
| 141 | ;********************************************************************** | ||
| 142 | ;DOS_LEVEL EQU 0314h ;VERSION 3.20 | ||
| 143 | ;*************************END OF XCOPY.EQU **************************** | ||
| 144 | \ No newline at end of file | ||