English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 24 July 2021, 11:39   #1
Yulquen74
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?
Yulquen74 is offline  
Old 24 July 2021, 11:52   #2
alexh
Thalion Webshrine
 
alexh's Avatar
 
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.
alexh is offline  
Old 24 July 2021, 12:13   #3
Yulquen74
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.
Yulquen74 is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:15.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06198 seconds with 13 queries