Jump to content
OLD CS1

Disk Backup v2.1 by Wolfgang Bertsch and disk images (with a side of SMTP operations)

Recommended Posts

4 minutes ago, mizapf said:

The 0170 in the first line means "368 (=0x170) sectors in this file". Hence, the file is 2 KiB too long, padded with 00.

So is that being done by the HDX transfer?  I had determined that I am going to have to pull the SD card from my SCSI2SD, so I should have an image to review sometime this weekend.

Share this post


Link to post
Share on other sites
46 minutes ago, mizapf said:

The 0170 in the first line means "368 (=0x170) sectors in this file". Hence, the file is 2 KiB too long, padded with 00.

The image file at the TI side also indicates 368 sectors length.

Share this post


Link to post
Share on other sites
33 minutes ago, mizapf said:

And this file is created by Wolfgang's tool?

Yes.

Share this post


Link to post
Share on other sites

I just backed up a SSSD disk from DSK2 to a floppy disk on DSK1, and as a result I get a file with 361 sectors.

Screenshot_20220114_234246.png

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, mizapf said:

I just backed up a SSSD disk from DSK2 to a floppy disk on DSK1, and as a result I get a file with 361 sectors.

Screenshot_20220114_234246.png

Is that an image file, or disk to disk?

Share this post


Link to post
Share on other sites

I loaded the SSSD disk into DSK2 (named "DISK01_1") and put the "meinedisk.dsk" into DSK1. Then I ran DSKBACKUP and selected "backup" from DSK2 to DSK1. (All done in MAME, of course.)

Share this post


Link to post
Share on other sites
2 minutes ago, mizapf said:

I loaded the SSSD disk into DSK2 (named "DISK01_1") and put the "meinedisk.dsk" into DSK1. Then I ran DSKBACKUP and selected "backup" from DSK2 to DSK1. (All done in MAME, of course.)

I expect that would work fine.  It is the creation of a disk image which is giving errant results.  e.g. source DSK1 to SCS2.DSKIMAGE.TILES99

 

The TILES99 file created is 2k too long, padded with >00.  I can restore from the image to a formatted disk without issue.

Share this post


Link to post
Share on other sites

And when you copy that image file to a floppy disk? I noticed that the 368 sectors on the IDE drive turned to 361 on the floppy drive after I copied it with DM2K. The reason for that is supposedly the AU size of the IDE drive (you can only allocate multiples of 8 sectors).

 

Edit: I have some problems copying a disk to the SCSI drive; after the first 24 sectors are copied (seems to be one pass), I always get a "image error 6". As you obviously succeeded here, I'll have to do some bug hunting.

Share this post


Link to post
Share on other sites
5 hours ago, mizapf said:

I have some problems copying a disk to the SCSI drive; after the first 24 sectors are copied (seems to be one pass), I always get a "image error 6". As you obviously succeeded here, I'll have to do some bug hunting.

I have been running into this occasionally, as well.  But I ruled that to being a problem with my SD card as it tends to happen irrespective of what program I am using.

 

I should be able to give more details on the process tomorrow as I can make it into the office.

Share this post


Link to post
Share on other sites

Here is the image file when created from DSK1 to SCS2, file size is 368.

DSC05064.thumb.JPG.b29b12a866f0a3077d9acadd3571b74a.JPG

 

 

And the image file after being copied to DSK1, file size is 369.

DSC05065.thumb.JPG.29c914eb0433f63102e0b6a98441d5f9.JPG

 

The rest of the process is in the previous Zip file.

Share this post


Link to post
Share on other sites

Hmm, right now I can only check this in MAME with an IDE drive; SCSI reproducibly gives me Image error 6. I just tried it again - when I dump DSK2 on IDE1, I get a 368 sector file, and when I copy it with DM2K to DSK1, the resulting file has 361 sectors. 😕

 

  • Confused 1
  • Sad 1

Share this post


Link to post
Share on other sites

 

This is what Wolfgang answered. See my translation below:

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

DiskBackup erstellt am TI eine exakte Kopie des Inhalts einer Diskette
im DF128 Format.  Damit entsteht bei einer SSSD Diskette eine 90kB große
Datei mit 360 belegten Sektoren. Da diese Datei ja am TI  auch eine FDR
hat und dieser mitgezählt wird, zeigt sie ein Diskmanager mit 361
belegten Sektoren an. Wird eine solche Datei auf den PC übertragen, weiß
das übertragende Programm nichts davon, daß es sich um ein Disk Image
handelt und setzt einen TIFILES Header mit TI Namen und Format davor. Am
PC sind die Datenblöcke einer Datei 1kB groß. Damit entsteht dort ein
91kB große Datei. Man sollte also bei der Übertragung auf den PC darauf
achten, daß nur die reine Daten ohne Header übertragen werden. Der MFM
hat im Setup eine Option dafür. Bei anderen Programmen weiß ich leider
nicht, ob und wie das geht. Bei der Rückübertragung auf den TI kommt ein
Image, egal, ob mit oder ohne TIFILES Header mit 361 Sektoren an und
sollte dann vom DiskBackup auch wieder sauber auf eine Disk geschrieben
werden.

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

DiskBackup 2.1 creates an exact copy (image) of a floppy disks´ content in DF128 format on the TI-99.
For instance, with a SSDD floppy disk,  a file of 90KB with 360 filled sectors is created.
Because this file also uses a counted (extra) FDR,  DiskManagers will show 361 used sectors.

 

If you transfer this image-file to the PC now, the transferring tools does not know about
this circumstance (that it is an image-file) and adds the TIFILES header with TI Name and Format.
Data blocks on PC are of 1 KB size, so on the PC you will have a file with 911 KB as result.
Due to this, you should pay attention *not* to transfer the header, just data only.


The MFM (Magic File Manipulator) has this as an option. For other tools, I do not know about.

If you transfer such an image file - with or without header - back to the TI-99, it has 361 sectors  there
and the DiskBackup 2.1-Tool will safely write it back to a floppy disk.

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 

Share this post


Link to post
Share on other sites

Unfortunately, this does not seem to be the actual problem; I also got a similar answer. Wolfgang is currently looking for his sources of the latest DiskBackup to send me a copy.

  • Like 1

Share this post


Link to post
Share on other sites

@mizapf I agree with the statement: "We could need a proper name for that. "

 

As you know, this started out with XMODEM needing a way to place files on a BBS and then get them back properly. Then it expanded to whole diskettes pc99, v9t9, etc.

 

Since you have already done a great deal of leg work with chadman and TI Image Tool I hope you will consider creating a new thread of the various format that you know about, that others folks can added to and enhance when things come up.

Share this post


Link to post
Share on other sites

Giving formats a name is not so easy if your name is not IETF, ISO, DIN or whatever. I suggested things like that in the past now and then, and it shows that people tend to stick to the familiar naming after all.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...