Re: [ql-users] Checking on Processor

2007-03-09 Thread George Gwilt
On 8 Mar 2007, at 19:10, Daniele Terdina wrote: >> The easiest way to distinguish between 68020+ and the others is: >> >> MOVEM.L A7,-(A7) >> CMPA.L (A7),A7 >> ADDQ.L #4,A7 ;Reset A7 and leave condition codes >> unaltered >> BEQ LOW ;Not 680

Re: [ql-users] Checking on Processor

2007-03-08 Thread Daniele Terdina
> The easiest way to distinguish between 68020+ and the others is: > > MOVEM.L A7,-(A7) > CMPA.L (A7),A7 > ADDQ.L #4,A7 ;Reset A7 and leave condition codes > unaltered > BEQ LOW ;Not 68020+ Interesting... this seems to be the opposite of

Re: [ql-users] Checking on Processor

2007-03-02 Thread George Gwilt
On 2 Mar 2007, at 14:14, Rich Mellor wrote: > >> I thought it safer >> to try a real 68020+ instruction, such as BFTST, to check the type of >> machine. This is much more likely to be a proper test for an >> emulator. > > Problem with this is the need to go through TRAPV - something I > have

Re: [ql-users] Checking on Processor

2007-03-02 Thread George Gwilt
On 2 Mar 2007, at 14:14, Rich Mellor wrote: >> >> The easiest way to distinguish between 68020+ and the others is: >> >> MOVEM.L A7,-(A7) >> CMPA.L (A7),A7 >> ADDQ.L #4,A7 ;Reset A7 and leave condition codes unaltered >> BEQ LOW ;Not 68020+

Re: [ql-users] Checking on Processor

2007-03-02 Thread Rich Mellor
On Fri, 02 Mar 2007 11:04:30 -, George Gwilt <[EMAIL PROTECTED]> wrote: > > On 28 Feb 2007, at 16:56, Rich Mellor wrote: > >> Is there an easy way under QDOS to check which chip is in use - if it is a 68000 or 68008 I would use 2 (or 4) MOVE.B commands instead? SMSQ do

Re: [ql-users] Checking on Processor

2007-03-02 Thread George Gwilt
On 28 Feb 2007, at 16:56, Rich Mellor wrote: > >>> Is there an easy way under QDOS to check which chip is in use - >>> if it >>> is a >>> 68000 or 68008 I would use 2 (or 4) MOVE.B commands instead? >>> SMSQ does >>> implement the processor in the system variables, but it is not >>> presen

Re: [ql-users] Checking on Processor

2007-03-01 Thread Malcolm Cadman
In message <[EMAIL PROTECTED]>, Rich Mellor <[EMAIL PROTECTED]> writes >On Wed, 28 Feb 2007 19:44:03 -, Tony Firshman <[EMAIL PROTECTED]> >wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Malcolm Cadman wrote: >>> In message <[EMAIL PROTECTED]>, Rich >>> Mellor <[EMAIL PROTE

Re: [ql-users] Checking on Processor

2007-02-28 Thread Tony Firshman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Mellor wrote: > On Wed, 28 Feb 2007 21:10:14 -, Tony Firshman <[EMAIL PROTECTED]> > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Rich Mellor wrote: >>> On Wed, 28 Feb 2007 19:44:03 -, Tony Firshman <[EMAIL PROTECTE

Re: [ql-users] Checking on Processor

2007-02-28 Thread Rich Mellor
On Wed, 28 Feb 2007 21:10:14 -, Tony Firshman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Rich Mellor wrote: >> On Wed, 28 Feb 2007 19:44:03 -, Tony Firshman <[EMAIL PROTECTED]> >> wrote: >> >>> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA1 >>> >>

Re: [ql-users] Checking on Processor

2007-02-28 Thread Tony Firshman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich Mellor wrote: > On Wed, 28 Feb 2007 19:44:03 -, Tony Firshman <[EMAIL PROTECTED]> > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Malcolm Cadman wrote: >>> In message <[EMAIL PROTECTED]>, Rich >>> Mellor <[EMAIL PROTECT

Re: [ql-users] Checking on Processor

2007-02-28 Thread Rich Mellor
On Wed, 28 Feb 2007 19:44:03 -, Tony Firshman <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Malcolm Cadman wrote: >> In message <[EMAIL PROTECTED]>, Rich >> Mellor <[EMAIL PROTECTED]> writes >> >>> Yes I could do this, but I wanted to ensure that the code w

Re: [ql-users] Checking on Processor

2007-02-28 Thread Tony Firshman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malcolm Cadman wrote: > In message <[EMAIL PROTECTED]>, Rich > Mellor <[EMAIL PROTECTED]> writes > >> Yes I could do this, but I wanted to ensure that the code would also work >> on a Gold Card for possible future projects - not just QWord. Still >>

Re: [ql-users] Checking on Processor

2007-02-28 Thread Malcolm Cadman
In message <[EMAIL PROTECTED]>, Rich Mellor <[EMAIL PROTECTED]> writes >Yes I could do this, but I wanted to ensure that the code would also work >on a Gold Card for possible future projects - not just QWord. Still >no-one has still reported whether it works on a Gold Card+aurora or not >yet !!

Re: [ql-users] Checking on Processor

2007-02-28 Thread Rich Mellor
On Tue, 27 Feb 2007 23:58:15 -, Daniele Terdina <[EMAIL PROTECTED]> wrote: >> Is there an easy way under QDOS to check which chip is in use - if it >> is a >> 68000 or 68008 I would use 2 (or 4) MOVE.B commands instead? SMSQ does >> implement the processor in the system variables, but it

Re: [ql-users] Checking on Processor

2007-02-28 Thread George Gwilt
On 27 Feb 2007, at 21:58, Rich Mellor wrote: > > Now this crashes on a 68008 chip but I am not concerned as QWord > needs a > Super Gold Card ideally to run. However, I wonder whether it works > on a > Gold Card (not tested) - has anyone experience running QWord on a Gold > Card, as the 6800

Re: [ql-users] Checking on Processor

2007-02-27 Thread Daniele Terdina
> Is there an easy way under QDOS to check which chip is in use - if it is a > 68000 or 68008 I would use 2 (or 4) MOVE.B commands instead? SMSQ does > implement the processor in the system variables, but it is not present on > QDOS alas. Here is what smsqe does: move#$3700,sr !!

[ql-users] Checking on Processor

2007-02-27 Thread Rich Mellor
I need to make some amendments to my QWord program to get the code working on Q-emulator. The problem is because I use both MOVE.W (a1)+,(a3)+ and MOVE.L (a1)+,(a3)+ on both odd and even addresses. Now this crashes on a 68008 chip but I am not concerned as QWord needs a Super Gold Card ideally to