TeleDisk Import Crash

HxC Floppy emulator support for all others computers...
Post Reply
Martin Hepperle
Posts: 24
Joined: Fri Sep 09, 2016 11:20 am
Location: Germany

TeleDisk Import Crash

Post by Martin Hepperle »

Hi Jeff,

I tried to import a TD0 file into the HxCFloppyEmulator and it crashed. I guess that this specific TD0 uses some special format which has not been encountered during testing. If HxCFloppyEmulator cannot read this format, it would be nice if it could detect this problem and offer a error message instead of crashing.

Attached are two TD0 files from the same source which both crash the software.

Martin
HxC-TD0-Problem-HX-20.zip
(18.57 KiB) Downloaded 244 times

ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Re: TeleDisk Import Crash

Post by ldkraemer »

In looking at the *.TD0 files, it appears they are corrupt, 1 track, on 1 side, and zero bytes.
At least that is how the Imagedisk Utilities see's the file.

Larry

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: TeleDisk Import Crash

Post by Jeff »

Martin Hepperle wrote:
Wed May 22, 2019 9:41 am
Hi Jeff,

I tried to import a TD0 file into the HxCFloppyEmulator and it crashed. I guess that this specific TD0 uses some special format which has not been encountered during testing. If HxCFloppyEmulator cannot read this format, it would be nice if it could detect this problem and offer a error message instead of crashing.

Attached are two TD0 files from the same source which both crash the software.

Martin
HxC-TD0-Problem-HX-20.zip
Not sure if this was related but i made a fix in the td0 loader in the last release. This should be fixed now.
EDIT : Well, it is not... Fixing the crash.

ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Re: TeleDisk Import Crash

Post by ldkraemer »

I'm running Ver v2.4.1.1 and I can load the Hx20boot.td0 Image just fine as a .TD0 or .IMD type file.
40 tracks 2 sides and DD.

Code: Select all

Epson TF-20 / HX-20 boot disk

2002-03-27, fjk

Assuming 1:1 for Binary output
 0/0 250 kbps DD  16x256
      1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16 
      D   D00 D00 D00 D00 D00 D00 D00 D00 D   D   D   D   D   D   D  
 0/1  D   D   D   D   D   D   D   D   D   D   D00 D   D   D   D   D  
 1/0  D   D   D   D   D   D   D   D   D   D   D   D   D   D   D   D  
 1/1  D   D   D   D   D   DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 2/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 2/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 3/0  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 3/1  DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5 DE5
 
HX-20 Info:
40 track double density, 16 sectors of 256 bytes per track/side. The disk geometry is identical to that of the QX-10, so
the first four tracks are reserved for CP/M CCP, BDOS and a large BIOS. Track 4 is the directory and track 39 is not
used. This leaves 278 kByte per disk for use data. A system disk, containing BOOT80.SYS (TF-20 boot file, also
referred to as TFDOS) and DBASIC.SYS (HX-20 Disk basic extension) has about 8 kByte less space.
DEFINITIONS:
#22DISK
BEGIN EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
#INSERT 22DISK DEFINITION HERE
END

#cpmtools
# EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
diskdef eps2
seclen 256
tracks 80
sectrk 16
blocksize 2048
maxdir 64
skew 1
boottrk 8
os 2.2
end

# libdsk
[eps2]
description = EPS2 Epson QX-10 - DSDD 48 tpi 5.25" - 256 x 16
sides = alt
cylinders = 80
heads = 2
secsize = 256
sectors = 16
secbase = 1
datarate = DD

#Flash Floppy
[esp2]
cyls = 80
heads = 2
secs = 16
interleave = 1
bps = 256
id = 1
#rpm = 360
rpm = 300
rate = 250
mode = mfm
iam = no


$ cpmls -f eps2 HX20BOOT.RAW
0:
boot80.sys
copy.utl
dbasic.sys
protect.bin


https://fjkraan.home.xs4all.nl/comp/tf20/hx20boot.zip

Thanks.

Larry

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: TeleDisk Import Crash

Post by Jeff »

The crash issue is now fixed on the repository.

ldkraemer
Posts: 51
Joined: Thu Feb 28, 2013 3:47 am

Re: TeleDisk Import Crash

Post by ldkraemer »

Jeff,
I built ver r1972 on Debian 9.x 64-Bit, and tried to load hx20.td0. I am getting this error message:
Load error! error -2

It does work correctly for Hx20boot.td0.

Will you double check the functionality of r1972 with hx20.td0?

Thanks.

Larry

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: TeleDisk Import Crash

Post by Jeff »

ldkraemer wrote:
Tue Mar 03, 2020 7:23 am
Jeff,
I built ver r1972 on Debian 9.x 64-Bit, and tried to load hx20.td0. I am getting this error message:
Load error! error -2
What did you expect with a corrupted TD0 ? A crash ? :lol:
ldkraemer wrote:
Tue Mar 03, 2020 7:23 am
Will you double check the functionality of r1972 with hx20.td0?
No ! This file is corrupted ! -> Error -2 = BAD FILE.

Post Reply