hissorii / px68k

Portable SHARP X68000 Emulator for PSP, Android and other platforms
http://hissorii.blog45.fc2.com
88 stars 68 forks source link

Error #6

Open amm297 opened 9 years ago

amm297 commented 9 years ago

i'm trying to install your emulator on retropie, but when i'm going to do the make file it doesn't work. there is any alternative for MOPT = -m32 ? gcc -o x68k/adpcm.o -m32 -g -O0 -fno-strict-aliasing -DUSE_SDLGFX -DNO_MERCURY -DPX68K_VERSION=0.15 -I./x11 -I./x68k -I./fmgen -I./win32api sdl-config --cflags -c x68k/adpcm.c gcc: error: unrecognized command line option ‘-m32’ Makefile:112: recipe for target 'x68k/adpcm.o' failed make: *\ [x68k/adpcm.o] Error 1

Thanks

hissorii commented 9 years ago

Please try deleting -m32 in Makefile. You can see 'MOPT= -m32at 76 line of Makefile, change it to 'MOPT= .

hissorii commented 9 years ago

something wrong with quotation mark in previous comment.

Please change in Makefile MOPT= -m32 to MOPT=

amm297 commented 9 years ago

this is te original ifeq ($(shell uname -m),armv6l) MOPT= else MOPT= -m32 endif

en i change to that:

ifeq ($(shell uname -m),armv6l) MOPT=-m32 else MOPT= endif

then I do the make and:

gcc -o x68k/adpcm.o -g -O0 -fno-strict-aliasing -DUSE_SDLGFX -DNO_MERCURY -DPX68K_VERSION=0.15 -I./x11 -I./x68k -I./fmgen -I./win32api sdl-config --cflags -c x68k/adpcm.c Assembler messages: Fatal error: can't create x68k/adpcm.o: Permission denied Makefile:113: recipe for target 'x68k/adpcm.o' failed make: *\ [x68k/adpcm.o] Error 1

hissorii commented 9 years ago

It's not problem with px68k. Do you have a write permission to x68k directory?

amm297 commented 9 years ago

Thats it, i chage the permissos, but when I'm going to star the emulator, it says

Keropi Error: BIOS ROM

So, what files I have to put on Bios folder, and what is bios folder?

I cange the winx68k.c in order to set a path to bios -> "/home/pi/.keropi/ " (iplrom.dat,cgrom.dat, cgrom.tmp) but when I launch by SSH console says "cur_dir_str ./2", in the case that I launch directly on rpi console says 'Segmentation fault"

hissorii commented 9 years ago

You need put a BIOS ROM (iplrom.dat) and a font file (cgrom.dat) into /home/pi/.keropi/ directory, if your home directory is /home/pi . And both bios and font file names should be all lowercase.

amm297 commented 9 years ago

And I need to change o put a path to find that files in winx68k.c??

and that files i have to create or there is at some folder? and if I have to create y have to put something on them?

hissorii commented 9 years ago

No, you don't. default bios path is .keropi at home directory.

amm297 commented 9 years ago

and BIOS files i have to create or there is at some folder? and if I have to create y have to put something on them?

hissorii commented 9 years ago

You can get bios roms officically at http://retropc.net/x68000/software/sharp/x68bios/index.htm . You should get font file (cgrom.dat) from a real X68K machine or create font file (cgrom.tmp) from Japanese windows OS. Don't ask me about bios/font file, please...

amm297 commented 9 years ago

sorry, again, i'm so annoying, but there is some readme or similar file that contain a list of controls, or how to use it? , I'm traying to install your emulator in a rpi that is conected to retro arcade machine and the idie is controll everithing with the original controls and avoid to use the keyboard