Results 1 to 2 of 2
  1. #1
    EmuTalk Member
    Join Date
    Jan 2005
    Posts
    18

    How is RCP emulated?

    Hi, I am studing the n64 inners in order to understand if we can find a way to do LLE emulation somehow.
    I can't understand some details in RCP emulation.
    (don't fear to use tecnical terminology or details in you replies)
    • The RCP runs in parallel with the CPU. How do the two syncronize? How do the current emus simulate this parallelism?
      Mupen does something like runRSPCycles(100);
    • Is there a complete list of RSP opcodes?
      The one by anarko and the other by bpoint are wrong/outdated AFAIK.
    • How do task are submitted to the RSP?
    • The RDP is not reprogrammable, isn't it?

    This is enough for now, I hope someone with the needed knowledge will find some time to answer these questions.
    I'll be back in the next days with new questions



    • Advertising

      advertising
      EmuTalk.net
      has no influence
      on the ads that
      are displayed
        
       

  2. #2
    EmuTalk Member
    Join Date
    Jan 2005
    Posts
    18
    I found the RSP interpreter by zilmar. Reading its code is helping me to understand many details.
    Too bad that the RSP source has not been updated since 2001

    • How do task are submitted to the RSP?
    It seems that RSP tasks are submitted via SP_{RD,WR}_LEN once SP_STATUS is cleared. So break should stop the RSP by setting some bits on SP_STATUS.
    This means that everytime a gfx is shown, before sending the associated DL, the gfx ucode has be to DMA'd to IMEM. Is this correct?

    • The RDP is not reprogrammable, isn't it?
    The RDP execute commands that someone (the RDP ucode?) synthetize to DMEM.
    I think that RDP is started/stopped/operated via DP command registers. Is this correct?

    This leaves me with two new questions
    • What are the DP span registers used for?
      I found them in anarko's n64ops#h.txt
    • Once RSP opcodes are emulated and RDP commands executed, what is left for a true LLE emulation?
    /W!

Similar Threads

  1. best emulated games
    By lplover2k2 in forum 1964
    Replies: 2
    Last Post: December 31st, 2003, 02:49
  2. Replies: 2
    Last Post: May 9th, 2003, 02:23
  3. Games that are WAY better emulated
    By jeromyho in forum General N64 Emulation Discussion
    Replies: 28
    Last Post: April 14th, 2003, 23:10
  4. RCP does it again!!!
    By 64ultramaniac in forum Other Emulation Discussion
    Replies: 13
    Last Post: October 4th, 2002, 10:21
  5. Only some wrestling games emulated?
    By garboy in forum Project64
    Replies: 5
    Last Post: May 30th, 2002, 05:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •