Re: [Ql-Users] Question regarding the expected behaviour of the SBASIC cmd MRUN in a program...

2009-10-12 Thread gdgqler


On 11 Oct 2009, at 22:17, Martyn Hill wrote:

Could anyone say whether the behaviour that I'm seeing when using  
MRUN in a running SBASIC prog is expected?


As part of my initial SB boot prog, I include an MRUN statement that  
successfully merges some useful SB definitions (only).


I expect the boot prog to continue to execute the next statement,  
but it simply stops after merging the DEFs.


I'm running this in QPC. Is this expected behaviour? I read in the  
manual that MRUN in a program _should_ continue with the next  
runnable statement in the program.



I have just written a program which uses MRUN in a BASIC program (P) .  
MRUN loads a procedure which is called by the line following MRUN.  
This works in QPC2 both by RUN having loaded P and also by LRUNning P.


I guess there must be something else in your  BOOT which causes the  
trouble.


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


Re: [Ql-Users] (Another) Question - Is it possible to save the QPC state?

2009-10-12 Thread gdgqler


On 11 Oct 2009, at 22:24, Martyn Hill wrote:



While I'm at it, I was also wondering whether anyone knew if QPC can  
be made to save the QL environment before closing so that one could  
start-up where one left off?


I know QPC copes well if I place my laptop to sleep, but it would be  
helpful to be able to save the entire emulated environment so that I  
could nip in and out without a complete QL restart...


I should probably send this directly to Marcel, but see that he  
reads this list...


This is indeed a practical question. I use 'hibernate' on my laptop to  
keep the QL going. Unfortunately, sometimes, as happened last night,  
one of the FATAL windows' errors occurred and hibernation became  
restart. So I lost what I was doing.


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


Re: [Ql-Users] QPC2 and direct sector access

2009-10-12 Thread gdgqler


On 11 Oct 2009, at 22:30, Gerhard Plavec wrote:


Yo :)
then it's some sort of miracle. Usually I do know what my code can  
do and what not.

The generally used name for this sort of miracle would be bug :))
Usually more code a programmer is generating, more miracles can be  
discovered...
In very rare cases a bug can be used as a feature - that then is  
real miracle :)


This implies that every program contains a miracle (since no program  
is bug-free)!


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


Re: [Ql-Users] QPC2 and direct sector access

2009-10-12 Thread Gerhard Plavec



Yo :)
then it's some sort of miracle. Usually I do know what my code can 
do and what not.

The generally used name for this sort of miracle would be bug :))
Usually more code a programmer is generating, more miracles can be 
discovered...
In very rare cases a bug can be used as a feature - that then is 
real miracle :)


This implies that every program contains a miracle (since no program 
is bug-free)!
Often it's a real miracle when the written code does what the programmer 
wanted... but may be that's onely a bug :)


@+

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


Re: [Ql-Users] Question regarding the expected behaviour of the SBASIC cmd MRUN in a program...

2009-10-12 Thread P Witte
Hi Martyn,

Could your problem have to do with line numbers?

Per



 Message Received: Oct 11 2009, 10:17 PM
 From: Martyn Hill martyn.joseph.h...@googlemail.com
 To: ql-users@lists.q-v-d.com
 Cc: 
 Subject: [Ql-Users] Question regarding the expected behaviour of the SBASIC 
cmd MRUN in a program...
 
 
 Hi again
 
 Could anyone say whether the behaviour that I'm seeing when using MRUN 
 in a running SBASIC prog is expected?
 
 As part of my initial SB boot prog, I include an MRUN statement that 
 successfully merges some useful SB definitions (only).
 
 I expect the boot prog to continue to execute the next statement, but it 
 simply stops after merging the DEFs.
 
 I'm running this in QPC. Is this expected behaviour? I read in the 
 manual that MRUN in a program _should_ continue with the next runnable 
 statement in the program.
 
 Regards,
 Martyn Hill
 London.
 ___
 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] Micro Men on BBC iPlayer, QL is mentioned!!

2009-10-12 Thread Urs Koenig (QL)
Thanks to Derek who shared his capture with ql-users I've just seen the
movie this morning. Yes, it's amusing. Even there are errors but no big harm
to the whole story. It's well done, especially as it's a drama and not a
documentary.

A guy of the production team contacted me this January asking for the QL TV
ad which I did put on YouTube back in 2007. I directed them to all my QL and
QL-is-25 material which is on the web. So it's nice to see that my stuff
(Launch PIC's, TV ad, QL story, etc.) inspired them bringing QL coverage in
this drama. I know that Rick Dickinson did assist with models, drawings and
script authentification.

The QL TV ad I've put on YouTube had more than 2500 views since Micro Men
was broadcasted first last Thursday. Almost 100% of those 2500 views are
from the UK which is not surprising. In the 2 years before the event it had
something like 9500 views in total. Amazing?!
http://www.cowo.ch/downloads/SinclairQL_TV_ad_Micro_Men_aftermath_20091011.j
pg

Best regards, Urs

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


Re: [Ql-Users] Micro Men on BBC iPlayer, QL is mentioned!!

2009-10-12 Thread Urs Koenig (QL)
Neil Riley wrote:
 I recorded the program! One strange thing, it showed a TV 
 advert, Clive Sinclair was leaping over other computers of 
 the time and it briefly showed the QL and a price of £645 or 
 thereabouts, Screen included perhaps!
It's £698 not £645.
This was the RRP for the QL computer and QL Vision CRT.
The other systems in the TV add (IBM PC, Apple Macintosh,
Acorn BBC) are also shown and priced with mass storage
and CRT.

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


Re: [Ql-Users] Micro Men on BBC iPlayer, QL is mentioned!!

2009-10-12 Thread Anton Preinsack

I really enjoyed the movie!

And I like the fact, that an Austrian (Hermann Hauser) played a big  
role in British computer industry;-)


Greetings from Vienna/Austria,
Anton

Am 12.10.2009 um 15:10 schrieb Urs Koenig (QL):


Neil Riley wrote:

I recorded the program! One strange thing, it showed a TV
advert, Clive Sinclair was leaping over other computers of
the time and it briefly showed the QL and a price of £645 or
thereabouts, Screen included perhaps!

It's £698 not £645.
This was the RRP for the QL computer and QL Vision CRT.
The other systems in the TV add (IBM PC, Apple Macintosh,
Acorn BBC) are also shown and priced with mass storage
and CRT.

___
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 direct sector access

2009-10-12 Thread Ralf Reköndt

You are right...;-). That's a lonely bug...

Cheers...Ralf

- Original Message - 
From: Gerhard Plavec


Often it's a real miracle when the written code does what the programmer 
wanted... but may be that's onely a bug :)

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


[Ql-Users] Using a QL Emulator on a PC with a USB floppy disk drive

2009-10-12 Thread Rich Mellor
Can anyone please confirm that both QPC2 and q-emulator will work with a 
USB floppy disk drive - I am looking to upgrade my PC, but most of them 
don't have built in floppy disk drives any more :-(


Rich

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


Re: [Ql-Users] Using a QL Emulator on a PC with a USB floppy disk drive

2009-10-12 Thread Adrian D. Ives
Rich,

Yes, they both work. QPC2 treats the drive as a native QDOS floppy
right away. With Q-emuLator you have to mount it as a QDOS floppy on
one of the MDV slots, but it works.

Regards,


Adrian

---

On Monday, October 12, 2009, 6:54:33 PM, you wrote:

RM Can anyone please confirm that both QPC2 and q-emulator will work with a
RM USB floppy disk drive - I am looking to upgrade my PC, but most of them
RM don't have built in floppy disk drives any more :-(

RM Rich

RM ___
RM QL-Users Mailing List
RM 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] Using a QL Emulator on a PC with a USB floppy disk drive

2009-10-12 Thread Adrian D. Ives

fyi. I'm running both emulators under Vista on a Sony VAIO laptop with
no onboard floppy drive, so USB is the only option.

---

On Monday, October 12, 2009, 7:04:03 PM, I wrote:

ADI Rich,

ADI Yes, they both work. QPC2 treats the drive as a native QDOS floppy
ADI right away. With Q-emuLator you have to mount it as a QDOS floppy on
ADI one of the MDV slots, but it works.

ADI Regards,


ADI Adrian

ADI ---

ADI On Monday, October 12, 2009, 6:54:33 PM, Rich  wrote:

RM Can anyone please confirm that both QPC2 and q-emulator will work with a
RM USB floppy disk drive - I am looking to upgrade my PC, but most of them
RM don't have built in floppy disk drives any more :-(

RM Rich

RM ___
RM QL-Users Mailing List
RM 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] Using a QL Emulator on a PC with a USB floppy disk drive

2009-10-12 Thread SMSQ - Jochen Merz

I can confirm that it works too. If you plug in two USB floppy disks,
the first becomes A: and the second B: ... quite the way it should be.

I wonder what happens if you plug in a third one :-)))

Jochen



Adrian D. Ives wrote:

fyi. I'm running both emulators under Vista on a Sony VAIO laptop with
no onboard floppy drive, so USB is the only option.

---

On Monday, October 12, 2009, 7:04:03 PM, I wrote:

ADI Rich,

ADI Yes, they both work. QPC2 treats the drive as a native QDOS floppy
ADI right away. With Q-emuLator you have to mount it as a QDOS floppy on
ADI one of the MDV slots, but it works.

ADI Regards,


ADI Adrian

ADI ---

ADI On Monday, October 12, 2009, 6:54:33 PM, Rich  wrote:

RM Can anyone please confirm that both QPC2 and q-emulator will work with a
RM USB floppy disk drive - I am looking to upgrade my PC, but most of them
RM don't have built in floppy disk drives any more :-(

RM Rich

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


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



--
Jochen Merz Software - Kaiser-Wilhelm-Str. 302 - D-47169 Duisburg
   Tel. +49-(0)203-502011  Fax +49-(0)203-502012
   Email: s...@j-m-s.com   Homepage: http://SMSQ.J-M-S.COM

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


Re: [Ql-Users] Using a QL Emulator on a PC with a USB floppy disk drive

2009-10-12 Thread Marcel Kilgus
Adrian D. Ives wrote:
 But, actually, it's a good question. If Windows did mount a third USB
 floppy as, say, F: would QPC mount it as FLP3_?

No, QPC supports only 2 FLP drives.

Marcel

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


Re: [Ql-Users] Question regarding the QDT desktop and SBASIC job 0 windows...

2009-10-12 Thread Marcel Kilgus
Martyn Hill wrote:
 I guess I am missing some understanding of the way PE windows work -
 what I would like to achieve is to treat the job 0 windows in the same
 way as any other job and have them hidden by the QDT desktop whenever 
 QDT is brought to the top, just as one might click 'Show Desktop' in 
 Windows.

QDT uses a trick for the icons, they are separate programs actually,
that's why you can pick them separately. An explicit Show Desktop
option is probably possible, but would have to be implemented by QDT.
As a work around I can unfortunately just suggest to Hide SBASIC
instead, for example by this hotkey (QPAC2 necessary):

ERT HOT_WAKE(',','Button_Sleep')

Now when you're in SBASIC Alt+, will hide it.

Marcel

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


Re: [Ql-Users] (Another) Question - Is it possible to save the QPC state?

2009-10-12 Thread Marcel Kilgus
Martyn Hill wrote:
 While I'm at it, I was also wondering whether anyone knew if QPC can be
 made to save the QL environment before closing so that one could 
 start-up where one left off?

That was always something I wanted to have, but it's actually very
difficult to do properly so I've never implemented it.

 I know QPC copes well if I place my laptop to sleep,

Yeah, a lot of work went into that one already, earlier versions
didn't cope quite that well.

Marcel

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


Re: [Ql-Users] Micro Men on BBC iPlayer, QL is mentioned!!

2009-10-12 Thread Marcel Kilgus
Derek Stewart wrote:
 Here is the ADrive.com link for the Micromen file.

Thanks a bunch for that, interesting movie. If one can believe it, Sir
Clive was basically a giant dick.

Marcel

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


Re: [Ql-Users] Question regarding the expected behaviour of the SBASIC cmd MRUN in a program...

2009-10-12 Thread Malcolm Cadman
In message 4ad24b63.5030...@googlemail.com, Martyn Hill 
martyn.joseph.h...@googlemail.com writes


Hi Martyn.

I know that LRUN works fine, in Boot links, as I use it successfully to 
chain a number of smaller Boot files; rather than one long one.  As well 
as making choices to go to differing options.


Maybe MRUN runs out direction after a merge somewhere in your Boot ?

Or maybe it is just a line number problem ?



Hi again

Could anyone say whether the behaviour that I'm seeing when using MRUN 
in a running SBASIC prog is expected?


As part of my initial SB boot prog, I include an MRUN statement that 
successfully merges some useful SB definitions (only).


I expect the boot prog to continue to execute the next statement, but 
it simply stops after merging the DEFs.


I'm running this in QPC. Is this expected behaviour? I read in the 
manual that MRUN in a program _should_ continue with the next runnable 
statement in the program.


Regards,
Martyn Hill
London.


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