+ Reply to Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: Complete guide to obscure CPU error codes

  1. #11
    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 Superllama View Post
    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?
    What do you mean not recognize? You need to use "cpuget eax,28" to read LINT.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  2. #12
    Wire Noob livestrong2431's Avatar
    Join Date
    Oct 2009
    Posts
    12

    Default Re: Complete guide to obscure CPU error codes

    Um, I'm following a tutorial for a CPU exactly, wiring it like this:

    CPU[Clk] -> Button
    CPU[IOBus] -> DataPort[Port0]
    Screen -> DataPort[Port0]
    DataPort[Port0] -> Const.Value

    And the code is like this:

    Loop:
    in EAX,0
    add EAX,5
    out 0,EAX
    jmp Loop;

    But no matter what I try I'm getting the error: 5.12

    I just even reinstalled Wiremod, what is there left to try? Thanks...

  3. #13
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: Complete guide to obscure CPU error codes

    I think the problem there is that you are naming a label the exact same name as an already existing opcode. Try renaming the "Loop" label to something more unique.

    Also, I'm pretty sure you need to jump to the label first or it wont execute. put jmp "LabelName" at the top of your code.

  4. #14
    Wirererer Evac's Avatar
    Join Date
    Apr 2010
    Posts
    147

    Default Re: Complete guide to obscure CPU error codes

    A good way to go around that problem is to add "_" before each label name.

    Code:
    _Loop:
    mov eax,port0
    add eax,5
    mov port0,eax
    jmp _loop

  5. #15
    Ursus maritimus Drunkie's Avatar
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    5,662
    Blog Entries
    1

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by Evac View Post
    A good way to go around that problem is to add "_" before each label name.
    Or you can just give your subroutines meaningful names; quite useful when writing code in any language.

  6. #16
    Wire Noob livestrong2431's Avatar
    Join Date
    Oct 2009
    Posts
    12

    Default Re: Complete guide to obscure CPU error codes

    Yes, that worked, thanks. One more question, if I may? How do you wire the Data Port to the CPU when you have multiple inputs from different ports? The same way? Example code:

    function add(a,b)
    mov eax, a
    add eax, b
    return eax
    end

    mov ebx, port0
    mov ecx, port1
    mov port0, add(ebx,ecx)

    I hope that's correct...

    Edit:

    Are you sure CPU is really working after the updates? Hello world doesn't work when following the instructions perfectly...
    Last edited by livestrong2431; 06-19-2010 at 10:00 AM.

  7. #17
    Wire Sofaking Fizyk's Avatar
    Join Date
    Jun 2008
    Location
    Łomianki, Poland
    Posts
    740
    Blog Entries
    1

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by Black Phoenix
    No living person on earth has got the function macros to work, so wait till I say they fully work
    From ZCPU Documentation.

    And you always wire the Data Port to the CPU the same way, just one connection is needed.

    My programs: BIOS - Alcyone - Calculator - Notepad - Movie Player
    My tutorials: applyTorque - Quaternions - PID controllers
    Some other things I made: FT Chip - RK4 Solar System

  8. #18
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: Complete guide to obscure CPU error codes

    So.. Can someone tell me what a "Pants integrity violation" is? (error 16)
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

  9. #19
    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 jacoby6000 View Post
    So.. Can someone tell me what a "Pants integrity violation" is? (error 16)
    Did you ever feel violated, but while still wearing your pants?
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  10. #20
    Wire Sofaking jacoby6000's Avatar
    Join Date
    Feb 2008
    Location
    behind you when you aren't looking
    Posts
    792

    Default Re: Complete guide to obscure CPU error codes

    Quote Originally Posted by Black Phoenix View Post
    Did you ever feel violated, but while still wearing your pants?
    Only when I'm around homosexuals.. Otherwise it's not exactly a violation.. Does the CPU have this feeling too?
    Quote Originally Posted by Garrysmod View Post
    Warning: You're trying to render in the wrong place. This doesn't play nice with multi-core rendering, so we're not going to let you draw here.
    I'm not stupid!
    In [his] experience that was a sentence never to be uttered except to prove its own inaccuracy
    --Orson Scott Card

+ Reply to Thread
Page 2 of 3 FirstFirst 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