Search found 11 matches

by ffgriever
Thu Apr 17, 2008 4:18 am
Forum: PS2 Development
Topic: how to load binary files from USB?
Replies: 10
Views: 5756

If you didn't reset the IOP (and the program you launched yours with didn't and the drivers the launcher used are standard ioman/iomanx compatible - you probably won't get it working with SM mass drivers) then just open the "mass:somefile" or "mass0:somefile". If you did reset IO...
by ffgriever
Wed Apr 16, 2008 10:54 pm
Forum: PS2 Development
Topic: Loading .IRX from computer to PS2
Replies: 7
Views: 4425

It seems you're using SCE's sdk, not ps2sdk. I'm afraid you won't get much help here.
by ffgriever
Tue Dec 18, 2007 9:59 pm
Forum: PS2 Development
Topic: Some questions about tlb
Replies: 3
Views: 2605

JTLB is not described in the EE manual. It is just called TLB lookup. True, but it's not about nomenclature, but usability and purpose. It's one joint table for both instruction and data fetch, soooo... Anyway, sony in their manuals was very vague when it comes to this part of mmu. It's basically l...
by ffgriever
Tue Dec 18, 2007 2:58 am
Forum: PS2 Development
Topic: Some questions about tlb
Replies: 3
Views: 2605

Some questions about tlb

I've got some questions about TLB on PS2 (r5900). Well, some questions plus something I'm unsure of, so I'll be glad if someone would correct me if I'm wrong. Normally when data/instruction is to be fetched, there occurs DTLB/ITLB lookup in parallel with JTLB lookup (this can decrease the overhead o...
by ffgriever
Thu Nov 29, 2007 9:46 am
Forum: PS2 Development
Topic: Small ps2link fix
Replies: 1
Views: 2345

Small ps2link fix

ps2link/ee/cmdHandler.c function pkoDumpMem You forgot to increase pointer, so it writes the same 16kB over and over (if user specified to get more than 16kB that means). IMO, just change: memcpy(dataBuffer, (void *)offset, len); to: memcpy(dataBuffer, (void *)(offset+total), len); Or increase the o...
by ffgriever
Tue Nov 06, 2007 7:10 pm
Forum: PS2 Development
Topic: Problems with reads in no-wait RPC calls
Replies: 5
Views: 3695

Thank you guys... both I think you can't use things like: SifCallRpc(&tmp_cd0, TMP_TRANSFER_BUFF, 0, tmp_rpcReBuff, 16, &tmp_ret, 16, 0, 0); SifCallRpc(&tmp_cd0, TEMP_READBUFFAHEAD, 1, 0,0, 0,0, 0, 0); if one of the calls is asynchrounous. However you can ...
by ffgriever
Sun Nov 04, 2007 11:03 am
Forum: PS2 Development
Topic: Problems with reads in no-wait RPC calls
Replies: 5
Views: 3695

Sorry, thought everything was clear... guess not (not really my best day I would say... but was I really THAT unclear?). You say that you wait on EE until IOP has filled the buffer using a semaphore. How did you share the semaphore between IOP and EE? I didn't. I'm waiting on IOP side... but since t...
by ffgriever
Sun Nov 04, 2007 1:06 am
Forum: PS2 Development
Topic: Problems with reads in no-wait RPC calls
Replies: 5
Views: 3695

Problems with reads in no-wait RPC calls

I've run into weird problem with calling RPCs in no-wait mode. The concept of the code in question is very simple: 1. RPC function is called to send filled buffer from IOP side to EE side. If buffer is not yet filled, it waits till it's done (semaphore). If the required data lies outside of the buff...
by ffgriever
Mon Oct 29, 2007 6:57 am
Forum: PS2 Development
Topic: Questions about mips asm/inline asm and other stuff
Replies: 4
Views: 3234

Thanks, but IPU is busy at the time. EE has still some idle time, that's why I'm using it to make some precalculations for next frame. Plus, as you wrote, IPU does support packing to 16bit only, not extending to 32bit (and I need to do both, sometimes even on quite large amount of data).
by ffgriever
Sat Oct 27, 2007 5:50 pm
Forum: PS2 Development
Topic: Questions about mips asm/inline asm and other stuff
Replies: 4
Views: 3234

Aww... shame on me. Such an easy mistake. Still not get used to the gcc inline assembler. More, everything was clearly stated in the every gcc inline asm howtos. Must've left my mind behind.

Thank you.

(PS. the other qs still apply)
by ffgriever
Sat Oct 27, 2007 8:30 am
Forum: PS2 Development
Topic: Questions about mips asm/inline asm and other stuff
Replies: 4
Views: 3234

Questions about mips asm/inline asm and other stuff

Ok, I know... this is not truly ps2 development related (more mips gcc specific), but right now I'm just not sure whether those "problems" are not connected to ps2 more than I think they are. Anyway, first question. Let's consider some simple code, that fetches word from memory address whi...