Re: [Ql-Users] Copying files from QL to PC
I have a serial cable and can get the machines talking to each other. I'm doing the following, on the QL copy_n mdv1_filename to ser1hz on the PC copy com1 filename This appears to work ok for text-based files, which I can then open up and load in Q-Emulator. However, for binary files I am having problems in that the transfer never completes - the PC reports the transfer as complete, but the QL is still sending, and I end up with only part of the file on the PC. I think what's going on is that there's a combination of characters within the file body that is being interpreted as an EOF (ctrl-z). Does anyone have any suggestions as to how best I can get my files copied across. I will also need to get some files from the PC to the QL (i.e. I haven't tried yet), are there any pitfalls or tips to getting that to work. Many thanks for any help. I'm not sure about the eact problem you decided regarding possible false EOF, but you should beware of the risk of losing the executable file header when a binary (executable) file header gets saved on the PC hard disk. QemuLator can handle such files in its own directories as it stores the header separate to the executable. One possible way of working around this is to make a note of the executable program file's length and dataspace on the QL then you stand a chance of being able to restore these in qemulator - lbytes the program file into the common heap, then SEXEC filename$,start,length,dataspace If you had a floppy disk drive on the QL and PC, this would have been the easiest way as Qemulator can read QL floppy disks. There are a couple of pages on my website regarding transfer, but it looks like you've done the hard work already, just need to find a way to work around the ctrl-z problem. -- Dilwyn Jones ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
[Ql-Users] News
If anyone has any news from the QL scene which they would like published in Quanta magazine, please let me know as soon as possible as I am compiling the column now. -- Dilwyn Jones ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] Copying files from QL to PC
You could try adding the /B flag to the COPY command on the PC side to say it is a binary file? Also if copying program files it is a good idea to ZIP them up first to preserve the dataspace settings stored in file headers for such files. The QL versions of the ZIP/UNZIP programs know how to handle this so if you unzip them under the emulator these settings get preserved. Dave -Original Message- From: ql-users-boun...@lists.q-v-d.com [mailto:ql-users-boun...@lists.q-v-d.com] On Behalf Of aup...@dsl.pipex.com Sent: 03 June 2009 12:23 To: ql-us...@q-v-d.com Subject: [Ql-Users] Copying files from QL to PC Hi, I wonder if anyone can help. I have and old bog-standard QL (i.e. no floppy drives), and I'd like transfer all my files from microdrive cartridges to a PC so I can use them on an emulator. I have a serial cable and can get the machines talking to each other. I'm doing the following, on the QL copy_n mdv1_filename to ser1hz on the PC copy com1 filename This appears to work ok for text-based files, which I can then open up and load in Q-Emulator. However, for binary files I am having problems in that the transfer never completes - the PC reports the transfer as complete, but the QL is still sending, and I end up with only part of the file on the PC. I think what's going on is that there's a combination of characters within the file body that is being interpreted as an EOF (ctrl-z). Does anyone have any suggestions as to how best I can get my files copied across. I will also need to get some files from the PC to the QL (i.e. I haven't tried yet), are there any pitfalls or tips to getting that to work. Many thanks for any help. - Visit Pipex Business: The homepage for UK Small Businesses Go to http://www.pipex.co.uk/business-services ___ 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
Re: [Ql-Users] Copying files from QL to PC
Thanks for the replies. I had tried the /B flag, but it didn't help. I have looked round a number of QL sites, and the implication seems to be that what I'm trying to do is possible. Can anyone confirm whether they've managed to do this successfully? Quoting Dave Walker iti...@ntlworld.com: You could try adding the /B flag to the COPY command on the PC side to say it is a binary file? Also if copying program files it is a good idea to ZIP them up first to preserve the dataspace settings stored in file headers for such files. The QL versions of the ZIP/UNZIP programs know how to handle this so if you unzip them under the emulator these settings get preserved. Dave -Original Message- From: ql-users-boun...@lists.q-v-d.com [mailto:ql-users-boun...@lists.q-v-d.com] On Behalf Of aup...@dsl.pipex.com Sent: 03 June 2009 12:23 To: ql-us...@q-v-d.com Subject: [Ql-Users] Copying files from QL to PC Hi, I wonder if anyone can help. I have and old bog-standard QL (i.e. no floppy drives), and I'd like transfer all my files from microdrive cartridges to a PC so I can use them on an emulator. I have a serial cable and can get the machines talking to each other. I'm doing the following, on the QL copy_n mdv1_filename to ser1hz on the PC copy com1 filename This appears to work ok for text-based files, which I can then open up and load in Q-Emulator. However, for binary files I am having problems in that the transfer never completes - the PC reports the transfer as complete, but the QL is still sending, and I end up with only part of the file on the PC. I think what's going on is that there's a combination of characters within the file body that is being interpreted as an EOF (ctrl-z). Does anyone have any suggestions as to how best I can get my files copied across. I will also need to get some files from the PC to the QL (i.e. I haven't tried yet), are there any pitfalls or tips to getting that to work. Many thanks for any help. - Visit Pipex Business: The homepage for UK Small Businesses Go to http://www.pipex.co.uk/business-services ___ 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 -- - Visit Pipex Business: The homepage for UK Small Businesses Go to http://www.pipex.co.uk/business-services ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] Copying files from QL to PC
Dave Walker wrote, On 3/06/09 13:54: You could try adding the /B flag to the COPY command on the PC side to say it is a binary file? Also if copying program files it is a good idea to ZIP them up first to preserve the dataspace settings stored in file headers for such files. The QL versions of the ZIP/UNZIP programs know how to handle this so if you unzip them under the emulator these settings get preserved. Yes - zipping is an excellent idea, even for text files. That way with this form of raw copying you can be sure when the file is unzipped successfully it will be OK, as well as preserving the file headers of execables. In the dim and distant past I sold a file transfer program for each end. However the PD qtpi at the QL end and a file transfer program the other using Zmodem (for instance) will help. The QL serial is not too reliable, especially at 9600bps. Tony -- QBBS (QL fido BBS 2:257/67) +44(0)1442-828255 t...@firshman.co.uk http://firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
[Ql-Users] Calling DIlwyn
Dilwyn/ I am afraid your email dilwyn DOT jones AT dj DOT softnet DOT co DOT uk is not working again. The email I sent days ago is giving 'delayed'. I forget what I was saying, but can you give it a kick, or suggest an alternative. It seems your softnet address keeps dying. Tony -- QBBS (QL fido BBS 2:257/67) +44(0)1442-828255 t...@firshman.co.uk http://firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm