Sinclair QL

HxC Floppy emulator support for all others computers...
Post Reply
XorA
Posts: 4
Joined: Thu Feb 27, 2014 4:54 pm

Sinclair QL

Post by XorA »

Hi, I have written a loader for the Sinclair QL .img files produced by Q-Emulator and the qltools packages.

I have tested the resultant DD and HD hfe files both read and write on my actual QL and they
seem to be functional.

This was from information in the other QL thread here with RWAP!
Attachments
ql_loader.tgz
(2.33 KiB) Downloaded 521 times

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

Re: Sinclair QL

Post by Jeff »

Thanks will integrate this ! The format look likes very similar to the PC. i am missing something ?

XorA
Posts: 4
Joined: Thu Feb 27, 2014 4:54 pm

Re: Sinclair QL

Post by XorA »

I don't know much about how floppy disks work, but I get the impression the physical format on disk is the same as a PC. Just the filesystem is different.

It may be you can improve on some of the magic numbers that I did not really understand.

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

Re: Sinclair QL

Post by Jeff »

XorA wrote:I don't know much about how floppy disks work, but I get the impression the physical format on disk is the same as a PC. Just the filesystem is different.

It may be you can improve on some of the magic numbers that I did not really understand.
almost the same : the first sector id on ql is 0.

XorA
Posts: 4
Joined: Thu Feb 27, 2014 4:54 pm

Re: Sinclair QL

Post by XorA »

I have learned some things doing the qltools integration, I shall update this loader when I have a chance!

XorA
Posts: 4
Joined: Thu Feb 27, 2014 4:54 pm

Re: Sinclair QL

Post by XorA »

And the promised upgrade, this one uses the disk header info to detect the size of the disk rather than guessing from file size.

I also implemented writing as this works well with the qltools mod.

libhxcfe API is awesome :-)

Graeme
Attachments
ql_loader.zip
(4.18 KiB) Downloaded 514 times

Post Reply