Hewwo.
I was wondering if anyone has picodrive sources ported to non-gp2x specific platforms.
I'm crosscompiling via qemu in the scratchbox environment and i started pulling out gp2x specific functions, but i was hoping perhaps someone had a wrapper for a more generic environment, i.e. without the gp2x specific devkit...
more README
This port tries to emulate gp2x environment on a standard linux box for testing
(i.e. to be able to use things like valgrind and efence, gcc runtime
optimizations, etc.).
[sbox-SB_Arm2: ~/genesis/picodrive/tmp/PicoDrive/platform/linux] > make
../gp2x/main.c
../gp2x/menu.c
../gp2x/menu.c: In function `file2color':
../gp2x/menu.c:552: warning: implicit declaration of function `strcasecmp'
../gp2x/menu.c: In function `draw_dirlist':
../gp2x/menu.c:579: error: `DT_DIR' undeclared (first use in this function)
../gp2x/menu.c:579: error: (Each undeclared identifier is reported only once
../gp2x/menu.c:579: error: for each function it appears in.)
../gp2x/menu.c: In function `scandir_cmp':
../gp2x/menu.c:594: warning: implicit declaration of function `alphasort'
../gp2x/menu.c:595: error: `DT_DIR' undeclared (first use in this function)
../gp2x/menu.c: In function `romsel_loop':
../gp2x/menu.c:641: warning: implicit declaration of function `scandir'
../gp2x/menu.c:676: error: `DT_REG' undeclared (first use in this function)
../gp2x/menu.c:682: error: `DT_DIR' undeclared (first use in this function)
make: *** [../gp2x/menu.o] Error 1
I was wondering if anyone has picodrive sources ported to non-gp2x specific platforms.
I'm crosscompiling via qemu in the scratchbox environment and i started pulling out gp2x specific functions, but i was hoping perhaps someone had a wrapper for a more generic environment, i.e. without the gp2x specific devkit...
more README
This port tries to emulate gp2x environment on a standard linux box for testing
(i.e. to be able to use things like valgrind and efence, gcc runtime
optimizations, etc.).
[sbox-SB_Arm2: ~/genesis/picodrive/tmp/PicoDrive/platform/linux] > make
../gp2x/main.c
../gp2x/menu.c
../gp2x/menu.c: In function `file2color':
../gp2x/menu.c:552: warning: implicit declaration of function `strcasecmp'
../gp2x/menu.c: In function `draw_dirlist':
../gp2x/menu.c:579: error: `DT_DIR' undeclared (first use in this function)
../gp2x/menu.c:579: error: (Each undeclared identifier is reported only once
../gp2x/menu.c:579: error: for each function it appears in.)
../gp2x/menu.c: In function `scandir_cmp':
../gp2x/menu.c:594: warning: implicit declaration of function `alphasort'
../gp2x/menu.c:595: error: `DT_DIR' undeclared (first use in this function)
../gp2x/menu.c: In function `romsel_loop':
../gp2x/menu.c:641: warning: implicit declaration of function `scandir'
../gp2x/menu.c:676: error: `DT_REG' undeclared (first use in this function)
../gp2x/menu.c:682: error: `DT_DIR' undeclared (first use in this function)
make: *** [../gp2x/menu.o] Error 1