2016-11-01 21:37:12 +00:00
|
|
|
|
PR#3
|
2017-03-29 15:48:15 +00:00
|
|
|
|
PREFIX /A2OSX.BUILD
|
2016-11-01 21:37:12 +00:00
|
|
|
|
NEW
|
|
|
|
|
INC 1
|
|
|
|
|
AUTO 6
|
|
|
|
|
.LIST OFF
|
|
|
|
|
.OP 65C02
|
|
|
|
|
.OR $2000
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.TF /A2OSX.BUILD/BIN/MV
|
2016-11-01 21:37:12 +00:00
|
|
|
|
*--------------------------------------
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.INB /A2OSX.BUILD/INC/MACROS.I
|
|
|
|
|
.INB /A2OSX.BUILD/INC/A2OSX.I
|
|
|
|
|
.INB /A2OSX.BUILD/INC/MLI.ERR.I
|
2016-11-01 21:37:12 +00:00
|
|
|
|
*--------------------------------------
|
2017-02-22 16:32:02 +00:00
|
|
|
|
X.COPY.TO.DEST .EQ 1
|
2016-11-01 21:37:12 +00:00
|
|
|
|
X.DELETE.SOURCE .EQ 1
|
|
|
|
|
*--------------------------------------
|
2017-03-29 15:48:15 +00:00
|
|
|
|
.INB /A2OSX.SRC/BIN/X.CPMVRM.S
|
|
|
|
|
.INB /A2OSX.SRC/BIN/X.FILEENUM.S
|
2016-11-01 21:37:12 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
CS.END
|
|
|
|
|
*--------------------------------------
|
2017-06-23 12:04:39 +00:00
|
|
|
|
OptionList >PSTR "CRYQcryq"
|
|
|
|
|
OptionVars .DA #bContinue,#bRecurse,#bNoConfirm,#bQuiet,#bContinue,#bRecurse,#bNoConfirm,#bQuiet
|
2016-11-01 21:37:12 +00:00
|
|
|
|
*--------------------------------------
|
2017-06-23 12:04:39 +00:00
|
|
|
|
MSG.USAGE >CSTR "Usage : MV [Src File/Dir, *,? wildcards allowed]\r\n -C : Continue on error\r\n -Q : Quiet\r\n -R : Recurse subdirectories\r\n -Y : Dont't prompt for override\r\n"
|
2017-06-27 16:00:32 +00:00
|
|
|
|
MSG.DIR >CSTR "MV Dir :%S to %S..."
|
|
|
|
|
MSG.FILE >CSTR "MV File:%S to %S..."
|
2017-07-01 13:45:53 +00:00
|
|
|
|
MSG.OVERWRITE >CSTR "Overwrite %S [Yes,No,All]?"
|
2017-08-22 06:37:03 +00:00
|
|
|
|
MSG.OK >CSTR "[OK]\r\n"
|
|
|
|
|
MSG.ERR >CSTR "[%h]\r\n"
|
|
|
|
|
MSG.DONE >CSTR "%D File(s) Moved.\r\n"
|
2016-11-01 21:37:12 +00:00
|
|
|
|
*--------------------------------------
|
|
|
|
|
.DUMMY
|
|
|
|
|
.OR 0
|
|
|
|
|
DS.START
|
|
|
|
|
bContinue .BS 1
|
|
|
|
|
bRecurse .BS 1
|
|
|
|
|
bNoConfirm .BS 1
|
2017-06-23 12:04:39 +00:00
|
|
|
|
bQuiet .BS 1
|
2017-10-04 15:12:03 +00:00
|
|
|
|
.INB /A2OSX.SRC/BIN/X.CPMVRM.G
|
|
|
|
|
.INB /A2OSX.SRC/BIN/X.FILEENUM.G
|
|
|
|
|
|
2016-11-01 21:37:12 +00:00
|
|
|
|
DS.END
|
|
|
|
|
.ED
|
|
|
|
|
*--------------------------------------
|
|
|
|
|
MAN
|
2017-03-29 15:48:15 +00:00
|
|
|
|
SAVE /A2OSX.SRC/BIN/MV.S
|
2016-11-01 21:37:12 +00:00
|
|
|
|
ASM
|