Paddle-Games in WinVice ?

You need an actual VIC.

Moderator: Moderators

Vicman *1970
Vic 20 Devotee
Posts: 247
Joined: Sat Jun 30, 2007 5:48 am

Paddle-Games in WinVice ?

Post by Vicman *1970 »

Hi,

Is it possible to play "Paddle"-Games with WinVice ? - for Example "Super Smash" (Breakball by Commodore) ?

I can't figure out, how to move my Paddle, to play those Games.... :oops:
I've tried it by using the PC-keyboard and an USB-Comp. Pro- Joystick :cry:
Boray
Musical Smurf
Posts: 4064
Joined: Mon May 03, 2004 10:47 am

Post by Boray »

I think it would be very cool if they put that into VICE. The mouse pointer's x and y position in the vice window could translate to paddle a and b. After that we could make vice programs with mouse support too :)
PRG Starter - a VICE helper / Vic Software (Boray Gammon, SD2IEC music player, Vic Disk Menu, Tribbles, Mega Omega, How Many 8K etc.)
Vicman *1970
Vic 20 Devotee
Posts: 247
Joined: Sat Jun 30, 2007 5:48 am

Post by Vicman *1970 »

but for now, it isn't possible to play those "Paddle-Games" in VICE, right ? :roll:
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

Vicman *1970 wrote:but for now, it isn't possible to play those "Paddle-Games" in VICE, right ? :roll:
I've not tested it, but mayhem reports me that with Win-Vice you may use real vic paddles using a USB Stelladapter that is not sold anymore :cry:
Mega-Cart: the cartridge you plug in once and for all.
User avatar
Mayhem
High Bidder
Posts: 3027
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Post by Mayhem »

You can use paddles iirc, I'm not sure they are emulated correctly though. I'm gonna give it another test over the weekend to see.
Lie with passion and be forever damned...
User avatar
ral-clan
plays wooden flutes
Posts: 3702
Joined: Thu Jan 26, 2006 2:01 pm
Location: Canada

Post by ral-clan »

Slightly off-topic but a few days ago I cleaned my Commodore paddle's pots and played PONG by Nippur and nbla007. Awesome jitter-reducing routine in that game! The movement is smooth and there is no jitter, basically. In all the Commodore paddle games (i.e. Sea Wolf, Clowns) there is still a small amount of jitter even though I've cleaned the pots.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

ral-clan wrote:played PONG by Nippur and nbla007.
Not 007 but nbla000 unfortunately :lol:
Awesome jitter-reducing routine in that game! The movement is smooth and there is no jitter, basically.

This is a Nippur72's routines merit only.

PS: Have you used the last 2008 updated version of Pong with single player support ?
Mega-Cart: the cartridge you plug in once and for all.
nippur72
de Lagash
Posts: 574
Joined: Thu Sep 07, 2006 8:35 am

Post by nippur72 »

talking of the anti-jitter routine, it's just few bytes of machine code that average the current paddle read with the previous one. Mathematically speaking it's a first order low-pass IIR filter, something like this:

y = y*1/3 + paddle_read*2/3

so paddle_read has 2/3 weight and previous one (y) has 1/3. By changing the weights you can tradeoff between responsiveness and anti-jitter.

In theory any paddle program could be patched to support this anti jitter system.
Vicman *1970
Vic 20 Devotee
Posts: 247
Joined: Sat Jun 30, 2007 5:48 am

Post by Vicman *1970 »

thanks for your replys, maybe one Day the VICE-Team will really support the PC-Mouse :P :wink:
User avatar
eslapion
ultimate expander
Posts: 5458
Joined: Fri Jun 23, 2006 7:50 pm
Location: Canada
Occupation: 8bit addict

Post by eslapion »

nbla000 wrote:
Vicman *1970 wrote:but for now, it isn't possible to play those "Paddle-Games" in VICE, right ? :roll:
I've not tested it, but mayhem reports me that with Win-Vice you may use real vic paddles using a USB Stelladapter that is not sold anymore :cry:
The Stelladapter is presently sold out but it is not discontinued. Atari Age expects to have more of them soon.

However, it presents paddles to Windows as the X and Y axis of a joystick. For this reason and because there is no specific paddle option in VICE, paddles are not supported in x-Vic of VICE.
Be normal.
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

eslapion wrote:However, it presents paddles to Windows as the X and Y axis of a joystick. For this reason and because there is no specific paddle option in VICE, paddles are not supported in x-Vic of VICE.
Though i consider VICE as the best Vic-20 emulator, i think that this is the most important VICE lack thing :cry:

Reading the Pfau Zeh documentation, it seems that the Emulator Pfau Zeh supports paddles emulations via keyboard:

* Paddle 1

Left : Numblock end (1)

Right : Numblock page down (3)

Fire : Cursor key left


* Paddle 2

Left : Numblock pos1 (7)

Right : Numblock page up ( 9)

Fire : Cursor key right
Mega-Cart: the cartridge you plug in once and for all.
User avatar
orion70
VICtalian
Posts: 4341
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Post by orion70 »

nbla000 wrote:the Emulator Pfau Zeh supports paddles emulations via keyboard
D/L page not working. Download Pfau Zeh HERE instead. :wink:

I tried Pong with it, and it emulates paddles (!) as described in the docs, but unfortunately the emulator speed is VERY variable, making it unplayable. :cry:
nippur72
de Lagash
Posts: 574
Joined: Thu Sep 07, 2006 8:35 am

Post by nippur72 »

VICE is open source, so in theory it could be modified. The only problem is that it's a rather complex project and it's not easy to understand and add your own mod. In the past I tried to modify it for a 3x2 pixel ratio rather that 2x1, but failed miserably (but was able to get 1x1 aspect ratio).

WinVICE also forked into WinWICE plus, with slight different features (most for 64dtv).
User avatar
nbla000
Salmon Run
Posts: 2582
Joined: Thu Oct 13, 2005 8:58 am
Location: Italy

Post by nbla000 »

orion70 wrote: D/L page not working. Download Pfau Zeh HERE instead.
Thanks for info.
I tried Pong with it, and it emulates paddles (!) as described in the docs, but unfortunately the emulator speed is VERY variable, making it unplayable. :cry:
Yes i've tested it too and i may confirm that paddles emulation is really primitive btw you may use it to check programs with Paddle support, for example i've just tested the cart image of "Star Post" that does not work on VICE and i may confirm that the rom is good, i was sure since i've tested it on Real machine btw it is a confirm that is just a VICE paddle lacks support problem.
nippur72 wrote:VICE is open source, so in theory it could be modified. The only problem is that it's a rather complex project...
To work on an emulator project is another my dream, too much dreams....

It's really strange that nobody of the VICE developers visit our forum, someone know a VICE developer ?
Mega-Cart: the cartridge you plug in once and for all.
gklinger
Vic 20 Elite
Posts: 2051
Joined: Tue Oct 03, 2006 1:39 am

Post by gklinger »

nippur72 wrote:WinVICE also forked into WinWICE plus, with slight different features (most for 64dtv).
I understand that the people behind VICEplus are more open to adding things than the VICE developers. For instance, I think there are some improvements to the 2MHz 128 emulation being added into the next version. I suspect they would be willing to integrate the type of code eslapion was talking about.
In the end it will be as if nothing ever happened.
Post Reply