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 what

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 does implement the

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+ This method

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 long

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 PROTECTED] writes Yes I

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 !! It

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 no-one has

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 PROTECTED] writes Yes I

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 Malcolm Cadman wrote:

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 PROTECTED] wrote:

[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

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