24 July 2021, 11:39 | #1 |
Registered User
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
|
code to check 68060 version
First:
Is there an existing tiny command line tool (max size a few KB) that can report the 68060 version number? I'm aware of WhichAmiga, but its much larger and does much I don't need. If not, which means is used to check the version? Are there some flags inside the cpu that can be read and then converted into something meaningful, or is it more complex than that? Do you need 68060 spesific op codes to do it, or can it be done with an old assembler, like AsmOne? |
24 July 2021, 11:52 | #2 |
Thalion Webshrine
Join Date: Jan 2004
Location: Oxford
Posts: 14,337
|
Go into supervisor mode and read the PCR control register, and bits 8 through 15 will hold the revision number.
WhichAmiga by Harry "Piru" Sintonen http://aminet.net/package/util/moni/WhichAmiga It's open source so shows the code to read the PCR register and decode it. |
24 July 2021, 12:13 | #3 |
Registered User
Join Date: May 2013
Location: Kleppe / Norway
Posts: 253
|
Thanks, I will have a look at it!
Edit: In the process i found the mycpu060 command on aminet, this also reports CPU revision, and is small enough for my spesific need. Last edited by Yulquen74; 24 July 2021 at 12:59. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check Kickstart version from code | KONEY | Coders. Asm / Hardware | 21 | 09 February 2021 00:09 |
Could someone please sense check this assembly code? | Ernst Blofeld | Coders. Asm / Hardware | 4 | 06 February 2021 15:26 |
68060 hw check revision tool | k0x | support.Hardware | 0 | 30 September 2019 01:30 |
Probench 3 / Version w/o serial check | Hagbard | request.Apps | 12 | 14 January 2017 17:20 |
Beneath a steel sky, code word check | Djay | support.Games | 1 | 20 February 2011 00:52 |
|
|