Эмуляция > Эмуляторы для консолей и мобильных устройств
Не могу разобраться с эмулятором pNESx
(1/1)
biffick:
Всем привет.
Раньше использовал эмулятор imbNES 1.3.2, но он много игр, которые мне нужны, не поддерживает.
Решил попробовать pNESx, но в интернете нашёл только архив с кучей файлов с расширением *.c, *.h и прочие.
Как я понимаю, это не скомпилированные файлы С++.
Может кто-нибудь помочь это дело скомпилировать и засунуть в эмулятор игры, которые мне нужны? (список игр могу сам прописать в файле ROMLIST.INI).
Буду премного благодарен знатокам :)
pix07:
im close to compile for compilation you need mingw gcc compiler with msys (better to have latest).
i need find how to fix error.
https://drive.google.com/open?id=1pnbF3p74NKYn2X1eQHpkSFjRbY4aIeS4 (mingw 6.3.0 with msys)
comand to compile is
make -march=mips1
march mean my architecture
here more info :
https://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html
im dont know which mips is correct
and how set up to correct processor
its detect only mine :-\
im try do the same with cygwin.
and i was find other info:
http://faculty.cse.tamu.edu/bettati/Courses/410/2008C/Projects/gxemulcygwin.html
its should generate mips code.
biffick:
pix07, спасибо... эмулятор не запускается :)
MetalliC:
еще бы, при таком-то размере
biffick, зачем ты вообще пытаешься что-то компилировать ? в архиве с эмулятором имеются и исходники и готовый бинарник (без расширения), читай readme.txt, добавляй как там описано ромы и собирай образ
pix07:
there are no guide how compile it i was search in readme.txt
here the makefile for gcc its should be edited
there is no mips compiler , mips is build in GCC
so there is no build linker and need be fixed
rewrite code or change in makefile
O mean optymalize
CC compiler GCC mips version
and build in linker to link files
because GCC can find it comiple with makefile is impossible
and i find other solution :
https://www.mips.com/develop/tools/codescape-mips-sdk/
other solution is : https://packages.debian.org/pl/sid/gcc-mips-linux-gnu
mips GCC for linux
#===================================================================
#
# makefile : Make file for PSX
#
# 1999/12/26 Racoon New preparation
# 2000/06/07 Racoon
#
#===================================================================
CC = mipsgcc
CFLAGS = -O2
LINKER = -Xlinker -Ttext -Xlinker 80090000 -Xlinker -meco -Xlinker -s -Xlinker -Map -Xlinker main.map
PROG = pNesX
OBJS = K6502a.o pNesX.o pNesX_System_Psx.o pNesX_Mapper.o PSX_Spu.o
HEADERS = pNesX.h pNesX_Mapper.h pNesX_System.h pNesX_Types.h K6502.h
all: $(PROG)
pNesX.o : pNesX.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
pNesX_Mapper.o : pNesX_Mapper.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
pNesX_System_Psx.o : pNesX_System_Psx.c $(HEADERS)
$(CC) -c $(CFLAGS) -o $@ $<
PSX_Spu.o : PSX_Spu.c $(HEADERS)
$(CC) -c -o $@ $<
K6502a.o : K6502a.s $(HEADERS)
mipsas -O0 -B -ahls=k6502.lst $<
$(PROG): $(OBJS)
$(CC) $(LINKER) -o $@ $(OBJS) -lps
combine2 pNesX.scr pNesX.exe
exefixup pNesX.exe
del pNesX.exe
ren padded.exe pNesX.exe
clean:
del *.o
.PHONY: all clean
MetalliC:
--- Цитата: pix07 от 23 Сентябрь 2018, 11:19:49 ---there are no guide how compile it i was search in readme.txt
--- Конец цитаты ---
right, probably because already compiled binary is included in emulator archive.
also I'd guess sources should be compiled using toolchain from official PSX SDK, which is floating it the net.
on a side note, this is Russian forum, other languages is not allowed.
pedro:
--- Цитата: MetalliC от 25 Сентябрь 2018, 10:57:33 ---other languages is not allowed.
--- Конец цитаты ---
There is no such rule. Besides, English is an international, so it's OK.
Навигация
Перейти к полной версии