Easter egg in Rise MP6 processor
Goto page 1, 2, 3  Next

Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only)
View previous topic :: View next topic  
Author Message
gshv



Joined: 01 Feb 2003
Posts: 7898
Location: Fairfax, VA USA

PostPosted: Wed Nov 26, 2008 4:48 pm    Post subject: Easter egg in Rise MP6 processor Reply with quote

Description of the Easter Egg is here:

http://www.cpu-world.com/CPUs/MP6/index.html

Chris Norrie also provided a small program that executes the CPUID instruction and prints the result:

http://www.cpu-world.com/images/forum2008/CpuidNz.com

Source code for the program:
http://www.cpu-world.com/images/forum2008/CpuidNZ.asm

I tested on my Rise MP6 and it printed "* Chris Norrie *". AMD K6 and Intel Pentium didn't print it.

Gennadiy
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
Windmiller



Joined: 24 Jun 2005
Posts: 1716
Location: Chapel Hill, NC

PostPosted: Wed Nov 26, 2008 5:05 pm    Post subject: Reply with quote

So cool!! Did you get any ES from him?
Back to top
View user's profile Send private message [ Hidden ]
gshv



Joined: 01 Feb 2003
Posts: 7898
Location: Fairfax, VA USA

PostPosted: Wed Nov 26, 2008 5:23 pm    Post subject: Reply with quote

Windmiller wrote:
So cool!! Did you get any ES from him?

No. I think this Easter Egg is as valuable as an MP6 ES processor Smile

Gennadiy
Back to top
View user's profile Send private message [ Hidden ] Visit poster's website
donutty



Joined: 16 Feb 2008
Posts: 1122

PostPosted: Wed Nov 26, 2008 5:34 pm    Post subject: Reply with quote

Easter eggs are now much frowned upon... especially in hardware!

I like this one: http://www.slack.com/hp3314a.html
Back to top
View user's profile Send private message   MSN Messenger
JAC



Joined: 24 Jul 2005
Posts: 3469

PostPosted: Wed Nov 26, 2008 6:23 pm    Post subject: Reply with quote

donutty wrote:
Easter eggs are now much frowned upon... especially in hardware!

I like this one: http://www.slack.com/hp3314a.html



Who frowns? If you dont know its there, then nobody cares!
Back to top
View user's profile Send private message  
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Wed Nov 26, 2008 6:26 pm    Post subject: Reply with quote

I think Easter Eggs are cool. Great to know about this one - I might even incorporate it when I get round to updating my CPUID code Smile
_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
Windmiller



Joined: 24 Jun 2005
Posts: 1716
Location: Chapel Hill, NC

PostPosted: Wed Nov 26, 2008 6:56 pm    Post subject: Reply with quote

gshv wrote:
Windmiller wrote:
So cool!! Did you get any ES from him?

No. I think this Easter Egg is as valuable as an MP6 ES processor Smile

Gennadiy



I agree!! I love easter eggs! I also like hidden graphics on chip die Smile
Back to top
View user's profile Send private message [ Hidden ]
hugo929



Joined: 27 Oct 2006
Posts: 6163
Location: China

PostPosted: Wed Nov 26, 2008 10:56 pm    Post subject: Reply with quote

Is this mean every MP6 has an Easter egg inside?
_________________
My vintage CPU collection:www.cpumuseum.com
Chinese Forum: http://www.cpumuseum.com/forum
Back to top
View user's profile Send private message   Visit poster's website
smithy



Joined: 27 Apr 2008
Posts: 2906
Location: Sydney, Australia

PostPosted: Wed Nov 26, 2008 11:23 pm    Post subject: Reply with quote

Clearly he went to a lot of trouble to incorporate this. Love it!
_________________
My former Intel collection:
www.smithschips.com.au
Back to top
View user's profile Send private message   Visit poster's website
donutty



Joined: 16 Feb 2008
Posts: 1122

PostPosted: Thu Nov 27, 2008 1:17 pm    Post subject: Reply with quote

The companies who you work for frown.
Especially Microsoft - it's practice is banned.
Back to top
View user's profile Send private message   MSN Messenger
CPUShack



Joined: 16 Jun 2003
Posts: 34259
Location: State of Jefferson, USA

PostPosted: Thu Nov 27, 2008 1:19 pm    Post subject: Reply with quote

Easter eggs are generally banned because they are hard to debug.

Since the debuggers do not know they exist, ALL test cases cannot be tested.

Easter egg code can (and sometimes does) open new flaws and/or vulnerabilities that then can be missed in final testing, espectially in an application with hundreds of thousands of lines of code

_________________
New for 2025! The CPU Shack has a co-processor!

Visit The CPU Shack of microprocessor history and information.
Back to top
View user's profile Send private message   Visit poster's website AIM Address MSN Messenger
red-ray



Joined: 18 Jun 2019
Posts: 46
Location: England

PostPosted: Tue Jun 18, 2019 5:01 pm    Post subject: Which CPUs have the "* Chris Norrie *" Easter Egg? Reply with quote

I just got a Rise mP6 (Kirin) as I liked the idea of a CPU Easter Egg then updated my SIV utility to report it. I am now wondering if it's just the Kirin that has this or if it's in Lynx as well.

Has anyone managed to get Windows XP to run on a Rise mP6 (Kirin)? When I tried to install it this was not possible as the installation reported that the CMPXCHG8 Instruction is needed which the Rise mP6 does not seem to have. I already had 2003 server setup, but that will not boot when the Rise mP6 CPU is installed.
Back to top
View user's profile Send private message   Visit poster's website
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Tue Jun 18, 2019 5:11 pm    Post subject: Reply with quote

Is there any chance that anyone still has the cpuidnz.asm file? I can't find it in my archive.
_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
red-ray



Joined: 18 Jun 2019
Posts: 46
Location: England

PostPosted: Tue Jun 18, 2019 5:27 pm    Post subject: Here is my code Reply with quote

I could not find it, but below is the code I used to read it

Code:
  siv_cpuid( 0x00005A4E, 0, &cpu->cpNZ );                                       //

  ci += stprintf( ci, TEXT( "\n"                                   )            //
                      TEXT( "\n\t00005A4E\t%08X\t%08X\t%08X\t%08X" ),           //
                             pmi[ 3 ] = cpu->cpNZ.eax,                          // "ie *"
                             pmi[ 0 ] = cpu->cpNZ.ebx,                          // "* Ch"
                             pmi[ 2 ] = cpu->cpNZ.ecx,                          // "Norr"
                             pmi[ 1 ] = cpu->cpNZ.edx );                        // "ris "


VOID siv_cpuid(                             // Execute a CPUID Instruction
        ULONG           ieax,               // CPUID Number
        ULONG           iecx,               // CPUID Level
        CRDB           *data )              // return data
{       ULONG           teax;               // temp EAX
        ULONG           tebx;               // temp EBX
        ULONG           tecx;               // temp ECX
        ULONG           tedx;               // temp EDX

    __asm  mov     eax, ieax                                // set the CPUID Number
    __asm  xor     ebx, ebx                                 // zero
    __asm  mov     ecx, iecx                                // set the CPUID Level
    __asm  xor     edx, edx                                 // zero
    __asm  _emit   0x0F                                     // do the CPUID Instruction
    __asm  _emit   0xA2                                     //
    __asm  mov     teax, eax                                // copy to local temps
    __asm  mov     tebx, ebx                                //
    __asm  mov     tecx, ecx                                //
    __asm  mov     tedx, edx                                //

    data->eax = teax;                                       // copy to user block
    data->ebx = tebx;                                       //
    data->ecx = tecx;                                       //
    data->edx = tedx;                                       //

    return;                                                 // done
}


Last edited by red-ray on Wed Jun 19, 2019 10:15 am; edited 2 times in total
Back to top
View user's profile Send private message   Visit poster's website
debs3759



Joined: 18 Jan 2006
Posts: 9477
Location: Northampton, Divided Kingdom

PostPosted: Tue Jun 18, 2019 5:47 pm    Post subject: Reply with quote

I need to see it in a pure x86 assembly language. asm extensions to high level languages are not as easy for me to read, due to only knowing ANSI C and std C++ and being too old to figure out too much new stuff Smile
_________________
My graphics card database can be found at http://www.gpuzoo.com.

I can resist anything except temptation.

Debs
Back to top
View user's profile Send private message  
Display posts from previous:   
Post new topic   Reply to topic    CPU-World.com forums Forum Index -> Modern Chips (Collectible Chips only) All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001 phpBB Group