Page 7 of 7 < 1 2 3 4 5 6 7
Topic Options
#74627 - 11/21/11 10:06 PM Re: Mac WIP [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
I mean runtime as in "from your VIDEO_START() handler" or any time after that in your driver.

Top
#74631 - 11/22/11 08:31 AM Re: Mac WIP [Re: R. Belmont]
etabeta78 Offline
Very Senior Member

Registered: 01/27/06
Posts: 3295
Loc: Trondheim, Norway
whoops... true. it's the same thing as the lynx needed. I will look into in at some point this week smile

Top
#75262 - 12/08/11 10:42 PM Re: Mac WIP [Re: R. Belmont]
Grégoire Duval Offline
Member

Registered: 05/31/09
Posts: 71
Maybe I should have created a new thread, but this one seemed appropriate.

I've read in the whatsnew of mess 0144u1 that pcap network was enabled for mac and windows target.

My question is, do I have something to do in order to get networking on my maciici (beside plugging an enetnb) ?

Top
#75271 - 12/09/11 02:33 PM Re: Mac WIP [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
You don't want to. Pcap on OS X currently makes MESS run less than 1 frame per second (at least on my Core 2 Duo Mac Mini) so it's utterly useless.

Top
#75279 - 12/09/11 09:38 PM Re: Mac WIP [Re: R. Belmont]
Grégoire Duval Offline
Member

Registered: 05/31/09
Posts: 71
Too bad. Is linux working better ? (I could dust one VM just for the sake of testing)

Will networking be enable by default on Mac ? or should I include something at compile time or runtime ? (the same question goes for linux)

Thanks

Top
#75280 - 12/09/11 10:13 PM Re: Mac WIP [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
Yeah, it works great on Linux. No performance loss at all, and you can connect to the host system from the emulated system, which pcap doesn't allow. On both systems, you need to build from clean with USE_NETWORK=1 on the make commandline. For Linux, the taputil.sh shell script sets up the connection for you - run it as root and then you can run MESS as non-root afterwards.

Specifically, it's something like this:
% sudo /bin/bash src/osd/sdl/taputil.sh -c username EMUADDR HOSTADDR MASK

where "username" is the user you will run MESS as, EMUADDR is the IP address to assign to the emulated machine, HOSTADDR is the IP address of your actual PC, and MASK is the netmask. On most modern Linux distros, you can click the Network Manager icon in the tray and see your host IP address and netmask. Also, any distro-supplied firewall needs to be disabled before running taputil or you probably won't be able to connect properly.

Run e.g. maciicx with -nbb enetnb and System 7.5 or later, enable Open Transport, and configure it as necessary. The IP address and netmask must match what you give to taputil, and the gateway and DNS server should be the same values as your host PC uses. Fetch 3.0 is a good "test" internet app for 68k machines.

Top
#75309 - 12/11/11 02:30 PM Re: Mac WIP [Re: R. Belmont]
Joedragon Offline
Member

Registered: 10/27/11
Posts: 28
whats needed to make it work in windows?

Top
#75326 - 12/11/11 08:57 PM Re: Mac WIP [Re: R. Belmont]
Justin Offline
Very Senior Member

Registered: 12/15/99
Posts: 1097
Loc: Vancouver Island, BC, Canada
This seems like something we should have a wiki page about.

Top
#75327 - 12/11/11 09:31 PM Re: Mac WIP [Re: R. Belmont]
R. Belmont Offline
Very Senior Member

Registered: 03/17/01
Posts: 13171
Loc: USA
Wiki pages are planned; it's not intended to be used by end users right now but Gregoire has demonstrated capability well beyond that smile

This functionality is not available on Windows yet. Also, Windows uses pcap so I anticipate bad slowdowns from using it, although apparently QEMU manages without a major impact. Hopefully Carl/Micko can figure it out.


Edited by R. Belmont (12/11/11 11:07 PM)

Top
Page 7 of 7 < 1 2 3 4 5 6 7


Who's Online
6 registered (Ripper006, Shoegazer, Phil Bennett, Trebor, Tafoid, RColtrane), 32 Guests and 1 Spider online.
Key: Admin, Global Mod, Mod
Shout Box

Forum Stats
4345 Members
9 Forums
7228 Topics
87085 Posts

Max Online: 183 @ 03/06/12 06:21 PM