x86 Mac port?

Strictly for discussing ZSNES development and for submitting code. You can also join us on IRC at irc.libera.chat in #zsnes.
Please, no requests here.

Moderator: ZSNES Mods

GreenDot

x86 Mac port?

Post by GreenDot »

Would there now be a port of zSNES for Mac OS X since they switched to an x86 arch?
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

Are you offering to send me an x86 Mac?
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

In short, it may now be possible to run ZSNES code on the new x86 Macs.

It's doubtful that you could simply download and run the current version of ZSNES on an x86 Mac right now.

There's a lot of possibilities now that Macs will be using x86 processors. Wait around for a while, they might come out with some simple Wine-like programs for the new x86 Macs.

EDIT: Developers cannot make ZSNES ports to different platforms unless they have access to that platform for testing.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
GreenDot

Post by GreenDot »

Jipcy wrote:In short, it may now be possible to run ZSNES code on the new x86 Macs.

It's doubtful that you could simply download and run the current version of ZSNES on an x86 Mac right now.

There's a lot of possibilities now that Macs will be using x86 processors. Wait around for a while, they might come out with some simple Wine-like programs for the new x86 Macs.

EDIT: Developers cannot make ZSNES ports to different platforms unless they have access to that platform for testing.
first off to the first reply: just find someone willing to port it that has an intel mac...easier said than done i know :wink:

now for the quote there: why worry about wine when it could be compiled? there isn't any difference between win and lin versions being compiled. Also, I understand that if the developers don't have a system they can't test it out. My question wasn't about that, it was more about saying if the option had been looked at, and if so, when.

Also, I get a feeling from this forum that people here are anti-mac. I'm not trying to start anything here, but I'm sure hardly anyone here uses the new Mac stuff (OS X). I just think it's a wonderful platform, and much better for developers than Windows espically. Apple totally supports open source technology, and it's seen with Konqueror and FreeBSD. Am I right in this assumption?
funkyass
"God"
Posts: 1128
Joined: Tue Jul 27, 2004 11:24 pm

Post by funkyass »

The option will be looked at when a dev gets a x86 mac, no sooner.
Does [Kevin] Smith masturbate with steel wool too?

- Yes, but don’t change the subject.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

GreenDot wrote:why worry about wine when it could be compiled?
I was really just saying that you may sooner be able to run ZSNES on an x86 Mac through a Wine-like program than with a natively compiled program.
GreenDot wrote:there isn't any difference between win and lin versions being compiled.
What do you mean by that? There are differences between the Win, DOS, and SDL ports of ZSNES. For example, they all three use different APIs to render the video. Windows uses DirectX and the SDL port uses SDL (Simple DirectMedia Layer). I'm unsure what the DOS port does in this respect.

The point is, it's a greater than trivial task to get ZSNES working natively on a new platform (x86 Mac).
GreenDot wrote:Also, I understand that if the developers don't have a system they can't test it out. My question wasn't about that, it was more about saying if the option had been looked at, and if so, when.
I'm sure the developers are interested in getting ZSNES to run on an x86 Mac. However, that interest is tempered by the amount of time they have to devote to porting it, and the difficulty involved in it.
GreenDot wrote:Also, I get a feeling from this forum that people here are anti-mac.
I'm not sure where you get that feeling. I think that fewer people on this forum use Macs than they do Windows and *nix platforms. I don't think there's any underlying bias against Macs, though.

By the way, Richard Bannister maintains Mac ports for a large number of emulators (http://www.bannister.org/software/emu.htm). bsnes is a highly accurate SNES emulator, with a Mac port (http://www.bannister.org/software/bsnes.htm). Unfortunately, it has next-to-no "features" like ZSNES has.

You might try to contact Richard and see if he's interested in working on porting ZSNES to the Mac.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

Correct me if I'm wrong, but can't SDL be used on Windows, Macintosh, Linux, BSD, etc ?
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

Jipcy wrote:For example, they all three use different APIs to render the video. Windows uses DirectX and the SDL port uses SDL (Simple DirectMedia Layer). I'm unsure what the DOS port does in this respect.
DOS programs generally prepare the hardware via BIOS calls / drivers or direct port accesses. The video hardware is then accessed directly / via VESA driver. Not very portable.

[/Offtopic]
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
Lord Alpha
Lurker
Posts: 165
Joined: Wed Jul 28, 2004 3:15 am
Location: The Land of Insanity
Contact:

Post by Lord Alpha »

Does the fact that Mac OS X is now based on BSD matter? When I used FBSD I think it had a (outdated) version of ZSNES in the ports tree....

If not, could someone tell me why? I'm just curious
It is better to be silent and thought a fool then to open your mouth and remove all doubt

I am Zophar, Master of Sh*t!

[url=http://archlyn.bravejournal.com]View my blog[/url]
Thristian
Hazed
Posts: 76
Joined: Tue Feb 07, 2006 11:02 am

Post by Thristian »

Surprisingly enough, there was recently a discussion with Richard Bannister about ZSNES for Intel Macs over at the Emuscene forums ("The Home of Emulation on the Macintosh").

Firstly, OS X has quite a nice SDL port, so the SDL version of ZSNES shouldn't prevent much of an issue. The biggest problem is likely to be NASM: ZSNES loves NASM, NASM hates OS X.

The last post in that thread (from Lamer0 who's been porting Mupen64 and FCEUltra to OS X) also suggests that Apple's done something bizzare with register allocations that asm written for other OSs will likely break. Personally, I find it hard to believe Apple would do something so bone-headed, but hey, it just might be.
creaothceann
Seen it all
Posts: 2302
Joined: Mon Jan 03, 2005 5:04 pm
Location: Germany
Contact:

Post by creaothceann »

Lamer0 wrote:Apple has 'protected registers.' For example, you can not allocate any data to the base register(BX) or you will have a memory segfault on OSX
:shock:
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

The fastest way you can get ZSNES working on a x86 mac:

1) You buy us the hardware so we can develop on it
2) You give us access to a machine via ssh and vnc.
3) You port it yourself!

Yes I am aware I can run it on a non mac but I do not have the CPU required to run it (SSE2 needed). So until one of the developers gets a system that can run MacOS X then you will be waiting until someone can port it.

FYI option 1 was used by someone to port ZSNES to an unnamed console which should be out soon.
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

pagefault wrote:FYI option 1 was used by someone to port ZSNES to an unnamed console which should be out soon.
Did Nintendo come to you to port ZSNES to the Revolution?
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

Actually I was referring the the port coming out, not the console. I wasn't clear enough in what I wrote.
byuu

Post by byuu »

Hmmmmmmmmmmm, I wonder what other console out there ZSNES can be assembled on... is it the PSP? :P

"It is a mystery to all..."

(feel free to delete this if you feel that makes the answer anymore obvious than it already was)
adventure_of_link
Locksmith of Hyrule
Posts: 3634
Joined: Sun Aug 08, 2004 7:49 am
Location: 255.255.255.255
Contact:

Post by adventure_of_link »

pagefault wrote:Actually I was referring the the port coming out, not the console. I wasn't clear enough in what I wrote.
it was that dude who always bugged us about his xbox and wanted to sell it to PF amirte

eh eh

amirite ?!
<Nach> so why don't the two of you get your own room and leave us alone with this stupidity of yours?
NSRT here.
zones
New Member
Posts: 5
Joined: Sat Feb 11, 2006 3:36 am
Location: Japan

Post by zones »

pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

Yeah that would be a good point. Also we have fixed an input problem with wine so it should be pretty much 100% playable now under WINE.
Nach
ZSNES Developer
ZSNES Developer
Posts: 3904
Joined: Tue Jul 27, 2004 10:54 pm
Location: Solar powered park bench
Contact:

Post by Nach »

As long as you don't alt+tab or whatever out of the Window, it'll play fine.

I'm also told this may help for getting gamepads working, but I never tested it yet:

Code: Select all

[AppDefaults\\zsnesw.exe\\x11drv]
"DXGrab" = "Y"
Add that to ~/.wine/config
May 9 2007 - NSRT 3.4, now with lots of hashing and even more accurate information! Go download it.
_____________
Insane Coding
DAEGU
New Member
Posts: 8
Joined: Fri Feb 24, 2006 9:53 pm
Location: Calgary

Zsnes' Compatiability w/ Mac OSX

Post by DAEGU »

I'm honestly willing to donate a lot of money if the people at Zsnes are willing to develop a mac OS X version of Zsnes.
___
Jipcy
Veteran
Posts: 768
Joined: Thu Feb 03, 2005 8:18 pm
Contact:

Post by Jipcy »

I think a better course of action would be to "donate" an x86 Mac to one of the developers.

Then they can start to work on a port.
[url=http://zsnes-docs.sf.net]Official ZSNES Docs[/url] | [url=http://zsnes-docs.sf.net/nsrt]NSRT Guide[/url] | [url=http://endoftransmission.net/phpBB3/viewtopic.php?t=394]Using a Wiimote w/ emulators[/url]
DAEGU
New Member
Posts: 8
Joined: Fri Feb 24, 2006 9:53 pm
Location: Calgary

Post by DAEGU »

Meh, I'm not too educated on the whole x86 thing, I'm just willing to donate if there's a macintosh version virtually identical to the microsoft version.
___
DAEGU
New Member
Posts: 8
Joined: Fri Feb 24, 2006 9:53 pm
Location: Calgary

Post by DAEGU »

weird. tar.gz compression folders are just a bunch of files.. how does one work with that?
___
doktor_kris
Lurker
Posts: 102
Joined: Sat Feb 25, 2006 7:47 pm
Contact:

Post by doktor_kris »

DAEGU wrote:Meh, I'm not too educated on the whole x86 thing, I'm just willing to donate if there's a macintosh version virtually identical to the microsoft version.
It´ll prolly be pretty much identical when that time comes, I´m sure.
Do you have an x86-based Mac already or a good "old" PPC one?


I´ve not really checked upon anything about that ZSnes asm->C
project as of yet, but wouldn´t it be easier (and better for the majority
of the Mac-community) to just hold back on an eventual port and wait
for a completion of the C-version first?

Until something like that happens, zones' magnificent port of Snes9X
will suffice :)

DAEGU wrote:weird. tar.gz compression folders are just a bunch of files.. how does one work with that?
Uncompressing an archive?!

tar -xzvf <archive>.tar.gz

..or pass it -xjvf for uncompressing tar.bz2 archives.
DAEGU
New Member
Posts: 8
Joined: Fri Feb 24, 2006 9:53 pm
Location: Calgary

Post by DAEGU »

I just have a G5 iMac - version 2.

I hate snes9x, it's just not the same, haha.

And yeah- I uncompressed the archive, and i just get a folder filled with files and other folders, what do i do with them? :|
___
Post Reply