+ Reply to Thread
Page 12 of 13 FirstFirst ... 210111213 LastLast
Results 111 to 120 of 126

Thread: The "Foxy" CPU.

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

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by Dragonheart View Post
    I could make a simple game using a combination of CPU and GPU right? Ive seen plenty of games of course, but I think they use expression not CPU
    Definitely.
    Check out BlackFOX for example.

    I'm also currently working on my own at the moment, but gonna spend a couple months continually adding to it.

  2. #112
    Wirererer Dragonheart's Avatar
    Join Date
    Jan 2009
    Location
    Celedon City, Kanto
    Posts
    341

    Default Re: The "Foxy" CPU.

    Thats good, I'll try and start one soon, but I need to read both of the tutorials a couple more times
    I throw

  3. #113
    Lifetime Supporter Nikita's Avatar
    Join Date
    May 2009
    Posts
    769

    Default Re: The "Foxy" CPU.

    Could you show me how can I do thread switching on a CPU?

    It would appear that during a NMI all registers are pushed onto the stack, however when I try to pop or push to stack inside a NMI I get either an underflow or overflow =/

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

    Default Re: The "Foxy" CPU.

    I'll show you how to do thread switching on CPU, I've added timers (for some reason they were not in main SVN, but they were in emufox CPU SVN) which allow you to run NMI interrupt every X ticks.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

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

    Question Help with a variation of memory storage! Please!

    Ok, so I'm making a memory device using assembly that will store numbers, then can retrieve specified slots. I can't seem to get the retrieving part right though. If you can help at all it would be wonderful. Thanks!

    Note: I put more information in the actual code...


    Code:
    Data; // data section
    
    define offset, 5000 // defines the offset for saving data
    
    Code; // code section
    
    add eax, offset // makes eax the offset
    
    Btn1: // button 1 (The writing button)
    in ebx, port0 // button one is connected to port 0
    cmp ebx, 1 // if button one is on then...
    je Write // jump to Write
    jne Btn2 // otherwise continue to check button 2
    
    Btn2: // button 2 (the reading button)
    in ebx, port1 // button 2 is connected to port 1
    cmp ebx, 1 // if button 2 is on then...
    je Read // jump to Read
    jne Btn1 // otherwise go back and check button 1
    
    Write: // the Write section
    in edx, port2 // it takes in the number to write from port 2
    mov #eax, edx // it writes that data to the register
    in ebx, port0 // it checks the button again
    cmp ebx, 1 // still checking...
    jne Debug // if the button is off, good! go to debug!
    je Write // if the button is still on, bad, go back and re-write
             // the info in the same slot
    
    Debug: // Debug
    inc eax // it moves eax to the next slot (ex. 5001)
    jmp Btn2 // it goes back and checks button 2, the loop starts over
    
    Read: // the Read section (this is what i need help with)
    // HOW CAN I RETRIEVE A CERTAIN SPECIFIED REGISTER? I JUST WANT 
    // TO OUTPUT IT ON A SCREEN...

  6. #116
    Wire Amateur perlm's Avatar
    Join Date
    Jul 2010
    Location
    Sweden
    Posts
    73

    Default Re: The "Foxy" CPU.

    Extremly helpful text, you kept it simple as it's supposed to be. Two thumbs up.
    We don't live in a world of shoulds.

  7. #117
    Wire Sofaking -=Fox=-'s Avatar
    Join Date
    Feb 2007
    Location
    Somewhere in my Mind...
    Posts
    1,846
    Blog Entries
    7

    Default Re: The "Foxy" CPU.

    I've pretty much quit working on this, HOWEVER that doesn't mean it will never be done. I've just run out of time. So if anyone Mod would like to correct mistakes and or bugs, go for it, I don't have the time to manage it at the moment. ^_^

    BUT! It covers pretty much the basics of what you need to know to work the CPU. I might add more on the Second Foxy CPU tutorial which has more advanced stuff and other system that can be used by the CPU.
    http://tiny.cc/OMFGWTFBBQ

    Best People On Wiremod!

    Black Phoenix, Azrael, Jat Goodwin, Magos Mechanicus, ITSBTH, Fizyk, g33v3s,tuusita, InfectiousFight, ief015

    Pointless things that are pointless, are pointlessly pointless, therefore pointlessness is pointless.
    So pointlessly pointing out the pointlessness of this pointless signature is utterly pointless.
    My IQ is 123

  8. #118
    Wirererer userman122's Avatar
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    179

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by -=Fox=- View Post
    Quote snipped
    Rep+
    Last edited by Colonel Thirty Two; 12-09-2010 at 04:34 PM.

  9. #119
    Banned Sitting Bear's Avatar
    Join Date
    Sep 2010
    Posts
    184

    Default Re: The "Foxy" CPU.

    Quoting a huge post really emphasizes how you feel about this.

  10. #120
    Wirererer userman122's Avatar
    Join Date
    Mar 2010
    Location
    Norway
    Posts
    179

    Default Re: The "Foxy" CPU.

    Quote Originally Posted by Sitting Bear View Post
    Quoting a huge post really emphasizes how you feel about this.
    Sorry.

+ Reply to Thread
Page 12 of 13 FirstFirst ... 210111213 LastLast

Similar Threads

  1. The "Foxy" CPU - Part 2
    By -=Fox=- in forum CPU Tutorials
    Replies: 40
    Last Post: 06-27-2010, 04:00 PM
  2. Want to understand "interval" and "timer" in Expression 2
    By anthraxyhe in forum Installation and Malfunctions Support
    Replies: 25
    Last Post: 12-08-2009, 09:36 AM
  3. Replies: 0
    Last Post: 02-14-2009, 06:13 AM
  4. Xtensity's "Spaceman Turret V6" Tutorial, "Head Shots FTW"
    By Xtensity in forum Gate Nostalgia (Old School Wiring) Discussion & Help
    Replies: 24
    Last Post: 09-20-2008, 08:46 AM
  5. Need the pack that has the "Generator" and "Razor" models...
    By Mr. Brightside in forum Installation and Malfunctions Support
    Replies: 2
    Last Post: 06-06-2007, 11:16 AM

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