Author Topic: MacVICE  (Read 100830 times)

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #135 on: October 26, 2009, 07:07:06 PM »
@MagerValp: does [21645] fix your random crashes... I improved the locking of the GL contexts.
I have updated to the latest svn, and I'll let you know if it crashes again.

Offline GANDALf

  • A600
  • *
  • Posts: 13
  • Karma: 0
Re: MacVICE
« Reply #136 on: October 29, 2009, 02:18:26 PM »
@GANDALf: [21647] should fix your problem...

BTW: make sure to enable "Blend" sync draw mode before enabling flicker fixer.

When I enable blend and then flicker fixer:
MacVideo: reconfiguring display
MacVideo: created pixel buffer of size 384 x 272
MacVideo: setup textures: #4 384 x 272 (was: #4 384 x 272)
MacVideo: displayDelta: 79.8012 ms

But picture still flickers. I have Video Cache and Pal emulation enabled.
« Last Edit: October 30, 2009, 04:05:55 PM by GANDALf »

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #137 on: October 29, 2009, 07:40:36 PM »
In the last couple of builds I've noticed this error:

opening dynamic library /opt/local/lib/libavformat.52.dylib failed!

Also I've noticed that the option to record media in Quicktime format is gone. I guess this is the reason?
Any ideas?

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #138 on: October 30, 2009, 12:20:04 PM »
Quote
macvice: SVN[21653] macosx: hold flicker fixed frame if emulator is paused
Works great, thanks!

Offline bjorn

  • A600
  • *
  • Posts: 5
  • Karma: 0
Re: MacVICE
« Reply #139 on: October 30, 2009, 05:15:51 PM »
I wish to report a problem with using the Gtk+ port of VICE with Mac OS X 10.6.1 to the maintainer. When I double click VICE the emulator selector loads but after I select the emulator I wish to run, VICE crashes. Here is the error from the diagnostic report:

Dyld Error Message:
  Library not loaded: /usr/lib/libxml2.2.dylib
  Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
  Reason: Incompatible library version: DictionaryServices requires version 10.0.0 or later, but libxml2.2.dylib provides version 9.0.0

I think upgrading the library on my system will fix the problem. Maybe this is something the emulator should address?

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #140 on: October 30, 2009, 08:53:43 PM »
I've investigated a bit. This seems like a 64-bit issue. It works fine using the 32-bit gcc 4.0 build, or the gcc 4.2 build forced into 32-bit mode.
The clang build seems to crash when launching it in 32-bit mode however.

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #141 on: October 31, 2009, 03:44:34 PM »
@bjorn: did you try the latest snapshot? I think I have already fixed this issue.

@mrsid: yes, its a 64 bit issue. The missing avformat dylib you mentioned is caused by MacPorts still having only a 32 bit version installed. The quicktime check really breaks on 64 bit. I'll have a look.

@GANDALf: I tried the flicker fixer on my ppc PB G4. The load is quite high then and if it drops frames then flicker fixing was not possible any more and some flckering returned. Disabling sound freed some CPU and then flicker fixing went without problem on this machine.

Offline bjorn

  • A600
  • *
  • Posts: 5
  • Karma: 0
Re: MacVICE
« Reply #142 on: October 31, 2009, 07:30:28 PM »
@bjorn: did you try the latest snapshot? I think I have already fixed this issue.
I have not. I looked here but was not sure which I should be downloading. Is there an explanation somewhere as to what the different versions are? I'm not a programmer so this is all very confusing for me.

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #143 on: October 31, 2009, 10:34:59 PM »
bjorn, I'd suggest to use the 10.5 cocoa version. It has all features of the native version available. The 10.6 versions are experimental compiles on the newest Mac OS X.

If you want to test on GTK then pick the gtk version available there.

The naming scheme of the versions found there is as follows:

vice-<port=macosx>-<ui>-<supported architecture>-<min macosx version>-<compiler>-<vice release>-<svn revision>-<date of build>

The ui, architecture and, min macosx version are useful to pick a suitable version for you:

ui = user interface with X11/SDL/GTK/Cocoa=native Mac UI
architecture = i386 (32 bit), ppc (32 bit) or x86_64 (64 bit)
min macosx version = 10.4, 10.5, 10.6

Offline bjorn

  • A600
  • *
  • Posts: 5
  • Karma: 0
Re: MacVICE
« Reply #144 on: November 01, 2009, 06:02:32 AM »
bjorn, I'd suggest to use the 10.5 cocoa version. It has all features of the native version available. The 10.6 versions are experimental compiles on the newest Mac OS X.
I had previously avoided the Cocoa version because it didn't seem to have all the features of the various X versions. I see that it is now more complete although the emulation of some of the other machines seems incomplete. I also find the UI somewhat difficult to adjust to because I'm used to Power64. I don't think an x86 version of that emulator will be forthcoming so I better get used to the Cocoa version of VICE. Thank you for explaining the naming scheme. I downloaded vice-macosx-gtk-i386+ppc-10.4-gcc40-2.1.18-r21642_20091025 and ran into a similar problem. Now I get this error:

Dyld Error Message:
  Library not loaded: /Users/chris/vice/extlib/i386-10.4-gcc40/lib/libgtk-x11-2.0.0.dylib
  Referenced from: /Applications/VICE.app/Contents/Resources/bin/x64
  Reason: image not found

I don't think I have the technical knowledge to use the snapshots or to provide useful bug reports. :(

One more question please. I turn off Options -> Video Rendering -> Double Scan and the image doesn't change. Is there a way to reproduce the scanlines?
« Last Edit: November 01, 2009, 06:05:31 AM by bjorn »

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #145 on: November 01, 2009, 05:14:14 PM »
bjorn, there was still a bug in the snapshot that fails the gtk version to start. I fixed that one now and I'll soon upload new snapshots.

Thanks for pointing me to the problem. Thats exactly what the snapshots are for: check them out and report me the bugs.

Scanlines can be reproduced either with "PAL Emulation" or "DoubleSize"=on "DoubleScan"=off

Offline letho

  • A600
  • *
  • Posts: 2
  • Karma: 0
Re: MacVICE
« Reply #146 on: November 13, 2009, 05:56:13 PM »
Hi!

First off, superb job on MacVICE!  I've recently switched from Power64 and am very pleased.  I do have a question that I can't seem to find an answer to though and I've hacked at this for the past few days.

How does mouse support work?  I did see a post with someone saying usb overdrive was impacting that functionality so I did remove that.  However, I've tested the x11 and all of the cocoa builds on all of my machines (g4 & g5 running tiger, mbp with leopard and another with snow leopard), and can't for the life of me get the mouse to work.  If it just isn't implemented yet, no problem  :).

Also, in order to get the dvorak keyboard layout working, I wrote a new vkm file.  If that's needed let me know or tell me I was silly for doing it because there was a much much easier way!

Thanks!

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #147 on: November 15, 2009, 04:52:17 PM »
@leltho:

Mouse support in cocoa is enabled in Options/Mouse (CMD+M). Then moving the mouse inside the emulator window and button presses are reported to the emulator. Now you need a mouse enabled program (e.g. Amica Paint) and drawing should work. Have a look at the mouse settings to alter the scaling or the type.

Offline letho

  • A600
  • *
  • Posts: 2
  • Karma: 0
Re: MacVICE
« Reply #148 on: November 16, 2009, 03:36:41 AM »
llallafa,

I think the particular program as you said, has more to do with it than anything.

Thanks!

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #149 on: November 18, 2009, 08:27:32 PM »
SDL.framework appears to be missing from the SDL apps.