12-03 20:22:30.185: INFO/System.out(20928): libSDL: setting envvar LANGUAGE to 'en_US'
12-03 20:22:30.185: INFO/System.out(20928): libSDL: accelerometer start required: false
12-03 20:22:30.185: INFO/libSDL(20928): Calling SDL_main("roms/mario.n64")
12-03 20:22:30.185: INFO/libSDL(20928): param 0 = "roms/mario.n64"
12-03 20:22:30.185: VERBOSE/libnav(20928): __ __ __ _ _ ____ _
12-03 20:22:30.185: VERBOSE/libnav(20928): | \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
12-03 20:22:30.193: VERBOSE/libnav(20928): | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
12-03 20:22:30.193: VERBOSE/libnav(20928): | | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
12-03 20:22:30.193: VERBOSE/libnav(20928): |_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
12-03 20:22:30.193: VERBOSE/libnav(20928): |_| http://code.google.com/p/mupen64plus/
12-03 20:22:30.193: VERBOSE/libnav(20928): Mupen64Plus Console User-Interface Version 1.99.1
12-03 20:22:30.193: VERBOSE/libnav(20928): AttachCoreLib unsuccessful, returning 2.
12-03 20:22:30.302: INFO/AndroidRuntime(20928): AndroidRuntime onExit calling exit(0)
12-03 20:22:30.342: INFO/ActivityManager(1259): Process paulscode.android.mupen64plus (pid 20928) has died.
12-04 14:14:27.830: INFO/System.out(2130): libSDL: setting envvar LANGUAGE to 'en_US'
12-04 14:14:27.830: INFO/System.out(2130): libSDL: accelerometer start required: false
12-04 14:14:27.830: INFO/libSDL(2130): Calling SDL_main("mupen64plus --corelib ...EDIT... )
12-04 14:14:27.830: INFO/libSDL(2130): param 0 = "mupen64plus"
12-04 14:14:27.830: INFO/libSDL(2130): param 1 = "--corelib"
12-04 14:14:27.830: INFO/libSDL(2130): param 2 = "/data/data/paulscode.android.mupen64plus/lib/libcore.so"
12-04 14:14:27.830: INFO/libSDL(2130): param 3 = "--rsp"
12-04 14:14:27.830: INFO/libSDL(2130): param 4 = "/data/data/paulscode.android.mupen64plus/lib/librsp-hle.so"
12-04 14:14:27.830: INFO/libSDL(2130): param 5 = "--audio"
12-04 14:14:27.830: INFO/libSDL(2130): param 6 = "/data/data/paulscode.android.mupen64plus/lib/libaudio-sdl.so"
12-04 14:14:27.830: INFO/libSDL(2130): param 7 = "roms/mario.n64"
12-04 14:14:27.830: VERBOSE/front-end(2130): __ __ __ _ _ ____ _
12-04 14:14:27.830: VERBOSE/front-end(2130): | \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
12-04 14:14:27.830: VERBOSE/front-end(2130): | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
12-04 14:14:27.830: VERBOSE/front-end(2130): | | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
12-04 14:14:27.830: VERBOSE/front-end(2130): |_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
12-04 14:14:27.830: VERBOSE/front-end(2130): |_| http://code.google.com/p/mupen64plus/
12-04 14:14:27.830: VERBOSE/front-end(2130): Mupen64Plus Console User-Interface Version 1.99.1
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 1: --corelib
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 3: --rsp
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 4: /data/data/paulscode.android.mupen64plus/lib/librsp-hle.so
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 5: --audio
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 6: /data/data/paulscode.android.mupen64plus/lib/libaudio-sdl.so
12-04 14:14:27.830: VERBOSE/front-end(2130): Parsing arg 7: roms/mario.n64
12-04 14:14:27.861: VERBOSE/front-end(2130): Core Warning: Couldn't open configuration file ...EDIT... . Using defaults.
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Goodname: Super Mario 64 (U) [!]
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Name: SUPER MARIO 64
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: MD5: 20B854B239203BAF6C961B850A4A51A2
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: CRC: 635a2bff 8b022326
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Imagetype: .v64 (byteswapped)
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Version: 1444
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Manufacturer: Nintendo
12-04 14:14:29.416: VERBOSE/front-end(2130): Core: Country: USA
12-04 14:14:29.432: VERBOSE/front-end(2130): Core Warning: No video plugin attached. There will be no video output.
12-04 14:14:29.432: VERBOSE/front-end(2130): Core Warning: No input plugin attached. You won't be able to control the game.
12-04 14:14:29.713: VERBOSE/front-end(2130): Audio: Initializing SDL audio subsystem...
12-04 14:14:29.713: INFO/libSDL(2130): ANDROIDAUD_OpenAudio(): app requested audio bytespersample 2 freq 44100 channels 2 samples 4096
12-04 14:14:29.760: INFO/libSDL(2130): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 44100 channels 2 bufsize 16384
12-04 14:14:30.119: VERBOSE/front-end(2130): Core: Starting R4300 emulator: Cached Interpreter
12-04 14:14:31.314: INFO/libSDL(2130): ANDROIDAUD_OpenAudio(): app requested audio bytespersample 2 freq 44100 channels 2 samples 4096
12-04 14:14:31.322: INFO/libSDL(2130): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 44100 channels 2 bufsize 16384
It helps to build on work that other people have done - the pace will slow down once I've incorporated all the big pieces and have to start focusing development on the missing components, debugging, and speed optimizations.Thats going really fast! Wow!
Yes, I will continue working on this project until I either hit a dead-end or reach the point where I need testers. What I meant is, I will post the .apk here for testing, rather than deploying it through the Android market (reason being I wouldn't want to put anything on the Android market until I'm sure it is stable and not going to blow up anyone's phone)I am a bit confused, are you working on, on this project and release an apk when its playable? Of course this will take a while, but will you finish and publish this project?
12-05 11:05:10.740: INFO/System.out(2256): libSDL: setting envvar LANGUAGE to 'en_US'
12-05 11:05:10.740: INFO/System.out(2256): libSDL: accelerometer start required: false
12-05 11:05:10.740: INFO/libSDL(2256): Calling SDL_main("mupen64plus roms/mario.n64")
12-05 11:05:10.740: INFO/libSDL(2256): param 0 = "mupen64plus"
12-05 11:05:10.740: INFO/libSDL(2256): param 1 = "roms/mario.n64"
12-05 11:05:10.740: VERBOSE/front-end(2256): __ __ __ _ _ ____ _
12-05 11:05:10.740: VERBOSE/front-end(2256): | \/ |_ _ _ __ ___ _ __ / /_ | || | | _ \| |_ _ ___
12-05 11:05:10.740: VERBOSE/front-end(2256): | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
12-05 11:05:10.740: VERBOSE/front-end(2256): | | | | |_| | |_) | __/ | | | (_) |__ _| __/| | |_| \__ \
12-05 11:05:10.740: VERBOSE/front-end(2256): |_| |_|\__,_| .__/ \___|_| |_|\___/ |_| |_| |_|\__,_|___/
12-05 11:05:10.740: VERBOSE/front-end(2256): |_| http://code.google.com/p/mupen64plus/
12-05 11:05:10.740: VERBOSE/front-end(2256): Mupen64Plus Console User-Interface Version 1.99.4
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Goodname: Super Mario 64 (U) [!]
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Name: SUPER MARIO 64
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: MD5: 20B854B239203BAF6C961B850A4A51A2
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: CRC: 635a2bff 8b022326
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Imagetype: .v64 (byteswapped)
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Version: 1444
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Manufacturer: Nintendo
12-05 11:05:12.544: VERBOSE/front-end(2256): Core: Country: USA
12-05 11:05:12.560: VERBOSE/front-end(2256): UI-console: using Video plugin: <dummy>
12-05 11:05:12.560: VERBOSE/front-end(2256): UI-console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v1.99.4
12-05 11:05:12.560: VERBOSE/front-end(2256): UI-console: using Input plugin: <dummy>
12-05 11:05:12.560: VERBOSE/front-end(2256): UI-console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v1.99.4
12-05 11:05:12.560: VERBOSE/front-end(2256): Core Warning: No video plugin attached. There will be no video output.
12-05 11:05:12.560: VERBOSE/front-end(2256): Core Warning: No input plugin attached. You won't be able to control the game.
12-05 11:05:12.795: VERBOSE/front-end(2256): Audio: Initializing SDL audio subsystem...
12-05 11:05:12.795: INFO/libSDL(2256): ANDROIDAUD_OpenAudio(): app requested audio bytespersample 2 freq 44100 channels 2 samples 2048
12-05 11:05:12.841: INFO/libSDL(2256): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 44100 channels 2 bufsize 8192
12-05 11:05:13.216: VERBOSE/front-end(2256): Core: Starting R4300 emulator: Cached Interpreter
12-05 11:05:14.272: INFO/libSDL(2256): ANDROIDAUD_OpenAudio(): app requested audio bytespersample 2 freq 44100 channels 2 samples 2048
12-05 11:05:14.279: INFO/libSDL(2256): ANDROIDAUD_OpenAudio(): app opened audio bytespersample 2 freq 44100 channels 2 bufsize 8192
Right, I do understand that the assembly is in linkage_arm.s (since I had to set up the Android.mk file and that is the file generating all the errors when I run the build function). Granted, I don't have much of a clue about assembly code, but I would assume that just like the c code, this has to be compiled with a particular toolchain to run on the Android OS (i.e. it needs to be built by the NDK or other development tool which can utilize that toolchain, not just from my PC's terminal with gcc). I am still new to Android development, though (this being my first large Android project), and assembly code is just gibberish to me until I study up on the subject, so feel free to correct me if my understanding on all this is distorted.There is no inline assembly code. The only assembly code is in the file new_dynarec/linkage_arm.s. Nothing special is needed to compile this. Compile it with gcc.
Not trying to hijack your thread, but where can I find the Ari64 dynarec code? I have plenty of NDK experience, can have a look at it.