Covert Bitops C64 Tools
- Size
- 1.4M (1,478,835 bytes)
- Added
- 2026-11-20 02:43
- Downloads
- 1
- Long Description
- Covert Bitops C64 tools collection, now all (except GoatTracker) in one package! The graphical tools use now SDL and all utilities have been verified to compile both under MinGW (Win32), Linux and AmigaOS4. For filesize reasons, precompiled binaries exist only for AmigaOS4. Use makefile.aos4 to recompile for AmigaOS4. Use makefile to recompile for Linux and makefile.win to recompile for MinGW /spot Commandline utilities for C64 crossdevelopment ---------------------------------------------- Utilities written by Lasse Öörni (loorni()student.oulu.fi) CovertBitOps C64 page: http://covertbitops.cjb.net PRG2BIN.EXE ----------- Usage: PRG2BIN infile outfile [bytes to strip, default 2] This program removes a certain amount of bytes from the beginning of the input file and saves it as the output file. With the default setting of 2 bytes, it converts PRG files into raw binary files. PRG2D64.EXE ----------- Usage: PRG2D64 diskimage c64filename dosfilename [interleave] This program reads the file indicated by dos filename, and writes it to the D64 diskimage given, with the desired c64 filename. Use the underscore _ to represent blanks in the c64 filename. Interleave can be given as a parameter. By default it's 10. D642PRG.EXE ----------- Usage: D642PRG diskimage c64filename dosfilename This program does the opposite, it extracts the c64 file from the diskimage and writes it to a file indicated by dos filename. Like above, use the underscore _ to represent blanks in the c64 filename. D64REN.EXE ---------- Usage: D64REN diskimage oldname newname This program renames one file on a D64 diskimage. Use the underscore _ to represent blanks in the filenames. MAKEDISK.EXE ------------ Usage: MAKEDISK diskimage commandfile [diskname] [interleave] This program creates a D64 diskimage from scratch, reading dos filename c64 filename pairs from the commandfile and writing those files on the image. A disk name and the sector interleave (10 is the default) can be optionally given. Fiddling with the interleave is nice when trying to find the optimal loading speed (minimal sector read waiting time) for an IRQ-loader. Use the underscore _ to represent blanks in the c64 filenames. Example of a commandfile: (from the BOFH game) bofh.pak BOFH_V1.0 instr.pak BOFH_MANUAL hiscore.bin BOFH_HISCORE So, bofh.pak is written on the image as BOFH V1.0, instr.pak as BOFH MANUAL and hiscore.bin as BOFH HISCORE. C64PACK.EXE ----------- Usage: C64PACK infile outfile [switches] Switches: -r Raw input and output file (no start address) Packs a C64 file using my quite ineffective string-pack algorithm. (the only good side is that the depacker is short). The input and output file can even be same, because input file is first totally stored in memory. If the -r switch is given, the input file is assumed to be a raw binary file without the 2-byte starting address (like in PRG files) and the output file will be raw binary also. Otherwise, the output file contains the same start address as the input file. C64UNP.EXE ---------- Usage: C64UNP infile outfile This program reverses the compression done by above program. NOTE: this program can only handle files with startaddress! PACKPRG.EXE ----------- Usage: PACKPRG infile outfile execution address in hexadecimal This program packs an executable PRG file with the above mentioned algorithm and adds a depacker, making the file startable with a RUN command. The depacker will start the executable with a JMP to the execution address, with the value $37 in memory location $01 (enable Basic ROM, Kernal ROM and I/O area) This program needs the file DEPACK.S (depacker source code in DASM source code format) in the current directory and DASM.EXE in the path, because it invokes DASM to assemble the depacker and link it with the packed executable data. BENTON64.EXE ------------ Usage: BENTON64 infile outfile [switches] Switches: -hXX Clip picture height to XX -wXX Clip picture width t