› Foros › Multiplataforma › Desarrollo
while(1){
VIDEO_WaitVSync();
frames++;
PAD_ReadState(&pad[0], PAD_CHANNEL_0);
GetInput();
ClearScreen(0x2B9F2B76);
Linea(); -> Crea el escenario (suelo, flor y arbol)
Creaprota(); -> Crea el sprite del protagonista.
Creacast(); -> Crea el sprite del castillo.
Linea(); -> Crea el escenario (suelo, flor y arbol)
Creacast(); -> Crea el sprite del castillo.
Creaprota(); -> Crea el sprite del protagonista.
@ECHO OFF
SET DEVKITCUBE=c:\gc\devkitcube
SET PATH=%DEVKITCUBE%\bin;%PATH%
SET PROGNAME= main
powerpc-eabi-elf-gcc -o %PROGNAME%.elf -Wl,-Ttext,0x80003100 -o %PROGNAME%.elf c:/gc/main.c c:/gc/libogc/lib/pad.c c:/gc/libogc/lib/video.c c:/gc/libogc/lib/render.c c:/gc/libogc/lib/audio.c c:/gc/libogc/lib/color.c c:/gc/libogc/lib/debug.c c:/gc/libogc/lib/dvd.c c:/gc/libogc/lib/interrupt.c c:/gc/libogc/lib/random.c c:/gc/libogc/lib/memcard.c
if ERRORLEVEL==1 goto error
ECHO -1
powerpc-eabi-elf-objcopy -O binary %PROGNAME%.elf %PROGNAME%.bin
if ERRORLEVEL==1 goto error
ECHO -2
"c:\gc\libogc-2003-06-22\bin2dol.exe" %PROGNAME%.bin %PROGNAME%.dol
if ERRORLEVEL==1 goto error
ECHO -3
SET PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Archivos de programa\ATI Technologies\ATI Control Panel;C:\Archivos de programa\QuickTime\QTSystem\;C:\GC\libogc\lib
goto end
:error
echo [FATAL ERROR]
:end
C:\GC>make.bat
/cygdrive/c/gc/devkitcube/bin/../lib/gcc-lib/powerpc-eabi-elf/3.3/../../../powerpc-eabi-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 80003100
-1
-2
El sistema no puede hallar la ruta especificada.
[FATAL ERROR]
C:\GC>
@ECHO OFF
SET DEVKITCUBE=c:\gc\devkitcube
SET PATH=%DEVKITCUBE%\bin;%PATH%
SET PROGNAME= main
powerpc-eabi-elf-gcc -o %PROGNAME%.elf -Wl,-Ttext,0x80003100 -o %PROGNAME%.elf c:/gc/libogc/crt0.s c:/gc/main.c c:/gc/libogc/lib/pad.c c:/gc/libogc/lib/video.c c:/gc/libogc/lib/render.c c:/gc/libogc/lib/audio.c c:/gc/libogc/lib/color.c c:/gc/libogc/lib/debug.c c:/gc/libogc/lib/dvd.c c:/gc/libogc/lib/interrupt.c c:/gc/libogc/lib/random.c c:/gc/libogc/lib/memcard.c
if ERRORLEVEL==1 goto error
ECHO -1
powerpc-eabi-elf-objcopy -O binary %PROGNAME%.elf %PROGNAME%.bin
if ERRORLEVEL==1 goto error
ECHO -2
"c:\gc\libogc\bin2dol.exe" %PROGNAME%.bin %PROGNAME%.dol
if ERRORLEVEL==1 goto error
ECHO -3
SET PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Archivos de programa\ATI Technologies\ATI Control Panel;C:\Archivos de programa\QuickTime\QTSystem\;C:\GC\libogc\lib
goto end
:error
echo [FATAL ERROR]
:end