Search found 34 matches

by Oibaf
Sun Dec 14, 2014 9:21 am
Forum: Bug Reports
Topic: gettimeoftheday, clock_gettime, tick_microsecs, tick_nanosec
Replies: 3
Views: 7744

gettimeoftheday, clock_gettime, tick_microsecs, tick_nanosec

The functions gettimeoftheday(), clock_gettime(), tick_microsecs, tick_nanosecs in libogc are all buggy. In this post there is a decription of the issues: http://devkitpro.org/viewtopic.php?f=3&t=3056 To sum up: In lwp_watchdog.h the macros tick_microsecs and tick_nanosecs should be defined as: #def...
by Oibaf
Sat Dec 13, 2014 1:46 pm
Forum: devkitPPC
Topic: gettimeofday() inaccuracy
Replies: 3
Views: 9177

Re: gettimeofday() inaccuracy

It looks like __libogc_gettod_r() in timesupp.c should be using tick_to_microsecs() instead of tick_microsecs(). The function to be used in __libogc_gettod_r should be tick_microsecs() since tv_usec indicates the number of nanoseconds expired in the current second whilst ticks_to_microsecs() report...
by Oibaf
Fri Feb 21, 2014 11:58 pm
Forum: devkitPPC
Topic: JIT compiler for E-UAE WII
Replies: 0
Views: 10620

JIT compiler for E-UAE WII

Hi, I am trying to include a JIT compiler in UAE Wii using the code taken from this project: http://euaejit.blogspot.it/ I am in touch with the author of the code but until now I did not succeed in getting a working code. A Program (Illegal instruction and Privileged instruction) or a DSI exception ...
by Oibaf
Sun Apr 21, 2013 4:35 pm
Forum: Gamecube/Wii Development
Topic: Sound glitches with double buffered playback
Replies: 1
Views: 6083

Re: Sound glitches with double buffered playback

You should also use these instructions for a double buffer routine:

ASND_TestVoiceBufferReady
ASND_TestPointer
ASND_AddVoice

Look at this spanish tutorial in the sound section;

http://www.elotrolado.net/hilo_curso-de ... on_1257837
by Oibaf
Wed Mar 27, 2013 5:21 pm
Forum: devkitPPC
Topic: Wiiload arguments
Replies: 1
Views: 5430

Re: Wiiload arguments

Indeed, I verified that argv[0] = name of dol/elf if wiiload is launched from a command window but argv[0] = "first argument", if wiiload is launched from programmer's notepad (windows environment) setting the parameters in Notepad as "$(ProjectName).dol argument".
by Oibaf
Sat Jan 19, 2013 12:26 am
Forum: devkitPPC
Topic: fatInitDefault
Replies: 1
Views: 7595

fatInitDefault

fatInitDefault seems to work only if the Wii sd card is inserted.

fatInitDefault is always false if I launch the dol file from an USB device and the SD is not inserted.

Is this the correct behaviour?
by Oibaf
Sat Jan 19, 2013 12:00 am
Forum: devkitPPC
Topic: Wiiload arguments
Replies: 1
Views: 5430

Wiiload arguments

After many attempts, I found out that wiiload passes its first argument as argv[0].

According to the standard C argv[0] should be the name of the file and the first passed argument should be argv[1].

Why is there this difference?
by Oibaf
Mon Aug 27, 2012 10:14 pm
Forum: Bug Reports
Topic: mkdir bug
Replies: 1
Views: 4751

Re: mkdir bug

The test is to be made with a non existing dir.

I receive these errors:

1) I/O Error (5), when trying to make the dir
2) No such file or directory, when trying to open the file in reading
by Oibaf
Mon Aug 27, 2012 9:54 pm
Forum: Bug Reports
Topic: mkdir bug
Replies: 1
Views: 4751

mkdir bug

After an atempt of "mkdir" on a write protected WII SD card, it is impossibile to open in reading("r") a file. It is instead possibile to open in writing (w). Try this with a write protected SD card: if (!mkdir("tmp",0777)){printf("Making tmp directory\n"); } else printf("Can not Make tmp directory\...
by Oibaf
Fri Aug 05, 2011 4:07 pm
Forum: Bug Reports
Topic: Libpng include files
Replies: 5
Views: 6123

Re: Libpng include files

I correct what I said above.

Also Winzip does not correctly manage the symlinks.

Only Winrar works.