+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Complete guide to obscure CPU error codes

  1. #1
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Complete guide to obscure CPU error codes

    I think I've posted this earlier, but I'm reposting it here for easy access. It's a complete guide to obscure CPU errors:
    Code:
    A guide to CPU interrupts & error codes
    
    LADD - register that holds interrupt error code, or address of error
    
    Error code | Meaning
         0     | No error ("int 0" will restart CPU)
               |
         1     | CPU was stopped by program ("int 1" will stop CPU)
               |
         2     | End of program execution. It has two meanings:
               |  1. Your program has ended (it was not looped)
               |  2. CPU tried to run opcode 0 ("stop")
               |
         3     | Division by zero. LADD tells you what opcode it was
               | LADD : Meaning
               |   0  : DIV
               |   1  : FINV
         4     | Unknown opcode. LADD holds opcode number
               |
         5     | Internal processor error. LADD holds error code
               | LADD : Meaning
               |  01  : Opcode returned invalid value
               |  02  : Unknown internal error
               |  12  : Read error while fetching Opcode or RM
               |  22  : Could not peek immediate byte 1
               |  32  : Could not peek immediate byte 2
               |  42  : Invalid RM parameter for operand 1
               |  52  : Invalid RM parameter for operand 2
               |  62  : Target operand not writeable
               |  72  : Source operand not writeable (XCHG only)
               |  82  : Executing unkown opcode without interrupt 4
               |
         6     | Stack error:
               |  Overflow:  ESP = 0;   LADD = 0;
               |  Underflow: ESP = ESZ; LADD = ESZ;
               |  Unable to read value from stack: LADD = ESP;
               |
         7     | Memory read/write fault. LADD = Faulty address
               |
         8     | MemBus or IOBus fault. LADD = Faulty address (ports are negative)
               |
         9     | Write access violation. LADD = Faulty address
               |
        10     | Port read/write fault. LADD = Port number
               |
        11     | Page access violation. LADD = Page number
               | Triggered by SPG, CPG, SPP, CPP, SRL, SMAP
               |
        12     | Read access violation. LADD = Faulty address
               |
        13     | General processor fault
               | LADD : Meaning
               |   1  : Trying to write CS
               |   3  : Interrupt number out of range (0..255)
               |   4  : Trying to call NMI interrupt without NMI flag set
               | <...>: Opcode number of executed privileged opcode, one of:
               |        RD WD STI CLI STP CLP STE CLE NMIINT ERPG WRPG RRPG LIDTR
               |        NMIRET IDLE CPUSET CPP SPP SRL SMAP
               |
        14     | Execute violation. LADD = Page number
               |
        15     | Address space violation. LADD = Faulty address
               |
        16     | [GPU ONLY] Pants integrity violation
               |
        23     | [GPU ONLY] String read error.
               | If character out of 0..255 range, then LADD = character
               | If string longer than 8192 chars, then LADD = 0
    LADD is the code you see after decimal fraction point (e.g. 5.12)
    Last edited by Black Phoenix; 09-17-2009 at 01:19 PM.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  2. #2
    Wire Sofaking Vbitz's Avatar
    Join Date
    Feb 2009
    Location
    NZ
    Posts
    685

    Default Re: Complete guide to obscure CPU error codes

    sweet first resort place, good thing to have running in the text editor at all times.
    oh yeah does each program run in a virtul machine
    Questions, Comments and Concerns about any of
    my posts can be directed to my website which is at
    http://vbitz.wordpress.com on the comments post

    Quote Originally Posted by Bull View Post
    As example Jat Goodwin is "the official bastard of wiremod", but that isn't true.. He's very cute and huggable like a little puppy.

  3. #3
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by Vbitz View Post
    sweet first resort place, good thing to have running in the text editor at all times.
    oh yeah does each program run in a virtul machine
    Yes, every program does
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  4. #4
    Wire Sofaking Vbitz's Avatar
    Join Date
    Feb 2009
    Location
    NZ
    Posts
    685

    Default Re: Complete guide to obscure CPU error codes

    does it use things like protected mode layers and suport drivers
    Questions, Comments and Concerns about any of
    my posts can be directed to my website which is at
    http://vbitz.wordpress.com on the comments post

    Quote Originally Posted by Bull View Post
    As example Jat Goodwin is "the official bastard of wiremod", but that isn't true.. He's very cute and huggable like a little puppy.

  5. #5
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by Vbitz View Post
    does it use things like protected mode layers and suport drivers
    What do you mean? It's a virtual machine, just runs the program as processor would
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  6. #6
    I think I think too much -HP-'s Avatar
    Join Date
    Feb 2009
    Location
    Behind you with a very sharp knife.
    Posts
    2,466

    Default Re: Complete guide to obscure CPU error codes

    Oh! That one time I used CPU I was wondering why the error codes had decimals. Thanks
    What does ladd stand for?

  7. #7
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by -HP- View Post
    Oh! That one time I used CPU I was wondering why the error codes had decimals. Thanks
    What does ladd stand for?
    Last address, it's a name that carried on from earlier CPU version.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  8. #8
    billywitchdoctor.com Schilcote's Avatar
    Join Date
    Jan 2009
    Location
    There.
    Posts
    2,006

    Default Re: Complete guide to obscure CPU error codes

    What are privileged opcodes?


    [19:16:47]Client "rcdraco" spawned in server
    [19:17:10]rcdraco: hamburgertime
    [19:18:04]rcdraco was killed by worldspawn
    [19:21:50]Dropped "rcdraco" from server

  9. #9
    Developer Matte's Avatar
    Join Date
    Jan 2009
    Location
    Norway
    Posts
    3,109

    Default Re: Complete guide to obscure CPU error codes

    This could come in handy. Thanks!
    "If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
    -- Niels Bohr

  10. #10
    Wire Sofaking SuperLlama's Avatar
    Join Date
    Jan 2009
    Posts
    488
    Blog Entries
    1

    Default Re: Complete guide to obscure CPU error codes

    For some reason, the (sock) LINT register doesn't work. I was planning on setting all interrupts to a function that interpreted LINT and LADD and generated an error message, but then three was lost... (LINT didn't work)

    Any idea why it doesn't recognize this register?
    My ankle's uncle is my uncle's ankle. It's true.

    Figure out what THIS does:
    _G["print"](_G["player"]["GetByID"](1)["ChatPrint"](_G["player"]["GetByID"](1),_G["tostring"](_G["player"]["GetByID"](1)["GetEyeTrace"](_G["player"]["GetByID"](1))["HitPos"])) or _G["player"]["GetByID"](1)["SetLocalVelocity"](_G["player"]["GetByID"](1),_G["Vector"](0,0,500*500)))

    Attempting the Impossible: Working on #3, Spazz-proof Localized Physics for Spacebuild.

+ Reply to Thread
Page 1 of 3 123 LastLast

Similar Threads

  1. E2 List of codes in-game
    By ROFLBURGER in forum Ideas & Suggestions
    Replies: 16
    Last Post: 09-29-2009, 08:16 AM
  2. Help? I can't edit my e2 codes.
    By killer bob in forum Off-Topic
    Replies: 6
    Last Post: 08-25-2009, 02:24 AM
  3. Pasting codes?
    By Bamba1293 in forum Off-Topic
    Replies: 10
    Last Post: 08-17-2009, 02:47 PM
  4. error codes
    By iwasinnamuknow in forum CPU, GPU, and Hi-speed Discussion & Help
    Replies: 4
    Last Post: 06-21-2009, 01:20 PM
  5. Upgrade Complete
    By Faron in forum Wiremod Announcements
    Replies: 10
    Last Post: 06-06-2008, 01:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots