Q68 direct sector access

Nagging hardware related question? Post here!
Post Reply
User avatar
pjw
QL Wafer Drive
Posts: 1320
Joined: Fri Jul 11, 2014 8:44 am
Location: Norway
Contact:

Q68 direct sector access

Post 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?


Per
dont be happy. worry
- ?
martyn_hill
Aurora
Posts: 936
Joined: Sat Oct 25, 2014 9:53 am

Re: Q68 direct sector access

Post 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?


User avatar
Peter
Font of All Knowledge
Posts: 2024
Joined: Sat Jan 22, 2011 8:47 am

Re: Q68 direct sector access

Post 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. ;)


Post Reply