Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #6

Open
amm297 opened this issue Jun 26, 2015 · 11 comments
Open

Error #6

amm297 opened this issue Jun 26, 2015 · 11 comments

Comments

@amm297
Copy link

amm297 commented Jun 26, 2015

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
Copy link
Owner

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

@hissorii
Copy link
Owner

something wrong with quotation mark in previous comment.

Please change in Makefile
MOPT= -m32
to
MOPT=

@amm297
Copy link
Author

amm297 commented Jun 26, 2015

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
Copy link
Owner

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

@amm297
Copy link
Author

amm297 commented Jun 29, 2015

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
Copy link
Owner

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
Copy link
Author

amm297 commented Jun 29, 2015

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
Copy link
Owner

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

@amm297
Copy link
Author

amm297 commented Jun 29, 2015

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
Copy link
Owner

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
Copy link
Author

amm297 commented Jun 29, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants