Qltools Updated to handle ED discs.

Anything QL Software or Programming Related.
User avatar
NormanDunbar
Super Gold Card
Posts: 544
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Qltools Updated to handle ED discs.

Postby NormanDunbar » Fri Nov 02, 2018 4:23 pm

I've been playing with qltools (in my own repository - https://github.com/NormanDunbar/qltools) and I've made a few changes over version 2.15.

I haven't pushed any changes to the SinclairQL repo, nor raised a pull request just yet - if people could test and see how it goes, I'd be grateful. It seems to work fine for images - formatting, map ifo, writing files etc, but I don;t know about accessing an actual floppy drive with an ED disc.

Also, I've only updated the Linux (and DOS?) versions. That other directory 'Hxcfe' hasn't been touched - so most likely won't work, yet. (What is it? Does anyone know?)

Changes are:

Revision 2.15.1
  • Much reformatting of code, renaming to give better names etc.
  • Fixed bug in ZeroSomeSectors (DOS/Linux only) - nothing was being done.
  • Removed many hard coded magic numbers.
  • Slight update to version number, 2.15 to 2.15.1.
  • Some error messages corrected.

Revision 2.15.2
  • More variables renamed.
  • Added -t option to usage.
  • Reformatted usage output better (in my opinion!)
  • Adjusted MAXALB to 12 from 6. This is the number of 512 byte sectors needed for a
  • floppy cluster for the map. DD/ED need 6 * 512 while ED needs 3 * 2048 (or 12 & 512).
  • Added ED disks/image processing.


Cheers,
Norm.


Why do they put lightning conductors on churches?
How come Tarzan never grew a beard?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's a man in Germany who fits indicators on BMWs.
Andrew
Chuggy Microdrive
Posts: 63
Joined: Tue Jul 17, 2018 9:10 pm

Re: Qltools Updated to handle ED discs.

Postby Andrew » Fri Nov 02, 2018 5:15 pm

hxcfe must be HxC Floppy Emulator


User avatar
XorA
Super Gold Card
Posts: 561
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: Qltools Updated to handle ED discs.

Postby XorA » Fri Nov 02, 2018 5:22 pm

Allows qltools to operate directly on .hfe files the hxc floppy emulator uses. Its probably broken at minute as the api changes to libhxcfe.so.

G


User avatar
NormanDunbar
Super Gold Card
Posts: 544
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Qltools Updated to handle ED discs.

Postby NormanDunbar » Fri Nov 02, 2018 5:49 pm

Thanks for the info. To be honest, I've never heard of it!
It will definiteky be broken in 2.15.2.

Cheers,
Norm.


Why do they put lightning conductors on churches?
How come Tarzan never grew a beard?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's a man in Germany who fits indicators on BMWs.
User avatar
NormanDunbar
Super Gold Card
Posts: 544
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Qltools Updated to handle ED discs.

Postby NormanDunbar » Sat Nov 03, 2018 2:11 pm

Another update:

Revision 2.15.3
  • More tidying up of the usage messages. Proper letter case etc.
  • Extracted common code from the three format routines to reduce duplication.
  • Validated the requested format to be 'd', 'e' or 'h' - due to the above.
  • Version bumped to 2.15.3.

Available from https://github.com/NormanDunbar/qltools - enjoy.


Cheers,
Norm.


Why do they put lightning conductors on churches?
How come Tarzan never grew a beard?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's a man in Germany who fits indicators on BMWs.

Return to “Software & Programming”

Who is online

Users browsing this forum: No registered users and 2 guests