Search found 7 matches

by R0
Tue Aug 30, 2005 12:04 am
Forum: PS2 Development
Topic: GetSystemTime
Replies: 0
Views: 1585

GetSystemTime

I failed to find an information about GetSystemTime() call so I have few questions. 1) What kind of time is returned by this function ? (real-time, IOP uptime or what ?) 2) Is there any relationship between GetSystemTime() and cdReadClock() call ? (How can the GetSystemTime() call obtain time ?) 3) ...
by R0
Thu Aug 04, 2005 8:55 am
Forum: PS2 Development
Topic: Unaligned memory access
Replies: 8
Views: 3032

Unaligned memory access

How can I tell compiler to use "lwr/lwl" and "swr/swl" pairs instead of single "lw" and "sw" operations? I'd like to force compiler to generate those instructions for specified pointers. Is it possible ?
by R0
Sat Jun 25, 2005 8:08 am
Forum: PS2 Development
Topic: PS2ATAD
Replies: 6
Views: 3627

Is our ps2atad really so closely related to the Sony atad module, that we can expect code snippets like this to even exist in similar form ? Both ps2dev9 and ps2atad are very close to SCE's modules. ps2dev9 differs from dev9 in some functions: dma transfer (sema vs polling), initialization (ps2dev9...
by R0
Sat Jun 25, 2005 2:26 am
Forum: PS2 Development
Topic: PS2ATAD
Replies: 6
Views: 3627

PS2ATAD

I managed to find a suspicious code in PS2ATAD module. There is a function ata_device_probe() in the file ps2atad.c with possible bug in it. I think following code is incorrect: if ((nsector != 1) || (nsector != 1)) return; It seems one of variables wa...
by R0
Mon May 30, 2005 1:28 am
Forum: PS2 Development
Topic: Streaming from CD or DVD
Replies: 2
Views: 1491

Streaming from CD or DVD

Can somebody explain advantages of data streaming from disc if there are any? I noticed some functions like cdStRead in libcdvd.h but I don't know what they are for. It seems there was no discussion of such features or at least I failed to find it (no topics or code examples). Btw, what's difference...
by R0
Sun Oct 03, 2004 12:10 am
Forum: PS2 Development
Topic: Interrupt (IRQ) list
Replies: 1
Views: 1321

According ps2lib it is s32 AddIntcHandler(s32 cause, s32(*handler_func)(s32 cause), s32 next); However I don't know meaning of "next" arg. Btw here is my suggestions about INTC. 0 - GS 1 - SBUS 2 - vblank start 3 - vblank end 4 - VIF0 5 - VIF1 6 - VU0 7 - VU1 8 - IPU 9&10 - some timers
by R0
Sat Oct 02, 2004 8:19 am
Forum: PS2 Development
Topic: Thread initial_priority
Replies: 0
Views: 1718

Thread initial_priority

Questions about thread priority on PS2. Is there nearly complete information about "initial_priority"? First of all I want to know, how I should choose a priority value for my threads. Since there are many priority levels I am slightly confused. And is there any difference between priority...