Author Topic: Create Disk Image File  (Read 1685 times)

0 Members and 1 Guest are viewing this topic.

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 644
  • Country: gb
  • PCW since '85
  • Liked: 143
  • Likes Given: 7
Create Disk Image File
« on: 02:17, 03 February 16 »
Hello,


Is there any prog that will allow the creation of a disk image file ACTUALLY ON a PCW?   I assume a .DSK would be OK, or even a 'raw' image.  Anything really.   A prog for a CPC that runs under CP/M might still be OK.


All the ones I know about actually run on a PC.   But someone asks about something that will do the job right on the PCW.


Geoff

Offline KaosOverride

  • 464 Plus
  • *****
  • Posts: 310
  • Country: es
  • Liked: 195
  • Likes Given: 44
Re: Create Disk Image File
« Reply #1 on: 16:11, 03 February 16 »
If you have any C source code, you can try to compile it under CP/M because it should be just an open file, and start outputing a known bunch of chars until you have the DSK.

With some little fight I was cable to compile an Amiga C code for extracting info from an IDE device, working with the Symbiface II IDE, so this should be easier!!

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.306
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1028
  • Likes Given: 2437
Re: Create Disk Image File
« Reply #2 on: 16:25, 03 February 16 »
The problem I see is how do you get your image out of the PCW?


I mean, is he transferring it to a 3.5" disk or via serial port? Otherwise what's the point?

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 644
  • Country: gb
  • PCW since '85
  • Liked: 143
  • Likes Given: 7
Re: Create Disk Image File
« Reply #3 on: 17:51, 03 February 16 »
Sorry, I should have clarified that.


He has a PCW with both 3" and 3.5" drives.   So the images would primarily be of the 3", then transferred via the 3.5".   But could of course be an image of the 3.5, saved to M:, and then moved to PC via a 3.5" disk.   Of course, easier to do the images of the 3.5" disks on the PC to start with!


Geoff

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: Create Disk Image File
« Reply #4 on: 18:11, 03 February 16 »

For example an DSK of a Vortex disc is 761 KB in size....

Then M needs at least 761 KB space (for a 3.5" 80 Track, DS, DS, 0.7 MB disc). But even an 3.5" MS-DOS disc only provides 720 KB. So you would need to compress the DSK at least a little bit.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 644
  • Country: gb
  • PCW since '85
  • Liked: 143
  • Likes Given: 7
Re: Create Disk Image File
« Reply #5 on: 18:18, 03 February 16 »
Hmm, yes.


Good point.


I should have remembered that the size of the disk image MUST be more than the FILE SPACE available on the disk!   Obvious when you think about it!


I'll have to draw that to the attention of the person asking!!


Geoff

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1978
  • Likes Given: 4650
Re: Create Disk Image File
« Reply #6 on: 21:26, 03 February 16 »
Well, one could easily "compress" by not saving empty sectors (filled with &E5) to the DSK, but then it wouldn't be a DSK any longer. So it would need that 'simple uncompress' on PC side.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline FloppySoftware

  • CPC6128
  • ****
  • Posts: 243
  • Country: es
  • The best team: Amstrad PCW, CP/M, and the Z80 cpu.
    • Floppy Software
  • Liked: 234
  • Likes Given: 171
Re: Create Disk Image File
« Reply #7 on: 09:16, 04 February 16 »
You could use Elliott's DSKWRITE to write the DSK on the PCW.

I don't remember if Elliott's DU has DSKs writting capabilities.
floppysoftware.es < NEW URL!!!
cpm-connections.blogspot.com.es

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 644
  • Country: gb
  • PCW since '85
  • Liked: 143
  • Likes Given: 7
Re: Create Disk Image File
« Reply #8 on: 15:11, 04 February 16 »
Hello,


Sorry, but DSKWRITE is not relevant.


This prog is used to write a disk from a DSK image, already created.   It supports a .DQK file as well as a .DSK, which sounded interesting, regarding the file size problems already discussed.


However, we need to create the .DSK file in the first place.   That's the problem.   DSKWRITE doesn't do that, as far as I can see??   Creating the .DQK would be a help too, rather than having to create a DSK and then squeeze it.


Geoff

Offline GeoffB17

  • 6128 Plus
  • ******
  • Posts: 644
  • Country: gb
  • PCW since '85
  • Liked: 143
  • Likes Given: 7
Re: Create Disk Image File
« Reply #9 on: 01:59, 05 February 16 »
Greetings all,


I'd sent a message directly to John Elliott.


I've just got a reply, he says the DU54 system you can get from his website will allow this.


Will not handle any copy protection.


Need 2 @ 720k floppy drives (which my contact does have!).


DU54 will ALSO allow the creation of an 800k format (I assume 10 sectors per track instead of the usual 9) giving a file space of 786k which will be enough for the image file of 768k.


I understand from John's website that DU54 is a pretty big system itself!!   Need to see how it goes??


Thanks all.


Geoff