My C1P is working with two 3.5" floppy drives (emulating 8" drives).
I found an 8" boot disk image of OS-65D for the C1P and was able to install and get it working using DiskTool.
Many of the other images (e.g. HEXDOS and OS65D tutorial disks) I can only find in 5-1/4" image format.
Is there a way to convert a 5-1/4" image to an 8" image?
Convert 5-1/4" Images to 8"?
-
- Posts: 8
- Joined: Wed Dec 11, 2019 2:35 am
Convert 5-1/4" Images to 8"?
Bought a SuperBoard in 1981. Built Klyball replica with 610 board and floppy drives.
-
- Posts: 341
- Joined: Thu Apr 16, 2015 2:27 pm
- Location: Bronx, NY USA
Re: Convert 5-1/4" Images to 8"?
tranter,
If you can run QBASIC (using either a VM, a real 32-bit or older PC, or something like DOSbox), the following program should convert 5.25-inch .65D images to 8-inch ones:
The file names in the first two lines should of course be changed as appropriate. The destination file (F2$) will be created as a file of the correct length (295,680 bytes) if it doesn't already exist.
If you can run QBASIC (using either a VM, a real 32-bit or older PC, or something like DOSbox), the following program should convert 5.25-inch .65D images to 8-inch ones:
Code: Select all
F1$ = "IMAGE5.65D"
F2$ = "IMAGE8.65D"
OPEN "B", 1, F1$
OPEN "B", 2, F2$
T5$ = STRING$(&H900, 0)
FOR T = 0 TO 39
SEEK #1, T * &H900 + 1
GET #1, , T5$
SEEK #2, T * &HF00 + 1
PUT #2, , T5$
HW$ = RIGHT$(T5$, 4)
SEEK #2, (T + 1) * &HF00 - 3
PUT #2, , HW$
NEXT
LB$ = CHR$(0)
SEEK #2, 77! * &HF00
PUT #2, , LB$
CLOSE
No current OSI hardware
Former programmer for Dwo Quong Fok Lok Sow and Orion Software Associates
Former owner of C1P MF (original version) and C2-8P DF (502-based)
Former programmer for Dwo Quong Fok Lok Sow and Orion Software Associates
Former owner of C1P MF (original version) and C2-8P DF (502-based)
-
- Posts: 8
- Joined: Wed Dec 11, 2019 2:35 am
Re: Convert 5-1/4" Images to 8"?
Many thanks, I will give that a try.
Bought a SuperBoard in 1981. Built Klyball replica with 610 board and floppy drives.
-
- Posts: 8
- Joined: Wed Dec 11, 2019 2:35 am
Re: Convert 5-1/4" Images to 8"?
Just an update that this worked great and I was able to convert a number of OS65D 5.25" disk images to 8" format and run them on my C1P system with 3.5" floppies.
I wrote a Python script that is equivalent to the QBasic program that should run on any system with Python 3. It can be found at https://github.com/jefftranter/6502/blo ... nvert58.py
I wrote a Python script that is equivalent to the QBasic program that should run on any system with Python 3. It can be found at https://github.com/jefftranter/6502/blo ... nvert58.py
Bought a SuperBoard in 1981. Built Klyball replica with 610 board and floppy drives.