Re: [Ql-Users] QPC2 and Win 8
Op 17/07/2015 om 11:38 schreef peterfox: Hi Marcel, I have had another look on C: and it is not obvious. Any Suggestions, please? How can one create a larger QXL.Win, please? TIA Regards Peter Hi, I suppose you need the instructions to format a 'win'. The manual says: WIN_FORMAT 1 Allow WIN1_ to be formatted FORMAT WIN1_10 Create a 10 Megabyte WIN device on C: ... you have to echo the two characters displayed ... WIN_FORMAT 1,0 protect WIN1_ again against unwanted formatting As far as I know you can't modify to size of a 'QXL.WIN' you have to create a larger (or smaller) one and copy your files. Hope this helps. Have a nice day. François Van Emelen SNIP ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
[Ql-Users] QPC2 and Win 8
Hi there, I seem to be having terrible problem with QPC2 and Win 8 and 8.1. When I start QPC2, it always starts with the splash screen that you can avoid by ticking the box in the bottom left corner. In my case even if the box is ticked the splash screen cannot be avoided. I have now tried to transfer QXL.win and QXL2.win back to a Windows 7 machine and have failed. The dates on the QXL files are 25 October 2014 even though there are files dated July 2015 within the files. Once transfered, all the files later than October 2014 get juncked. Has anyone else had these problems? Unfortuantely, I cannot remember how to increase the size of the QXL files because I have run out of space in QXL.win Can anyone help please? TIA and Regards, Peter Fox --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
This unfortunately doesn't answer my question. Where are your QXL.WIN files located? I have a suspicion and need the complete path. Marcel Peter wrote: Hi Marcel, Thank you for coming back to me. I have been writing a diary for a very long time and these files were in Diary. Additionally, I have many QSpread files in QXL2.win which are being updates every day. When I said that the dates on the QXL files are dated 25 October 2014 those are the dates which shew when inspecting C:\ Because I ran out of space on QXL.win, I have moved most of my old diary files across to QXL2.Win. When I look at the Diary files on the Windows 7 machine, all the diary files are within Diary and nothing later than October 2014. I hope that I have managed to explain myself. TIA Regards, Peter Fox On 17.07.2015 09:40, Marcel Kilgus wrote: Peter Fox wrote: I have now tried to transfer QXL.win and QXL2.win back to a Windows 7 machine and have failed. The dates on the QXL files are 25 October 2014 even though there are files dated July 2015 within the files. Where are the files located? Marcel ___ 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 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
Peter Fox wrote: I have now tried to transfer QXL.win and QXL2.win back to a Windows 7 machine and have failed. The dates on the QXL files are 25 October 2014 even though there are files dated July 2015 within the files. Where are the files located? Marcel ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
I have no idea how you even managed to do put them there in Windows 8, this should be pretty much impossible for normal users. Also, they would be write protected there. Note for everybody: DO NOT PUT FILES IN C:\ Search your drive for other copies of QXL.WIN which are more recent. The ones in C:\ are obviously not the ones you're actually working with. Marcel PeterFox wrote: Hi Marcel, The QXL files are on C:\ and are C:\QXL.win and C:\QXL2.win I hope that this the answer you need. TIA Regards, Peter ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
Hi Marcel, Thank you for coming back to me. I have been writing a diary for a very long time and these files were in Diary. Additionally, I have many QSpread files in QXL2.win which are being updates every day. When I said that the dates on the QXL files are dated 25 October 2014 those are the dates which shew when inspecting C:\ Because I ran out of space on QXL.win, I have moved most of my old diary files across to QXL2.Win. When I look at the Diary files on the Windows 7 machine, all the diary files are within Diary and nothing later than October 2014. I hope that I have managed to explain myself. TIA Regards, Peter Fox On 17.07.2015 09:40, Marcel Kilgus wrote: Peter Fox wrote: I have now tried to transfer QXL.win and QXL2.win back to a Windows 7 machine and have failed. The dates on the QXL files are 25 October 2014 even though there are files dated July 2015 within the files. Where are the files located? Marcel ___ 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] QPC2 and Win 8
Hi Marcel, The QXL files are on C:\ and are C:\QXL.win and C:\QXL2.win I hope that this the answer you need. TIA Regards, Peter On 17.07.2015 09:54, Marcel Kilgus wrote: This unfortunately doesn't answer my question. Where are your QXL.WIN files located? I have a suspicion and need the complete path. Marcel Peter wrote: Hi Marcel, Thank you for coming back to me. I have been writing a diary for a very long time and these files were in Diary. Additionally, I have many QSpread files in QXL2.win which are being updates every day. When I said that the dates on the QXL files are dated 25 October 2014 those are the dates which shew when inspecting C:\ Because I ran out of space on QXL.win, I have moved most of my old diary files across to QXL2.Win. When I look at the Diary files on the Windows 7 machine, all the diary files are within Diary and nothing later than October 2014. I hope that I have managed to explain myself. TIA Regards, Peter Fox On 17.07.2015 09:40, Marcel Kilgus wrote: Peter Fox wrote: I have now tried to transfer QXL.win and QXL2.win back to a Windows 7 machine and have failed. The dates on the QXL files are 25 October 2014 even though there are files dated July 2015 within the files. Where are the files located? Marcel ___ 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 ___ 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] QPC2 and Win 8
Hi Marcel, I have looked on both D and E: and cannot find anything but thank you for the warning. I this a case of the file being called something else? can you help me on the other matter of increasing the size of QXL.win partitions, please? TIA Regards, Peter On 17.07.2015 10:06, Marcel Kilgus wrote: I have no idea how you even managed to do put them there in Windows 8, this should be pretty much impossible for normal users. Also, they would be write protected there. Note for everybody: DO NOT PUT FILES IN C:\ Search your drive for other copies of QXL.WIN which are more recent. The ones in C:\ are obviously not the ones you're actually working with. Marcel PeterFox wrote: Hi Marcel, The QXL files are on C:\ and are C:\QXL.win and C:\QXL2.win I hope that this the answer you need. TIA Regards, Peter ___ 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] QPC2 and Win 8
Hi Peter, Hit the Windows button and type *.win and windows should show you all locations of .win files. Graeme On Fri, 17 Jul 2015, at 10:20 AM, peterfox wrote: Hi Marcel, I have looked on both D and E: and cannot find anything but thank you for the warning. I this a case of the file being called something else? can you help me on the other matter of increasing the size of QXL.win partitions, please? TIA Regards, Peter On 17.07.2015 10:06, Marcel Kilgus wrote: I have no idea how you even managed to do put them there in Windows 8, this should be pretty much impossible for normal users. Also, they would be write protected there. Note for everybody: DO NOT PUT FILES IN C:\ Search your drive for other copies of QXL.WIN which are more recent. The ones in C:\ are obviously not the ones you're actually working with. Marcel PeterFox wrote: Hi Marcel, The QXL files are on C:\ and are C:\QXL.win and C:\QXL2.win I hope that this the answer you need. TIA Regards, Peter ___ 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 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
Hi Marcel, I have had another look on C: and it is not obvious. Any Suggestions, please? How can one create a larger QXL.Win, please? TIA Regards Peter On 17.07.2015 10:27, Marcel Kilgus wrote: peterfox wrote: I have looked on both D and E: and cannot find anything but thank you for the warning. I this a case of the file being called something else? No, not on D or E, it would be somewhere on C: can you help me on the other matter of increasing the size of QXL.win partitions, please? This can only be done by creating a larger QXL.WIN and copying the old data over. Marcel ___ 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] QPC2 and Win 8
Hi Graeme, Thank you for coming back to me. I have tried this and got a lot of answers but none of the correct ones. Can you please enlighten me on creating a new larger QXL.win? I have lost all my documentation, unfortunately and am groping in the dark. I think I have managed to overcome the problem of files not being updated by zipping up all the files I know will be missing or not up-to-date. These two zips have been moved into DOS and all I need is a much larger QXL.win and I am almost home and dry. TIA Regards, Peter On 17.07.2015 10:22, Graeme Gregory wrote: Hi Peter, Hit the Windows button and type *.win and windows should show you all locations of .win files. Graeme On Fri, 17 Jul 2015, at 10:20 AM, peterfox wrote: Hi Marcel, I have looked on both D and E: and cannot find anything but thank you for the warning. I this a case of the file being called something else? can you help me on the other matter of increasing the size of QXL.win partitions, please? TIA Regards, Peter On 17.07.2015 10:06, Marcel Kilgus wrote: I have no idea how you even managed to do put them there in Windows 8, this should be pretty much impossible for normal users. Also, they would be write protected there. Note for everybody: DO NOT PUT FILES IN C:\ Search your drive for other copies of QXL.WIN which are more recent. The ones in C:\ are obviously not the ones you're actually working with. Marcel PeterFox wrote: Hi Marcel, The QXL files are on C:\ and are C:\QXL.win and C:\QXL2.win I hope that this the answer you need. TIA Regards, Peter ___ 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 ___ 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] QPC2 and Win 8
Hi Geoff, Thank you for coming back to me. I am very vague about making QXL.Wins but is the command that you have given me is used in Windows or QPC2? TIA Regards, Peter On 17.07.2015 17:10, Geoff Wicks wrote: When you formatted a win disk formerly it was saved on the C: drive. If you format a win disk under windows 8 it is saved in a subdirectory. I cannot remember the path but the command PRINT WIN_DRIVE(x), where x is the number of the drive, will give you the path. Sorry a typo. The command is PRINT WIN_DRIVE$(x) Best Wishes, Geoff ___ 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] QPC2 and Win 8
Hi Peter, can you help me on the other matter of increasing the size of QXL.win partitions, please? I've had this problem myself. What I did was to create another QXL.win file, formatted it to a much higher capacity, then copied all the files across. To preserve the original dates, I used ... COPY a$ TO b$ SET_FUPDT \b$, FUPDT(\a$) Michael ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
On 17/07/2015 18:07, peterfox wrote: Hi Geoff, Thank you for coming back to me. I am very vague about making QXL.Wins but is the command that you have given me is used in Windows or QPC2? From within QPC2. I can understand your problem as I have also been grappling with it this week. Usually I save basic to a dos file as it is not corrupted, but I am now working on the last stages of the 2015 edition of my General Election program and needed a a pure QL environment. I set up a temporary win3 file to do this and discovered quite a lot in doing so, Best wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
On 17/07/2015 10:06, Marcel Kilgus wrote: I have no idea how you even managed to do put them there in Windows 8, this should be pretty much impossible for normal users. Also, they would be write protected there. Note for everybody: DO NOT PUT FILES IN C:\ Search your drive for other copies of QXL.WIN which are more recent. The ones in C:\ are obviously not the ones you're actually working with. Marcel I have had a similar problem that I have only discovered this month and Marcel has explained the reason. When I went over to Windows 8, I transfered my .win files using a pen memory. The result was that I could read the win disk but not write. When you formatted a win disk formerly it was saved on the C: drive. If you format a win disk under windows 8 it is saved in a subdirectory. I cannot remember the path but the command PRINT WIN_DRIVE(x), where x is the number of the drive, will give you the path. Marcel is now going to slap me on the wrist for being a naughty boy, because I copied the win drive from the subdirectory to C:. Even here I can both read and write, Best Wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
When you formatted a win disk formerly it was saved on the C: drive. If you format a win disk under windows 8 it is saved in a subdirectory. I cannot remember the path but the command PRINT WIN_DRIVE(x), where x is the number of the drive, will give you the path. Sorry a typo. The command is PRINT WIN_DRIVE$(x) Best Wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
Evening all. If you he'd over to Dilwyn's Web repository of all that is good in the QL World, and download my old Winback program, you can create a new hard drive file as win2, then set the clock and make a full backup of your current win1. Winback will set the win2 file dates etc exactly as per the original files on win1. HTH. Cheers, Norm. On 17 July 2015 18:33:59 BST, Michael Bulford michaelbulf...@yahoo.co.uk wrote: Hi Peter, can you help me on the other matter of increasing the size of QXL.win partitions, please? I've had this problem myself. What I did was to create another QXL.win file, formatted it to a much higher capacity, then copied all the files across. To preserve the original dates, I used ... COPY a$ TO b$ SET_FUPDT \b$, FUPDT(\a$) Michael ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
[Ql-Users] New QL Assembly Language Book.
Greetings everyone. After much work, some wailing, some gnashing of teeth and a good few hours typing on my phone while on holiday recently, I have finished updating the file at http://qdosmsq.dunbar-it.co.uk/downloads/QLToday/QL_Assembly.pdf which is the good old Assembly Language book I released into the wild just before Christmas. Changes are: George's observations and comments incorporated, Numerous typos fixed, LibGen removed until I fix it as there looks to be a chapter rewrite required, A new, much nicer format used, Code reformatted to not wander all over the margins, Proper table layout, Much nicer code layout, Orange! (You'll have to read it to follow that one!) 375 pages of sheer bliss, and working cross references and a full, clickable index. Please download and give copies to both your friends! Cheers, Norm. -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
On 17/07/2015 10:36, Peter Fox wrote: Unfortuantely, I cannot remember how to increase the size of the QXL files because I have run out of space in QXL.win Can anyone help please? TIA and Regards, Here is a description on how to increase the size of your QLX.WIN drive on QPC2. Say you want to enlarge your 10Mb boot drive (win1_) to 20Mb. We'll use win8_ as an intermediary drive in this example. win$ = WIN_DRIVE$(1): PRINT win$ This is where your boot drive is located under Windoze now. (I assume youve taken Marcel's advice about a suitable location, meanwhile.) Now create a new QXL.WIN drive as win8_: WIN_DRIVE 8, win$ '.new': REMark Same location, new name WIN_FORMAT 8, 1: REMark Allow formatting of this drive FORMAT win8_20: REMark New size is 20Mb Type in characters requested at console #0 Voilà! Your spanking new QXL.WIN drive is ready to use. Now run the following script in your standard three-window SBASIC interpreter to clone the structure and files of win1_ onto win8_: 10 REMark QLone a drive 11 : 12 source$ = 'win1_' 13 target$ = 'win8_' 14 : 15 CLS 16 PRINT 'Press ENTER to clone'! source$! 'to'! target$!: INPUT r$ 17 IF r$ '': STOP 18 : 19 dcount = 0: fcount = 0: ttaken = DATE 20 ERT QLone(source$, '', target$) 21 PRINT\ 'Done!' 22 PRINT dcount! 'directories created'\ fcount! 'files copied' 23 PRINT 'Time taken'! (DATE - ttaken);'s' 24 : 25 DEFine FuNction QLone(sdv$, dir$, tdv$) 26 LOCal ch, lp, fl, ps, er, ty%, nm$ 27 REMark GLObal counts 28 REMark Scan source directory tree and 29 REMark Create correponding structure under target 30 REMark Backup files, maintaining date 31 REMark V0.00, pjwitte, January 30th 2015 32 : 33 ch = FOP_DIR(sdv$ dir$): IF ch 0: RETurn ch 34 : 35 ps = 0: er = 0: fl = FLEN(#ch) 36 REPeat lp 37 IF ps = fl: EXIT lp 38 GET#ch\ ps + 14; nm$: l% = LEN(nm$) 39 IF l% 0 THEN 40 BGET#ch\ ps + 5, ty% 41 IF ty% = 255 THEN 42 PRINT 'Creating: '! tdv$; nm$ 43 er = FMAKE_DIR(tdv$ nm$): IF er = -8: er = 0 44 IF er 0: RETurn er 45 dcount = dcount + 1 46 er = QLone(sdv$, nm$, tdv$) 47 ELSE 48 PRINT 'Copying:'! sdv$; nm$! '..' 49 COPY_O sdv$ nm$ TO tdv$ nm$ 50 SET_FUPDT \tdv$ nm$, FUPDT(\sdv$ nm$) 51 fcount = fcount + 1 52 END IF 53 END IF 54 IF er 0: EXIT lp 55 ps = ps + 64 56 END REPeat lp 57 CLOSE#ch 58 RETurn er 59 END DEFine QLone 60 : Now unlink the two drives to allow the new drive to become the new boot drive: Remember the location of your win1_, eg win$ = WIN_DRIVE$(1): PRINT win$ WIN_DRIVE 1,'/': WIN_DRIVE 8,'/' Minimize QPC2. In Windows Explorer go to that location and delete, move or rename your old boot drive, and rename the new QXL.WIN file to the name you use for your boot drive. Back in QPC2 again enter: WIN_DRIVE 1, win$ WIN_FORMAT 8, 0 To top it all off, you could give your hard drive a name other than WIN8. Assuming the locations used above (else modify line 14 in the script below) enter the name you wish to see on the QL side, eg 'Boot', in line 15, and LRUN the script: 10 REMark Rename QLWA-type Hard drive 11 REMark V0.00, pjw 12 REMark No channels must be open on hard drive! 13 : 14 win% = 1 : REMark Drive number 1..8 15 name$ = 'System' : REMark New name 16 maxnl% = 10 : REMark Dont alter max length 17 : 18 name$ = name$ FILL$(' ', maxnl%) 19 cw = FOPEN(win win% '_*D2d'): ERT cw 20 GET#cw\ 0; sec$ 21 IF sec$(1 TO 4) 'QLWA': CLOSE#cw: ERT -12 22 : 23 sec$ = sec$(1 TO 6) name$(1 TO maxnl%) sec$(17 TO LEN(sec$)) 24 PUT#cw\ 0; sec$ 25 CLOSE#cw 26 : Please note, these programs are provided as examples to deal with the specific situation described, as I understand it. USE AT OWN RISK!!! Note that minimal error checking and corrective action is performed in these routines. They are quick hacks that normally get the job done without finesse. If your original file system has become corrupt, for example, it may not be possible to make a copy using QLone. Good luck! Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [Ql-Users] QPC2 and Win 8
On 17/07/2015 17:27, François Van Emelen wrote: Op 17/07/2015 om 11:38 schreef peterfox: Hi Marcel, I have had another look on C: and it is not obvious. Any Suggestions, please? How can one create a larger QXL.Win, please? TIA Regards Peter Hi, I suppose you need the instructions to format a 'win'. The manual says: WIN_FORMAT 1 Allow WIN1_ to be formatted FORMAT WIN1_10 Create a 10 Megabyte WIN device on C: ... you have to echo the two characters displayed ... WIN_FORMAT 1,0 protect WIN1_ again against unwanted formatting As far as I know you can't modify to size of a 'QXL.WIN' you have to create a larger (or smaller) one and copy your files. Hope this helps. Have a nice day. François Van Emelen SNIP Yes, but make sure youre not formatting your boot drive! ;) Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm