Jump to content

RomainQ

Members+
  • Posts

    9
  • Joined

  • Last visited

RomainQ's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, Just to confirm, installing Raine on a fresh Mac is working with the last version 0.64.10 (OS X 10.10). I just needed to install the SDL 1.2 frameworks on /Library/Frameworks/ (SDL, SDL_image and SDL_ttf). That's all ! Working great, detected my Logitech gamepad directly !
  2. RomainQ

    Raine + OS X

    Great thanks ! I hope people will love it on Mac ! The quest in on for self modifying asm !!
  3. RomainQ

    Raine + OS X

    Gatekeeper has nothing to do with the issue of self modifying code. I can run unsigned app on my Mac easily by unlocking it in the security center. Yes, creating a mmpage and copy the asm code to be run as self modifying will be really hard !
  4. RomainQ

    Raine + OS X

    Great feedback again thanks !! Seems you have 10 years of dev knowledge in your mind ! Crazy asm. Of course keeping the 32bit optimized version is nice, a pure C project is nice too (I can imagine Raine on arm / RaspberryPi ?). For the 68k, what about https://github.com/kstenerud/Musashi ? It's a 68000, 68010, 68EC020, and 68020 emulator written in C. I'll check your global option on osx for self modifying code and the C code for the 68020 !
  5. RomainQ

    Raine + OS X

    Got the 68020 C files compiling and linking, and running gunbird does not crash anymore. But (there is always a but), the video does not start, I've got 1 second of sound and then Raine goes into infinite loop, sucking 100% CPU. I don't know how to debug that for the moment !! Is my Gunbird rom ok ? Seems so as it is checked by Raine.
  6. RomainQ

    Raine + OS X

    Woh, you were totally crazy those days to hack asm like that !! Anyway, it makes it "non portable" on hardened os ... it would be great to have a clean plain C project working ! It would help for future platforms and full 64bit compile. Rewriting the asm in 64bit version could be hard... even if I saw that starscream has been updated in 0.27a version to get x86_64 ! The 68020 is not working for the same reason as the video asm core code, it is self modifying... The crash comes from InitJedi(), calling Init020_00(). This function is self modifying. You say that the c version is lost but in the 68020 source directory there is also a c directory. Code inside is from uae. I might give it a try ?! I also saw the mprotect() call on OSX to enable read/write/execute flags on pages... never used it so I need to check if it can do the job for self modifying code !
  7. RomainQ

    Raine + OS X

    and you are right, gunbird is beautifully crashing at Init020_00 !! Debuging tomorrow !
  8. RomainQ

    Raine + OS X

    yeh, french power Congrats for your nice emulator. Thanks for your reply. I'm not a hardcore player, but I love puzzle bobble, NAM-1975 and Metal Slug ... It keeps my mind happy while recovering ! I confirm that it's working very well on my macbook air. It's a full 32bit (i386) app, just the video core that is in C (as you said with little asm but this part works !). My job is to develop iOS and Mac apps so I've got the hardware. Don't hesitate to ask for tests on OSX. I love ASM (intel, not most of your at&t syntax ) and C, sdl, all is fun ! I was not able to run your 0.63 binary because it is linked to png lib somewhere... not available on my mac. That's why homebrew is nice, everybody can have the same environment with few command lines to set it up. Ok, I'll try to send you pull requests on github, otherwise I'll make patch files and sent them to you (I did not try to compile on linux again with my modifications). I'll try to learn about self modifying code on OSX, but loading the function from data section made the app crash. It did not even try to run the asm code ... And by the way, there is a nice project, called OpenEmu on OSX, which unify all emulators in one place. If I could work on Raine core and add it, it would be nice. But maybe I won't have time for that ... See you ! Romain
  9. RomainQ

    Raine + OS X

    Hi Tux, I'm a french developer, as I was stuck at home recovering from injury, I decided to give a try to get the latest Raine on my Mac to get some 90's fun ! So I've found Raine is now on github (nice !). I get it and tried to make it ! After 3 days of hard try / error, I managed to get it running and playing with it on my 64bit hardware ! I made several modifications to be able to compile it on OS X. I would like to share it with you, so people could make it on OS X easily too ! How can I do ? Github pull requests ? Here are some points: Environment: Clean OSX install, 10.10.5 with Xcode and command line tools.Use homebrew to reach a unix like dev environment (brew install xxx --universal). The --universal option to get both i386 and x86_64 in a fat dylibInstall sdl, sdl_image, sdl_ttf, sdl_soundinstall muparser after adding the universal option in the formulae (brew edit muparser to edit and add it, just copy the example of sdl for instance to add univeral option).install nasm to get the lastest asm compilerinstall gettext and force the link (brew link gettext --force). No danger to do so, unlink can be done if necessaryintall libpng and libtiff is not yet presentinstall xzYou don't think you need Xcode here, just install gcc from homebrew too. Then I started to launch make... I needed to update: detect-cpu: as the script does not see my processor as 64bit and wrongly set it as x86...makefile: update the darwin sections to use correctly the homebrews binaries and libscpuinfo.c: add includes to compile on OSXadding missing bitmaps directory and content for the final appadding missing fonts directory and content for the final appupdate starscream init function as on OSX you can't use mov to load a variable address, you need to do a lea with indirection (portable, works on linux too)And here I am. I get a full 32 bit Raine app running on OSX, 0.64.9 with asm optimisations. But: I had to disable the asm video core as I can't get the move.s working. It compiles, but it seems that code was first set as data (strange asm.inc def for CODE_SEG)... Do you still use this strange asm code ? Seems that it is so optimized (self modifying code no ??) that it keeps crashing on OSX (I think it is not allowed to modify the program on the fly or the program memory address can't be accessed like that on OSX). So I use the C video core. I also tried to compile a full native C as 64bit, but the z80 does not compile (the helpers on asm version have more methods than the C one ... not up to date ?). Et voila ! Romain ps: I can't attach the Rain.app because it's too big. I might put it on a dropbox for people to test
×
×
  • Create New...