Re: [ql-users] RESET in SMSQE

2005-03-02 Thread Geogwilt
In a message dated 25/02/05 17:45:01 GMT Standard Time, 
[EMAIL PROTECTED] writes:

 
 A solution more than likely lies in the reset code on SMSQE which seems
 implicitly to assume a vector base register of zero. I might be wrong
 but an exlicit zero of the vector base register during soft reset under 
 SMSQE might be a solution for the problem but a more fundemental look 
 at the code might reveal where SMSQE is going wrong and and maybe lead to a 
 solution.
 
 

The reason why RESET does not work with Q40/60 is indeed with the VBR. The 
following change sorts the problem.

In smsq_q40_hwinit_asm the instructions should include:

hwinit
   moveq  #0,d0
   pcregvbr ** this is the new instruction **
   pcregcacr

I have recompiled SMSQE for my Q40/60 with this addition and RESET now works.

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


Re: [ql-users] RESET in SMSQE

2005-02-26 Thread Fabrizio Diversi
The Movep emulation is needed if you still use programs that use it, as an 
example DP  MSDOS Conqueror  use it and you need the emulation loaded.

Ciao
Fabrizio
- Original Message - 
From: Wolfgang Lenerz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, February 26, 2005 8:07 AM
Subject: Re: [ql-users] RESET in SMSQE


On 25 Feb 2005 at 20:26, Fabrizio Diversi wrote:
David you are right,
I had the same problem as George with Reset, the problem is due to movep
emulation rext file, for the reason you told before.
Is this file still needed?
(I never load it in my Q60,since Fabrizio took the Movep instructions out 
of
SMSQE).

I'll see whether I can set the VBR explicitly to 0 for a soft reset, too.
Wolfgang

www.scp-paulet-lenerz.com
___
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] RESET in SMSQE

2005-02-25 Thread François Van Emelen
Wolfgang Lenerz schreef:
On 24 Feb 2005 at 23:03, jms1 wrote:

I have just tried reset  on SMSQE 3.07 on my QXL.
On a clean machine, it works.
However if I run my boot program and then reset it crashes.
So there must be something wrong with reset.

just a little hint here:
use FiFi on all files loaded by your boot program, to search for reset.
tell us what you find.
Wolfgang
snip
My sbasic keywords list shows to presence of RESET in:
   dp_tk3 (Digital Precision Toolkit)
   hi_tool2_bin
   sms-q (of course)
   tools_rext
   Dbas_bin (older version)
Hope this helps
And of course, I too use 'reset'.
François Van Emelen
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [ql-users] RESET in SMSQE

2005-02-25 Thread Geogwilt
In a message dated 24/02/05 23:29:18 GMT Standard Time, 
[EMAIL PROTECTED] writes:

 
 jms1 wrote:
 I have just tried reset  on SMSQE 3.07 on my QXL.
 On a clean machine, it works.
 However if I run my boot program and then reset it crashes.
 So there must be something wrong with reset.
 
 Good observation, but jumping too fast to the conclusion. Problems in
 SMSQ/E are almost never this straight forward. For example an
 extension in your boot could have redefined RESET. Or overwritten the
 RESET code. Or 1000 more reasons. You cannot blaim RESET for that.
 
 As I happen to know that the RESET procedure is clean, I find this
 theory much more believable.
 
 

I have found that I was using a RESET from TK3 on my Q40 and Q60. Hence my 
previous remarks were NOT relevant to SMSQE.

However the bad news is that though I have now renamed the TK3 RESET to RASET 
which allows the SMSQE RESET to reappear it (the SMSQE RESET) still crashes 
the machine. This is true of v3.04 and 3.07. Pressing ALT/CONTROL/SHIFT/TAB is 
equally bad.

I have checked the code for SMSQE's RESET and, as far as I can see, it has 
not been overwritten.

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


Re: [ql-users] RESET in SMSQE

2005-02-25 Thread David Gilham
A small question/suggestion  especialy for  george gwilt, try not loading the 
floating point utilitiies which take advantage of the 68060 
hardware floating point as they change the vector base register
which in my opinion mucks ups the behaviour of the SMSQE soft reset
which somewhere in the code assumes a zero vector base register.
This comment also applies to the movep emulation code for the 68060
by mark swift plus any thing else which changes the vecto base register.

A solution more than likely lies in the reset code on SMSQE which seems
implicitly to assume a vector base register of zero. I might be wrong
but an exlicit zero of the vector base register during soft reset under SMSQE 
might be a solution for the problem but a more fundemental look 
at the code might reveal where SMSQE is going wrong and and maybe lead to a 
solution.

-
David Gilham
-
The universe is a queer place

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


Re: [ql-users] RESET in SMSQE

2005-02-25 Thread Marcel Kilgus
David Gilham wrote:
 A solution more than likely lies in the reset code on SMSQE which seems
 implicitly to assume a vector base register of zero.

Very good point. The VBR doesn't seem to be set anywhere in the
initialisation code, although it should.

Marcel

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


Re: [ql-users] RESET in SMSQE

2005-02-25 Thread Fabrizio Diversi
David you are right,
I had the same problem as George with Reset, the problem is due to movep 
emulation rext file, for the reason you told before.

Ciao
Fabrizio
- Original Message - 
From: David Gilham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 25, 2005 6:44 PM
Subject: Re: [ql-users] RESET in SMSQE


A small question/suggestion  especialy for  george gwilt, try not loading 
the floating point utilitiies which take advantage of the 68060
hardware floating point as they change the vector base register
which in my opinion mucks ups the behaviour of the SMSQE soft reset
which somewhere in the code assumes a zero vector base register.
This comment also applies to the movep emulation code for the 68060
by mark swift plus any thing else which changes the vecto base register.

A solution more than likely lies in the reset code on SMSQE which seems
implicitly to assume a vector base register of zero. I might be wrong
but an exlicit zero of the vector base register during soft reset under 
SMSQE might be a solution for the problem but a more fundemental look
at the code might reveal where SMSQE is going wrong and and maybe lead to 
a solution.

-
David Gilham
-
The universe is a queer place
___
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] RESET in SMSQE

2005-02-24 Thread jms1

- Original Message -
From: Wolfgang Lenerz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 23, 2005 4:17 PM
Subject: Re: [ql-users] RESET in SMSQE


 On 23 Feb 2005 at 10:04, [EMAIL PROTECTED] wrote:

  The code for the keyword RESET in SMSQE seems to close all channels and
then
  perform the assembler instruction RESET.

 ()


 It definitely works here. It doesn't do what you say.


  Why has RESET not been reprogrammed?

 As a general rule, concerning SMSQE; the answer to such a question would
be :
 Because you didn't do it.

 Does anyone use it?

 It definitey works here,and I use it.
 Wolfgang
 
 www.scp-paulet-lenerz.com

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

I have just tried reset  on SMSQE 3.07 on my QXL.
On a clean machine, it works.
However if I run my boot program and then reset it crashes.
So there must be something wrong with reset.

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


Re: [ql-users] RESET in SMSQE

2005-02-24 Thread Marcel Kilgus
jms1 wrote:
 I have just tried reset  on SMSQE 3.07 on my QXL.
 On a clean machine, it works.
 However if I run my boot program and then reset it crashes.
 So there must be something wrong with reset.

Good observation, but jumping too fast to the conclusion. Problems in
SMSQ/E are almost never this straight forward. For example an
extension in your boot could have redefined RESET. Or overwritten the
RESET code. Or 1000 more reasons. You cannot blaim RESET for that.

As I happen to know that the RESET procedure is clean, I find this
theory much more believable.

Marcel

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


Re: [ql-users] RESET in SMSQE

2005-02-24 Thread Wolfgang Lenerz
On 24 Feb 2005 at 23:03, jms1 wrote:

 I have just tried reset  on SMSQE 3.07 on my QXL.
 On a clean machine, it works.
 However if I run my boot program and then reset it crashes.
 So there must be something wrong with reset.

Or your boot program.

Wolfgang

www.scp-paulet-lenerz.com

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


Re: [ql-users] RESET in SMSQE

2005-02-24 Thread Wolfgang Lenerz
On 24 Feb 2005 at 23:03, jms1 wrote:

 I have just tried reset  on SMSQE 3.07 on my QXL.
 On a clean machine, it works.
 However if I run my boot program and then reset it crashes.
 So there must be something wrong with reset.

just a little hint here:

use FiFi on all files loaded by your boot program, to search for reset.
tell us what you find.

Wolfgang

www.scp-paulet-lenerz.com

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


[ql-users] RESET in SMSQE

2005-02-23 Thread Geogwilt
The code for the keyword RESET in SMSQE seems to close all channels and then 
perform the assembler instruction RESET. This assembler instruction sets the 
(supervisor) stack equal to the first long word in ram and sets the PC to the 
second long word in ram. Unfortunately for those who have LRESPRd their 
versions of SMSQE on the Q40/60 this will not have the desired effect.

The first five bytes of ram contain the length of a string (3) and the three 
bytes of the string (RES). The second long word of ram is not a good place to 
branch to. First of all the address is odd (not a good omen) and secondly 
there is no program there. At least that is what I surmised. To test this I 
actually typed RESET followed by ENTER and - the machine (Q60) stopped.

Why has RESET not been reprogrammed? Does anyone use it?

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


Re: [ql-users] RESET in SMSQE

2005-02-23 Thread Marcel Kilgus
[EMAIL PROTECTED] wrote:
 The code for the keyword RESET in SMSQE seems to close all channels
 and then perform the assembler instruction RESET.

Hmm no, in my sources it doesn't (smsq_sbas_procs_reset_asm/
smsq_smsq_reset_asm). It branches to the same place CTRL+ALT+SHIFT+TAB
jumps to.

 Why has RESET not been reprogrammed? Does anyone use it?

Do you have another tool that replaces the SMSQ/E RESET command?

Marcel

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


Re: [ql-users] RESET in SMSQE

2005-02-23 Thread Wolfgang Lenerz
On 23 Feb 2005 at 10:04, [EMAIL PROTECTED] wrote:

 The code for the keyword RESET in SMSQE seems to close all channels and then 
 perform the assembler instruction RESET. 

()


It definitely works here. It doesn't do what you say.

 
 Why has RESET not been reprogrammed? 

As a general rule, concerning SMSQE; the answer to such a question would be : 
Because you didn't do it.

Does anyone use it?

It definitey works here,and I use it.
Wolfgang

www.scp-paulet-lenerz.com

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


Re: [ql-users] RESET in SMSQE

2005-02-23 Thread wolfgang mhlegger
Wolfgang Lenerz schrieb:
Does anyone use it?
It definitey works here,and I use it.
Wolfgang
i use it too
wolfgang mühlegger
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [ql-users] RESET in SMSQE

2005-02-23 Thread Michael Grunditz
In message [EMAIL PROTECTED]
  wolfgang mühlegger [EMAIL PROTECTED] wrote:

 Wolfgang Lenerz schrieb:
 
  
  Does anyone use it?
  
  It definitey works here,and I use it.
  Wolfgang
 
 i use it too
 
 wolfgang mühlegger

I use it and it works fine with smsq/e 3. But it did not work with
2.x versions on my Q40.

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