Please improve HxC emulator software about D88 image.
Re: Please improve HxC emulator software about D88 image.
"status" field means return codes from disk bios.
Real disk bios return codes for PC-88 and PC-98 is here.
00h , normal
and everything else is an error code or notification.
10h , the data has DDAM
30h , warning 'try to access over final track'
40h , Fault signal from FDD,Recalibrate error
50h , time out error
60h , FDD not ready
70h , detected write protected
a0h , ID CRC error
b0h , Data CRC error
c0h , cannot find specified sector in the track
d0h , cannot find specified cylinder
e0h , cannot find Address Mark
f0h , cannot find DAM or DDAM when reading datas.
so i have never seen any status codes except for 00h or b0h.
'cause D88 images is just sector dumped image.
i wish this information may helps you.
and i'm interesting this topic you wrote in 'Using 1 HxC for 2 floppy drives on a NEC PC-8801'
If someone could port this on PC88 this can be interesting :
http://www.youtube.com/watch?v=p1zP6p9SBLw
PC-88 is z80 cpu,64KB memory and 640x200 line display.
do you think it is possible to port this software to PC-88? poritng fat32 drivers to PC-88 ?
can i get source codes any other PCs ?
kitahei88
Real disk bios return codes for PC-88 and PC-98 is here.
00h , normal
and everything else is an error code or notification.
10h , the data has DDAM
30h , warning 'try to access over final track'
40h , Fault signal from FDD,Recalibrate error
50h , time out error
60h , FDD not ready
70h , detected write protected
a0h , ID CRC error
b0h , Data CRC error
c0h , cannot find specified sector in the track
d0h , cannot find specified cylinder
e0h , cannot find Address Mark
f0h , cannot find DAM or DDAM when reading datas.
so i have never seen any status codes except for 00h or b0h.
'cause D88 images is just sector dumped image.
i wish this information may helps you.
and i'm interesting this topic you wrote in 'Using 1 HxC for 2 floppy drives on a NEC PC-8801'
If someone could port this on PC88 this can be interesting :
http://www.youtube.com/watch?v=p1zP6p9SBLw
PC-88 is z80 cpu,64KB memory and 640x200 line display.
do you think it is possible to port this software to PC-88? poritng fat32 drivers to PC-88 ?
can i get source codes any other PCs ?
kitahei88
Re: Please improve HxC emulator software about D88 image.
the PC-88 seems very similar to the Amstrad CPC hardware (Z80, 64KB,6845, NEC765A...) and hopefully the file selector is already ported to CPCkitahei88 wrote:"status" field means return codes from disk bios.
Real disk bios return codes for PC-88 and PC-98 is here.
00h , normal
and everything else is an error code or notification.
10h , the data has DDAM
30h , warning 'try to access over final track'
40h , Fault signal from FDD,Recalibrate error
50h , time out error
60h , FDD not ready
70h , detected write protected
a0h , ID CRC error
b0h , Data CRC error
c0h , cannot find specified sector in the track
d0h , cannot find specified cylinder
e0h , cannot find Address Mark
f0h , cannot find DAM or DDAM when reading datas.
so i have never seen any status codes except for 00h or b0h.
'cause D88 images is just sector dumped image.
i wish this information may helps you.
and i'm interesting this topic you wrote in 'Using 1 HxC for 2 floppy drives on a NEC PC-8801'
If someone could port this on PC88 this can be interesting :
http://www.youtube.com/watch?v=p1zP6p9SBLw
PC-88 is z80 cpu,64KB memory and 640x200 line display.
do you think it is possible to port this software to PC-88? poritng fat32 drivers to PC-88 ?
can i get source codes any other PCs ?
kitahei88
![Wink ;-)](./images/smilies/icon_wink.gif)
Yes this is possible. i am using SDCC with some assembly code. What you need to do is: make a crt0.s for PC88 to make SDCC compatible with it (this is maybe already done), change some low level call (floppy, keyboard & screen)...
Drop me an email to get the sources:
https://hxc2001.com/contactus/
Re: Please improve HxC emulator software about D88 image.
Is it possible to write files into or change files in a D88-Images with the SD HxC Floppy Drive Emulator?
Best regards
Christian
Best regards
Christian
Re: Please improve HxC emulator software about D88 image.
Christian,
I am not sure to understand the question.
But if you need to modify a d88 image file, some tools are already available for Windows.
If you want to write on the d88 image (for example when you save within a game) then the answer in yes but you have to use SD HxC (USB HxC does not support this).
The only thing that cannot been done (yet) is formating a disk : maybe possible with rev.C of the board
Understand also that the d88 image is not loaded directly into HxC, as you need to convert it.
I am not sure after how you can convert it back to d88.
I am not sure to understand the question.
But if you need to modify a d88 image file, some tools are already available for Windows.
If you want to write on the d88 image (for example when you save within a game) then the answer in yes but you have to use SD HxC (USB HxC does not support this).
The only thing that cannot been done (yet) is formating a disk : maybe possible with rev.C of the board
![Surprised :o](./images/smilies/icon_surprised.gif)
Understand also that the d88 image is not loaded directly into HxC, as you need to convert it.
I am not sure after how you can convert it back to d88.
mdefycp wrote:Is it possible to write files into or change files in a D88-Images with the SD HxC Floppy Drive Emulator?
Best regards
Christian
Thanks for your answer.
I understand that I have to convert it to hfe-format to be able to use it with the SD Emu.
So, I've still 2 questions:
1) Is it possible to "copy files into" a hfe-Image? or
Is there a "Virtual Drive"-Tool for hfe-Images?
I want to exchange file between PC and PC9801 (UV11) (and vice versa).
2) What tools do you use to create dump files of the floppy disk or analyze the disk? (samdisk?)
I have a lot of disks for UV11 (no games, only data) that I need to dump.
I think there are a few disks with 360rpm 500 kbit/s (1.2MB). My PC isn't able to read those disks with the internal drive. I've a Teac FD-05PUW (USB) which is able to read a few of those disks. So I'm able to dump those disks to raw-image-files. If I write it back to a new disk these disk will not work in my PC-9801. So it seems to be a problem with the rpm / disk format.
I understand that I have to convert it to hfe-format to be able to use it with the SD Emu.
So, I've still 2 questions:
1) Is it possible to "copy files into" a hfe-Image? or
Is there a "Virtual Drive"-Tool for hfe-Images?
I want to exchange file between PC and PC9801 (UV11) (and vice versa).
2) What tools do you use to create dump files of the floppy disk or analyze the disk? (samdisk?)
I have a lot of disks for UV11 (no games, only data) that I need to dump.
I think there are a few disks with 360rpm 500 kbit/s (1.2MB). My PC isn't able to read those disks with the internal drive. I've a Teac FD-05PUW (USB) which is able to read a few of those disks. So I'm able to dump those disks to raw-image-files. If I write it back to a new disk these disk will not work in my PC-9801. So it seems to be a problem with the rpm / disk format.
Hi,
In you can generate a msdos hfe from a folder on your pc : all files into the folder will be into the hfe.
1) Is it possible to "copy files into" a hfe-Image? or
Is there a "Virtual Drive"-Tool for hfe-Images?
I want to exchange file between PC and PC9801 (UV11) (and vice versa).
Try to use the HxC Floppy Emulator dump feature:2) What tools do you use to create dump files of the floppy disk or analyze the disk? (samdisk?)
Best is to make an image (d88 or other) of your disk.
Use DITT (some other exists) with a DOS boot disk and a genuine floppy drive (not USB).
And be sure to activate "mode 3" within the bios of your motherboard (I hope your PC is a old enough as newer ones removed everything related to floppy drives).
Another solution is to make the image directly on your PC-98.
I have also heard of way to transfer data from your PC-98 to PC using a serial cable (I dit a lomg time ago it to transfer machine roms).
Then you will be able to "add" files into this image or read it directly with a soft.
This same image could be read back on the real PC-98 using HxC, but I am not sure support is done for the UV series (if it uses VFO, then it won't work).
Use DITT (some other exists) with a DOS boot disk and a genuine floppy drive (not USB).
And be sure to activate "mode 3" within the bios of your motherboard (I hope your PC is a old enough as newer ones removed everything related to floppy drives).
Another solution is to make the image directly on your PC-98.
I have also heard of way to transfer data from your PC-98 to PC using a serial cable (I dit a lomg time ago it to transfer machine roms).
Then you will be able to "add" files into this image or read it directly with a soft.
This same image could be read back on the real PC-98 using HxC, but I am not sure support is done for the UV series (if it uses VFO, then it won't work).
Namida88 wrote:Best is to make an image (d88 or other) of your disk.
Use DITT (some other exists) with a DOS boot disk and a genuine floppy drive (not USB).
This can be done directly with the hxc floppy emulator software on windows now :
https://hxc2001.com/floppy_drive_emulat ... r_soft.zip
Re: Please improve HxC emulator software about D88 image.
Hi
I'm by some FFDEM from lotharek to operate in machine with PC9801.
I'm create 2HD by 77 track 360 RPM.
8 sector 1024 Byte
from HXCEMU It's work ok
Bt when I'm create 2DD by 80 track 300 RPM.
16 sector/track 256byte/sector
I cannot format it.
Can some one please advice to me.
I'm by some FFDEM from lotharek to operate in machine with PC9801.
I'm create 2HD by 77 track 360 RPM.
8 sector 1024 Byte
from HXCEMU It's work ok
Bt when I'm create 2DD by 80 track 300 RPM.
16 sector/track 256byte/sector
I cannot format it.
Can some one please advice to me.
Re: Please improve HxC emulator software about D88 image.
Hello.
Because PC-98x1 series FDD works at 360 rpm , 300kbits/sec for 2DD disks.
But windows FDD works at 300 rpm , 250kbits/sec for 2DD disks.
so you need to change the bit rates in such HFE files by using some binary editors for using it under PC-98x1s.
here is the original 250kbits/sec images file.
http://24.dtiblog.com/k/kitahei88/file/2dd250.jpg
Hex"FA 00" means 250kbits/sec.
and you may need to change "FA 00" to "2C 01"
http://24.dtiblog.com/k/kitahei88/file/2dd300.jpg
Hex"2C 01" means 300kbits/sec.
and one more thing.
Do you use the HxC via VFO board ?
and that VFO board can work for DD disks?
If you create HFE image file using PC/AT(windows) FDD drives, the HFE image files doesn't work under PC-98x1 series.sixty_cel wrote:Hi
Bt when I'm create 2DD by 80 track 300 RPM.
16 sector/track 256byte/sector
I cannot format it.
Because PC-98x1 series FDD works at 360 rpm , 300kbits/sec for 2DD disks.
But windows FDD works at 300 rpm , 250kbits/sec for 2DD disks.
so you need to change the bit rates in such HFE files by using some binary editors for using it under PC-98x1s.
here is the original 250kbits/sec images file.
http://24.dtiblog.com/k/kitahei88/file/2dd250.jpg
Hex"FA 00" means 250kbits/sec.
and you may need to change "FA 00" to "2C 01"
http://24.dtiblog.com/k/kitahei88/file/2dd300.jpg
Hex"2C 01" means 300kbits/sec.
and one more thing.
Do you use the HxC via VFO board ?
and that VFO board can work for DD disks?