If you have a good file that other people could use, i.e. a C module, a
batch file or a text document from which others can derive, please share
about it here.
Hi Joseph,
Is there a app that will build d81s
http://www.viceteam.org/plain/NEWS
** C1541 changes
----------------
- You can create D71 and D81 disk images now.
http://www.viceteam.org/vice_10.html#SEC157
Do you think it's possible to write a BAT that would translate a .d64
directly into a .d81?
If that's all you want then the following should work... (see batch below)
Bill
x--- snip ---x
@echo off
if not exist %1.d64 goto USAGE
if "%2"=="" goto BEGIN
goto PROCESS
A Windows XP batch file
to convert d64 to d81 disk images
using c1541.exe
(C) Copyright 2009 Bill Buckels
Use freely but at your own risk.
:BEGIN
if exist %1.d81 (
echo %1.d81 already exists!
echo If you continue, it will be deleted!
echo Press [CTL]+C to exit now or
pause
del %1.d81
)
REM prepare the list of files from the d64
c1541 -attach %1.d64 -dir -quit > %1.lst
REM call ourselves recursively to build the d81
FOR /F "tokens=2,3,4,* delims=, " %%i in (%1.lst) do (
call %0 %1 %%~i %%~j %%k
)
echo Done!
REM clean-up
del %1.lst
goto END
:PROCESS
REM the routine to build the d81 from the d64
REM skip invalid fields
set FILENAME=%2
if "%FILENAME%"=="" goto END
if "%FILENAME%"=="opencbm.dll" goto END
if "%FILENAME%"=="BLOCKS" goto END
REM assume perhaps foolishly that if no d81
REM we make one, otherwise we just add to it
if not exist %1.d81 (
set ID=%3
call c1541 -format %FILENAME%,%ID% d81 %1.d81 9 -quit >NUL
echo Created %1.d81 %FILENAME%,%ID%
goto END
)
NUL
echo Copied %FILENAME% to %1.d81
goto END
:USAGE
echo d642d81.bat (C) Copyright 2009 Bill Buckels
echo %1.d64 not found!
echo Usage is "d642d81 my.d64"
echo Output is "my.d81"
echo Requires c1541.exe (v2.1)
echo Use at your own risk.
:END
x--- snip ---x