Ruud
2011-06-07 06:20:43 UTC
Hallo allemaal,
I have a project that enables someone to replace the floppy drive of a
Commodore 1541 drive with an IDE hard disk drive. 170 KB versus up to
128 GB :) To keep the workload for the onboard computer ( 1 MHz 6502,
2 KB RAM) to a minimum I only use LBA drives and kept the original
Commodore file system.
First problem: filling the HD with data. Copying floppies in the old
way is sloooow. I made images of most of my floppies anyway and these
are stored on my PC. So I solved the problem by using a removable hard
disk. I bought two and placed one case in the 1541 and the other in a
PC. Of course the PC is not familiar with the Commodore FS so I wrote
a Pascal program that enables me to exchange data with the HD using
direct I/O programming.
It has occured to me to use INT 13h to read/write sectors but AFAIK
INT 13h only supports only the Cylinder/Head/Sector mode. But
yesterday I found out about AH=42h: Extended Read Sectors From Drive,
source: Wikipedia. Promising but.... what is it counterpart; writing
sectors?
Any other ideas are welcome as well!
Kind regards, Ruud Baltissen
I have a project that enables someone to replace the floppy drive of a
Commodore 1541 drive with an IDE hard disk drive. 170 KB versus up to
128 GB :) To keep the workload for the onboard computer ( 1 MHz 6502,
2 KB RAM) to a minimum I only use LBA drives and kept the original
Commodore file system.
First problem: filling the HD with data. Copying floppies in the old
way is sloooow. I made images of most of my floppies anyway and these
are stored on my PC. So I solved the problem by using a removable hard
disk. I bought two and placed one case in the 1541 and the other in a
PC. Of course the PC is not familiar with the Commodore FS so I wrote
a Pascal program that enables me to exchange data with the HD using
direct I/O programming.
It has occured to me to use INT 13h to read/write sectors but AFAIK
INT 13h only supports only the Cylinder/Head/Sector mode. But
yesterday I found out about AH=42h: Extended Read Sectors From Drive,
source: Wikipedia. Promising but.... what is it counterpart; writing
sectors?
Any other ideas are welcome as well!
Kind regards, Ruud Baltissen