Login  •  Register


The time is now: Thu Nov 15, 2018 8:56 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Wed Feb 26, 2014 3:04 pm 
Offline
Student Driver

Joined: Wed Feb 26, 2014 2:21 pm
Posts: 21
Has anyone been successful in getting Mini vMac 3.3.3 to work under Linux using SDL 1.2? I get the following mess when I try running it:

Image

It looks to be a color depth issue, so I tried compiling it with a higher color depth. It complained that the Mac Plus only supported B&W. So I tried rebuilding it as a Mac II, and it rewarded me with a juicy seg fault.

So at this point, I'm wondering whether the SDL support works at all in Mini vMac.

This is part of a larger project I am working on (http://marciot.freeshell.org/macplus). I've been writing a web user interface for emulators that builds upon the work that James Friend did in porting Hampa Hug's PCE to JavaScript and right now I would like to add the option to choose among different emulator engines. PCE/macplus works great currently, but I would like to add Mini vMac as an option as well (mostly so I can run software from System 6 Hell, which currently uses vMac disk images that are not directly readable by PCE).

My first hurdle is to figure out how to run Mini vMac with SDL 1.2 support, so that I can then cross-compile it to JavaScript using Emscripten.

Any help would be appreciated.

-- Marcio


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Feb 26, 2014 5:11 pm 
Offline
Site Admin
User avatar

Joined: Mon May 20, 2002 4:37 am
Posts: 3666
Location: Uiwang
Paul Pratt (Mini vMac developer) visits this forum every now and then. I suspect that you could also ask him your question via the form on his site, or perhaps point him towards this topic.

Does PCE really not read those disk images? I can put the files in a more usable format if you need them. Just let me know.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Feb 26, 2014 7:34 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 2265
Location: Emaculation.com
It might also be useful for someone to update PCE so that it can use the .dsk images, as they've become a de-facto standard.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Thu Feb 27, 2014 11:13 pm 
Offline
Nice Guy
User avatar

Joined: Sat Nov 17, 2007 6:46 pm
Posts: 103
marciot42 wrote:
So at this point, I'm wondering whether the SDL support works at all in Mini vMac.


A copy of my reply on Mini vMac Mail:

The SDL port is believed to be functional, but it is true I've only tried it on OS X recently. Bug reports are welcome. I'll try it on Linux when I find time.

One possible issue is that if you're running a modern version of Linux on a modern machine, it is likely you are running a 64 bit linux. In that case you should be using "-t lx64" instead "-t lx86". Normally, trying to compile the wrong version of assembly code would alert you, but you have disabled that.

Did you try the standard compile without SDL (using X)?

Update: I have tried "-t lx64 -api sdl -no-asm" on a VMware image I have of Ubuntu 10.04 with SDL 1.2.14. It seems to work without problems. I tried "-t lx32 -api sdl -no-asm" and as expected it didn't work, hanging with a black screen with the ROM image, and gives a "Segmentation fault" without the ROM, which matches pretty well what you describe.

For the next version, I'll look into having the build system put a check for this situation in the configuration file it generates.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 4 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group