Author Topic: MacVICE  (Read 100822 times)

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #180 on: March 24, 2010, 04:47:43 PM »
@jonno: the TFE/RR Net settings are in "Settings/Resource Inspector". There open "Peripherals/Cartridges/TFE"...
Unfortunately, I just found out that the code is in place but there is a regression opening the adapter... Will have a look

@mrsid: ok, refresh should work of course. This one needs to be fixed

@magervalp: are there unsupported HID elements on your "PSP joystick" or is the joystick driver of the PSP itself not well suited for this task?

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #181 on: March 24, 2010, 06:39:07 PM »
The physical layout of the gamepad just doesn't suit C64 games. I tried playing Bubble Bobble, where you jump by pulling up, and I couldn't even finish the 3rd level...

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #182 on: March 24, 2010, 07:56:03 PM »
You'll have that problem with pretty much any pad. One possible solution is to allow multiple buttons to map onto certain joystick directions.
Then you can have a dedicated jump button, but still keep the normal up direction working as well.
The XBox version of VICE is allowing that, so I have the B button mapped to Up there, which makes those games work nicely.
Also it's kind of useful to map additional buttons to keyboard keys, such as Space. Then you can throw grenades in Commando for example.

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #183 on: March 25, 2010, 10:40:49 AM »
Yeah, something like that would work. I think I'm just going to hack up a USB gamepad and solder a DB9 connector to it though :)

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #184 on: March 25, 2010, 02:06:26 PM »
You'll find that the buttons are often analog these days. Maybe a cheap pad still has digital buttons.

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #185 on: March 25, 2010, 05:47:05 PM »

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #186 on: March 25, 2010, 08:57:58 PM »
If I leave x64 running for a very long time (like several hours), it appears to freeze. The image is static, but the emulation is running "behind" it - e.g. entering the monitor and single stepping works, and if I launch a new program the sound plays correctly.

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #187 on: March 26, 2010, 05:25:04 AM »
I had this too, but sometimes it happens after a few minutes already.

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #188 on: March 28, 2010, 07:17:02 AM »
Hmmm... the long time hang sounds like an overflow problem to me...

Is there a correlation with the new sync draw?
Or does it happen with "normal" drawing, too?

Offline franticHT

  • A600
  • *
  • Posts: 9
  • Karma: 0
    • Little Computer People Demo Party
Re: MacVICE
« Reply #189 on: March 31, 2010, 12:26:30 PM »
I downloaded Version 2.2.1-r22394_20100328_trunk for OSX10.5 and there is still the problem with the .dmg (remember "Issue 2", discussed a few posts back). I can open it, but cannot copy files from it in Finder by Dragging and Dropping or cut/paste. As a tip to other people having problems, just entering the Terminal and "cp -r /Volumes/[DMGFILE]/* DESTINATION/" works fine. Still haven't encountered this problem with any other .dmg that I have opened on my system, so indeed it seems to be something with the particular .dmg files in the MACVICE file area.

Offline MagerValp

  • A600
  • *
  • Posts: 85
  • Karma: 0
Re: MacVICE
« Reply #190 on: April 02, 2010, 07:35:59 AM »
Hmmm... the long time hang sounds like an overflow problem to me...

Is there a correlation with the new sync draw?
Or does it happen with "normal" drawing, too?

Sync draw is the best thing ever, and I haven't turned it off since it appeared :)

The display freeze bug might have appeared right around the same time, but it's hard to say for sure.

I downloaded Version 2.2.1-r22394_20100328_trunk for OSX10.5 and there is still the problem with the .dmg (remember "Issue 2", discussed a few posts back). I can open it, but cannot copy files from it in Finder by Dragging and Dropping or cut/paste. As a tip to other people having problems, just entering the Terminal and "cp -r /Volumes/[DMGFILE]/* DESTINATION/" works fine. Still haven't encountered this problem with any other .dmg that I have opened on my system, so indeed it seems to be something with the particular .dmg files in the MACVICE file area.

Try creating a new user account on your machine, and opening the dmg there. Same problem? If so, try booting from an external drive with a fresh OS install on it, and see if the problem's still around. There doesn't appear to be anything special about the MacVICE dmg:s...

Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #191 on: April 02, 2010, 07:53:55 AM »
I believe that the display freeze bug has started to appear with 2.2. I've never seen it with the 2.1.x builds.

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #192 on: April 03, 2010, 03:42:58 PM »
The DMG issue is really strange... Maybe the relevant output of "mount" and a dump of the volume directory "ls -lR /Volumes/vice-..." can help us to identify the problem...

Inspired by the discussion on building your own USB HID adpter for old joysticks I also went and bought the cheapest controller I found (7 EUR: A Speed Link Hornet USB Joypad) that offers 2 "axis" (buttons acutally) and 10 buttons. With so much binary input I am going to build a two DB9 to USB joystick adapter...

I just [22407] adapted VICE to support this scenario: the two HID devices in VICE share the single HID device and use different button mappings... Furthermore, I had to introduce some work arounds for broken HID devices as this gamepad announces the X axis 4 times and only the last element works :/


Offline mrsid

  • A600
  • *
  • Posts: 34
  • Karma: 0
Re: MacVICE
« Reply #193 on: April 05, 2010, 08:45:52 PM »
In the last week I've lost all my VICE settings twice. I don't remember doing anything special in particular. Any idea?

Offline lallafa

  • A600
  • *
  • Posts: 83
  • Karma: 1
  • MacVICE & DI64 Dev
    • lallafa's Blog
Re: MacVICE
« Reply #194 on: April 10, 2010, 06:07:29 PM »
Hmm... I can think of corruption if two instances of the same emulator run at the same time... but otherwise not experienced yet. What kind of corruption does occur? Empty file, garbled contents?