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 68000 does not appear to acccept these commands on an odd
> address also.
>

The Gold Card is not 68020+ and so QWord will not work on it.

>
> Anyway, in order to retain maximum compatability, q-emulator also
> generates an address error on these commands - it emulates a 68008  
> chip.
>
> 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.


The emulator should allow you to use MT.TRAPV (TRAP #1 with D0=7) You  
can then set the code for illegal instructions to test for, say,  
BFTEST D0{0:1}. If this succeeds you have a 68020+. If it fails you  
haven't.

George

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

Reply via email to