Page 1 of 1
Q68 direct sector access
Posted: Sat Apr 20, 2024 5:13 pm
by pjw
Im trying to change the internal Qdos name of a QL hard drive.
How does one do direct sector access on a Q68 QLWA virtual disk?
On QPC2 et al Id do
DIM sec$(512)
ch = FOPEN('win1_*D2D')
GET#ch\0, sec$
But I find neither a QLWA drive there nor a QWA partition table. Would it be a FAT32 partition table?
Is it documented anywhere?
Re: Q68 direct sector access
Posted: Sat Apr 20, 2024 6:03 pm
by martyn_hill
Hi Per
I don't have the answer, but wondered if you were trying to do what I wanted-to recently, i.e. to change the embedded Volume name of a WIN Container file - you'd expect to be able to set the Volume name at point of FORMAT, but you seem only able to set the volume size in the format string and the Volume name always ends up as simply WIN1 or whatever the container was mounted at at the time of format.
Is that what you were trying to do, as well?
Re: Q68 direct sector access
Posted: Sat Apr 20, 2024 7:13 pm
by Peter
pjw wrote: Sat Apr 20, 2024 5:13 pm
Im trying to change the internal Qdos name of a QL hard drive.
Use a hex editor to change the string at offset 6 in the image file.
pjw wrote: Sat Apr 20, 2024 5:13 pm
How does one do direct sector access on a Q68 QLWA virtual disk?
It is probably not implemented yet. The best would be to ask Wolfgang on ql-users.
Not a hardware issue by the way.
