Yes he has, but I will try George's suggestion just in case, as it will only 
take a miniscule amount of time to try and if it delivers a result it will have 
been an excellent investment as the cost is miniscule. Obviously I am not 
hopeful as Marcel has given it the thumbs down.

Its a pity that QPC2 does not support direct sector access to alien formats as 
other versions of the QL do. I can read FAT 16 formatted sectors on a CF card 
on my Q60 from SBASIC transfer from PC to Q60.  Absence of this can't be to 
stop users doing something stupid to their C:\ drive as I can open a direct 
sector access channel to this and read in the sectors of this drive and 
presumably screw up windows completely if I write rubbish out to it. Windows 
has some way of supporting alien formats as the PD Amiga emulators can read 
Amiga formatted disks and QXLtool can read QL floppy disks from a PC and 
QXL.win files, but as you say only Marcel can know if this windows process is 
compatible with QPC2.

Regards 

& thanks to you and George and Marcel for the interest

Duncan




 


 

-----Original Message-----
From: Ralf Reköndt <ralf.rekoe...@t-online.de>
To: ql-us...@q-v-d.com
Sent: Fri, 9 Oct 2009 17:29
Subject: Re: [Ql-Users] QPC2 and direct sector access









I think, Marcel has answered...it doesn't work. 
 

Cheers...Ralf 
 

----- Original Message ----- 
From: "gdgqler" 
 

>> Does anyone know if there is a way to open a direc
t sector access  
>> channel from SBASIC to a non PC FAT formatted hard disk such as a  
>> Q60 formatted compact flash card. I have tried to do this with  
>> errt=FOP_DIR(#4,dos4_). While FOP_DIR returns 0 suggesting success  
>> the device as seen has a dimension of 0, so that INPUT#4,a$ get an  
>> end of file error message. 

> 
> Does the error just mean that there is no LF in the file? I have taken  
> to testing for a final LF before reading files with INPUT. Instead you  
> might try Turbo TK code's INPUT$ which reads a specific number of  
> characters from the channel. and so does not rely on LF. 

> 
> George 

_______________________________________________ 

QL-Users Mailing List 

http://www.q-v-d.demon.co.uk/smsqe.htm 



 

_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to