Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user psenough ! (Registered 2024-05-21) You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > VICE beta testers - anyone?
2008-01-07 09:18
Rubi
Account closed

Registered: Apr 2002
Posts: 48
VICE beta testers - anyone?

Hi.

Everybody who wants to test current developer release (with several bugs fixed that were reported in the C64 Emulator bugs thread) should send me a private message here in CSDB or a mail to a.matthiesNOSPAM@online.de

Beta testers should be practiced in using VICE and its options and know about Gropaez buglist and its "rules of thumb" to avoid reporting already known or "wrong settings" bugs. The main goal should be regression testing.

I will send a (link to a) Windows binary and source archive with some information about fixed and known bugs.

- Andreas
2008-01-07 09:22
chatGPZ

Registered: Dec 2001
Posts: 11147
why not simply post the link? it's not like it wouldn't spread anyway =P
2008-01-07 09:35
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: why not simply post the link? it's not like it wouldn't spread anyway =P

I don't know it it's worth to setup a download folder for this. Maybe I will send the beta via mail. First I want to see how many (and WHO) want to test VICE.
2008-01-07 21:47
MagerValp

Registered: Dec 2001
Posts: 1060
No MacOS X binary? I have lots of issues after upgrading to Leopard, probably due to the new X server :/

Unfortunately I can't help test this time, as I'm moving on wednesday and I won't have an internet connection for at least a week. I'll gladly test the next release though.
2008-01-07 22:36
chatGPZ

Registered: Dec 2001
Posts: 11147
<Post edited by chatGPZ on 8/1-2008 15:38>

Quote:

I don't know it it's worth to setup a download folder for this.
[/quote]

cvs checkout ?
2008-01-08 13:49
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: Quote:

I don't know it it's worth to setup a download folder for this.
[/quote]

cvs checkout ?


Our mastermind Andreas Boose isn't a friend of public repositories but he agrees on releasing a test version for selected users with appropriate knowledge so lets take this as an opportunity for testing.
2008-01-08 14:40
chatGPZ

Registered: Dec 2001
Posts: 11147
i know. and thats one reason why many turned to supporting viceplus instead ...
2008-01-28 11:59
MagerValp

Registered: Dec 2001
Posts: 1060
I'm back online, and would love to give the new mac release a spin, as the current version is unusable - I'm using an old build of AquaVICE under Rosetta at the moment...
2008-01-31 21:37
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Okay, here it is:

Source and additional patch:
http://www.toenderup.de/vice/vice-1.22.8.tar.gz
http://www.toenderup.de/vice/andreasm-1.22.8-spritex.diff.gz

Windows binary:
http://www.toenderup.de/vice/x64-win32.zip

Groepaz buglist with my comments (starting with >Rubi):
http://www.toenderup.de/vice/c64_emulator_bugs+comments.txt

You need a logon:
vicebeta
testitwell

Have fun.
2008-01-31 22:13
assiduous
Account closed

Registered: Jun 2007
Posts: 343
Quote:
- [vice] Dylan Dog/X-factor Dylan Dog +3
>Rubi: Cannot reproduce. Works perfectly in 1.22. Is this bad as it should fail just like on a C64C?


dont bother with this - its unstable. i have seen it work in Hoxs64 and have been able to make it crash in vice by loading it manually.

d64 can't be chosen to autostart. using * to show all files works but its not very convenient.
2008-01-31 22:58
Steppe

Registered: Jan 2002
Posts: 1510
Ah, that's a positive move, I appreciate that!
By the way, I wondered if you could set PNG as the default driver for the Alt+C dialog. I figure that's being used in the majority of cases and it sucks a bit having to select it every time I start Vice.
2008-02-01 02:08
chatGPZ

Registered: Dec 2001
Posts: 11147
nice....now i need to find some time :)
2008-02-01 18:23
MagerValp

Registered: Dec 2001
Posts: 1060
Where do you want bug reports? In this thread?

First up a sprite bug in Twist Of by Style (NTSC mode):

1.22.8:


1.17:

2008-02-01 18:34
assiduous
Account closed

Registered: Jun 2007
Posts: 343
post in this thread so that we avoid checking the same productions.
2008-02-01 20:37
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: Where do you want bug reports? In this thread?

First up a sprite bug in Twist Of by Style (NTSC mode):

1.22.8:


1.17:



Well, in fact 1.22.8 doesn't show the bug but 1.22.8+andreasm-1.22.8-spritex.diff (which I uploaded) does which I wrote to fix a bug in an unreleased demo of Glance.

I have to review this patch...

More bugs welcome in this thread.
2008-02-01 23:38
MagerValp

Registered: Dec 2001
Posts: 1060
Ah, OK, I thought it was implied that the patch should be applied. I'll do some more testing and continue posting here if I find more bugs.
2008-02-02 14:44
assiduous
Account closed

Registered: Jun 2007
Posts: 343
I dont get why the emulated C64 resets each time the borders mode is changed. the emulation should remain consistent regardless of the number of pixels displayed. in Hoxs64 you can switch at anytime and it doesn`t reset.
2008-02-02 16:10
chatGPZ

Registered: Dec 2001
Posts: 11147
just a quick one:

1) the PAL emulation is broken, blurredness and scanline shade have no effect (the latter does something when at 0%), and pal emu generally seems to be not active
2) Action Replay III emu is fuxored. cartridge crashes at reset and doesnt start. if you go to monitor and then do "g fce2" manually the emulated c64 resets normaly. you can then "freeze". however the cartridge toolkit still doesnt work, and reset wont work as expected either. something is broken here :) [this is also broken in 1.22, but i guess it worked at some point :)]
2008-02-02 17:41
Burglar

Registered: Dec 2004
Posts: 1047
ok, just tried compiling 1.22.8 on my debian (etch) machine:

./configure --prefix=/opt/vice1.22.8 --enable-gnomeui --enable-fullscreen

make
..snip..

../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_display_tape_current_image':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:1687: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_display_drive_current_image':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:1531: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_create_status_bar':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:799: undefined reference to `gtk_widget_set_tooltip_text'
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:817: undefined reference to `gtk_widget_set_tooltip_text'
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:836: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o):/opt/src/vicebeta/vice-1.22.8/s rc/arch/unix/x11/gnome/x11ui.c:865: more undefined references to `gtk_widget_set_tooltip_text' follow
collect2: ld returned 1 exit status

so... cant really test it :/
2008-02-02 18:27
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: just a quick one:

1) the PAL emulation is broken, blurredness and scanline shade have no effect (the latter does something when at 0%), and pal emu generally seems to be not active
2) Action Replay III emu is fuxored. cartridge crashes at reset and doesnt start. if you go to monitor and then do "g fce2" manually the emulated c64 resets normaly. you can then "freeze". however the cartridge toolkit still doesnt work, and reset wont work as expected either. something is broken here :) [this is also broken in 1.22, but i guess it worked at some point :)]


ad 1.) PAL works in Windows binary as it should. There is some work in progress regarding fullscreen and seperation of GTK from X11 code and there was a patch rejected when releasing 1.22.8 so Unix port might not work as expected. I'm compiling Win port but I will forward your bugs to the guys working on it.

ad 2.) I will have a look although I'm no cartridge expert. But when it worked in an earlier release I might find the reason.

Meanwhile I have fixed the sprite bug reported yesterday and will upload fixed binary and patch this evening...
2008-02-02 19:03
chatGPZ

Registered: Dec 2001
Posts: 11147
actually i've never seen it working...but mostly, because i have also never seen a AR3 dump on the net before :)

that said, i checked the source a bit, and i am missing the bit in the control register which controls the GAME line.

however, andreas boose should know more, he made that piece of code =P
2008-02-02 22:22
Rubi
Account closed

Registered: Apr 2002
Posts: 48
I have updated Win32 binary
http://www.toenderup.de/vice/x64-win32.zip

and additional patch
http://www.toenderup.de/vice/andreasm-1.22.8-spritex-rasterchan..

to fix Twist of Style and probably others.
2008-02-02 22:24
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: actually i've never seen it working...but mostly, because i have also never seen a AR3 dump on the net before :)

that said, i checked the source a bit, and i am missing the bit in the control register which controls the GAME line.

however, andreas boose should know more, he made that piece of code =P


Now that you mention it: I haven't an AR3 image (only >=5) so I cannot reproduce. Any link to it?
2008-02-02 22:49
iAN CooG

Registered: May 2002
Posts: 3137
Quote: Now that you mention it: I haven't an AR3 image (only >=5) so I cannot reproduce. Any link to it?

It was posted today at lemon
http://www.lemon64.com/forum/viewtopic.php?t=25928
http://www.c64net.com/downloads/arv3.bin
2008-02-02 23:02
iAN CooG

Registered: May 2002
Posts: 3137
Quote: I have updated Win32 binary
http://www.toenderup.de/vice/x64-win32.zip

and additional patch
http://www.toenderup.de/vice/andreasm-1.22.8-spritex-rasterchan..

to fix Twist of Style and probably others.


Windows binary is built for NT based windows, please rebuild with win9x compatible switches =)
2008-02-02 23:51
A Life in Hell
Account closed

Registered: May 2002
Posts: 204
Quote: ok, just tried compiling 1.22.8 on my debian (etch) machine:

./configure --prefix=/opt/vice1.22.8 --enable-gnomeui --enable-fullscreen

make
..snip..

../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_display_tape_current_image':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:1687: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_display_drive_current_image':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:1531: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o): In function `ui_create_status_bar':
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:799: undefined reference to `gtk_widget_set_tooltip_text'
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:817: undefined reference to `gtk_widget_set_tooltip_text'
/opt/src/vicebeta/vice-1.22.8/src/arch/unix/x11/gnome/x11ui.c:836: undefined reference to `gtk_widget_set_tooltip_text'
../src/arch/unix/x11/gnome/libgnomeui.a(x11ui.o):/opt/src/vicebeta/vice-1.22.8/s rc/arch/unix/x11/gnome/x11ui.c:865: more undefined references to `gtk_widget_set_tooltip_text' follow
collect2: ld returned 1 exit status

so... cant really test it :/


`gtk_widget_set_tooltip_text' is new in gtk v2.12. Etch contains the now prehistoric gtk v2.8. Of course, the config script could/should check if you have gtk >2.12 and fail to build (or possibly wrapper function to wrap the new function name to the old one if old gtk is detected... blah)
2008-02-03 00:25
iAN CooG

Registered: May 2002
Posts: 3137
I put away my lazyness and rebuilt it myself, took only 13minutes :)
Type of/Style works
Fallout/UCF works! (/me shouts out of the window "IT'S WORKING AT LAST!!1")
TRC+TBI intro works.

Dylan Dog/X-factor hangs always if autoloaded from commandline/drag&drop. Works sometimes if manually loaded, anyway it's a problem in the intro init, not a vice issue, depends on when the irq is triggered, and as I suggested in the buglist, a simple lda #$7f sta $dc0d fixes it.

Thanks for the shitload of fixes, also the new cpujam option is handy. 3 thumbs up!
2008-02-03 00:36
null
Account closed

Registered: Jun 2006
Posts: 645
just a suggestion ( even though it has been purposed many many times... )

an option to have true drive emulation ON by default AT ALL TIMES. because it's starting to slightly piss me off, and I'm not the only one ;_)

------------------------------------
http://zomgwtfbbq.info
2008-02-03 05:18
chatGPZ

Registered: Dec 2001
Posts: 11147
Quote:

an option to have true drive emulation ON by default AT ALL TIMES. because it's starting to slightly piss me off, and I'm not the only one ;_)


i am sponsoring the money to tattoe that on andreas' forehead if that helps =)

rubi: about AR3, please ask andreas for the cartridge dump he used as a reference. we are currently researching this, and it looks like there were different versions of AR3 around. i'd like to see his dump for comparison.

edit: ok, confirmed. we located someone with a different ar3, and his dump works. kinda strange, we'll investigate further...
2008-02-03 18:22
Burglar

Registered: Dec 2004
Posts: 1047
Quote: `gtk_widget_set_tooltip_text' is new in gtk v2.12. Etch contains the now prehistoric gtk v2.8. Of course, the config script could/should check if you have gtk >2.12 and fail to build (or possibly wrapper function to wrap the new function name to the old one if old gtk is detected... blah)

ah thanks for the info, and you're right, its probably the only thing I dislike in debian (slow in updating to newer versions of key components)

obviously, it compiled and ran fine without gnomeui btw.
2008-02-03 20:07
blacky

Registered: Sep 2007
Posts: 41
Quote: `gtk_widget_set_tooltip_text' is new in gtk v2.12. Etch contains the now prehistoric gtk v2.8. Of course, the config script could/should check if you have gtk >2.12 and fail to build (or possibly wrapper function to wrap the new function name to the old one if old gtk is detected... blah)

In order for my upcoming SkyOS port to work there will have to be a wrapper function. I will include this in my SkyOS port patch that will be sent in soon.

Signed, Marco van den Heuvel.
2008-02-03 21:05
blacky

Registered: Sep 2007
Posts: 41
@Rubi

Please mark Aurora90% as fixed as well in the buglist, my $01 fall-off patch was added in 1.22.2.
2008-02-03 21:08
assiduous
Account closed

Registered: Jun 2007
Posts: 343
Quote: @Rubi

Please mark Aurora90% as fixed as well in the buglist, my $01 fall-off patch was added in 1.22.2.


It's already marked:
Quote:
- [vice 1.20,CCS] Aurora 90%/Level64 Aurora 85%-90%
>Rubi: Fixed in 1.22.2
2008-02-03 23:47
yago

Registered: May 2002
Posts: 332
Vice 1.22.2 ?
where is that?
2008-02-03 23:53
assiduous
Account closed

Registered: Jun 2007
Posts: 343
probably nowhere but u can assume that 1.22.8 posted earlier includes this fix

btw,I hope we can anticipate more emudetectors from you in the future :) any incentive to improve the emulation is good
2008-02-04 19:03
yago

Registered: May 2002
Posts: 332
Ok, i tested Vice 1.22.8, and indeed $01 behaves much more natural now.
Because i have no Windows, and hoxs run very slowly in wine (1.7GHz, 256MB Ram), i cant thouroughly test it, but i do have some tests where hoxs fails.
So, expect new emu-protection from me soon.
2008-02-04 19:44
assiduous
Account closed

Registered: Jun 2007
Posts: 343
\o/ looking forward 2 it
2008-02-04 19:56
iAN CooG

Registered: May 2002
Posts: 3137
I have 2 fix proposals to submit to your attention:
---------------------------------
1)
Vice Autostart/TDE/VDT fix
hxxp://iancoog.altervista.org/vice/iANCooG-1.22.8-autostart_tde.tar.gz

Resetting during a d64 autostart, before LOAD"*",8,1 appears, always leads to
TDE set to 0 even if set to 1 in vice.ini. Same behaviour happens if the
currently/default attached cart is detached, causing a reset.

autostart_reset() -> disk_eof_callback() -> orig_drive_true_emulation_state

The variable has not been set YET. It's set only in advance_hasdisk()
after check("READY") stuff has said YES or NO, never in case NOT_YET.
But even NOT_YET case happens too late, the variable must be set earlier.
Being 0 by default, TDE will become 0 aswell.
Fix made in autostart_advance() setting orig_drive_true_emulation_state before
calling advance_hasdisk(), and commented out where it's not needed anymore.

Other fixes:
- Virtual Dev Traps set to ON always in autostart_tape() for t64s
- Added ":" after "LOAD" and "RUN", because you have enough time to
fill the screen with garbage before loading starts.
---------------------------------
2)
Additional parameter -cartnone, kludge
hxxp://iancoog.altervista.org/vice/iANCooG-1.22.8-cartnone_kludge.tar.gz

I use TFR 0.8 cart attached by default, others use AR, FC3 or Warpspeed as
default. Happens that some prgs refuse to work with a certain cart.
My vice.ini looks like this:

CartridgeFile="C:\vice\crts\tfr08.rom"
CartridgeType=-5
CartridgeMode=0
CartridgeReset=1

Sometimes I need to start a prg/d64 detaching the cart, but it's possible
only from the menu. So far I tried using -cartexpert, but in some case the
launched prg refused to work with an expert attached (problems with the
bankswitching and stuff) so this switch was more an annoyance than a gain.
A proper -cartnone (or +cart, whatever the personal preferences are) is needed
to temporarily disable a default cart during autostart.

This is a VERY DIRTY kludge, as it works only if vice.ini contains a default
cart, has no descriptive commandline help, and so on, so use at your own risk.

Let me know if they are of any usefulness for you. I already implemented in my sources as they meet my needs.
2008-02-04 21:53
enthusi

Registered: May 2004
Posts: 675
a VERY nice vice option would be some shortcut for at least
PRESS PLAY ON DATASETTE

thanks.
2008-02-05 04:45
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: a VERY nice vice option would be some shortcut for at least
PRESS PLAY ON DATASETTE

thanks.


There is some toolbar for Win32 in my pipeline with buttons for the datasette controls. What other buttons would you like to have?
2008-02-05 06:52
Devia

Registered: Oct 2004
Posts: 401
It would be kind of nice to have the ability to save and load different "settings" along with a command line option for specifying the settings file. Also a menu of your favorite settings in Vice would be nice for quick switching between your settings profiles.
2008-02-05 08:09
enthusi

Registered: May 2004
Posts: 675
@Ruby: sorry. Im using the linux version and I'd prefer shortcuts in that alt+X manner. And yeah, I can/did do that myself but as for the main tree I mean. thx :)
2008-02-05 09:31
iAN CooG

Registered: May 2002
Posts: 3137
Quote: @Ruby: sorry. Im using the linux version and I'd prefer shortcuts in that alt+X manner. And yeah, I can/did do that myself but as for the main tree I mean. thx :)

in arch\win32\ui.c I've already added
ALT+F5=REW
ALT+F6=FFWD
ALT+F7=STOP
ALT+F8=PLAY
ALT+F9=REC
but I can't do anything for other platforms. DIY ;)

edit: added also 2 keys for TDE/VTD toggle on ALT-2 & ALT-3
here's my patch for win32
hxxp://iancoog.altervista.org/vice/iANCooG-1.22.8-newhotkeys_win32.tar.gz
2008-02-05 21:57
Burglar

Registered: Dec 2004
Posts: 1047
first and foremost there should be a hotkey to swap 6581/8580.
2008-02-05 22:48
iAN CooG

Registered: May 2002
Posts: 3137
Quote: first and foremost there should be a hotkey to swap 6581/8580.

Easy, added on alt-f1/f2, updated diff file.
:)
2008-02-06 00:04
chatGPZ

Registered: Dec 2001
Posts: 11147
just so you guys know (and so you dont have to waste time on eventually doing it) ... i have AR4 emulation working (post AR3, pre AR4.2 hardware), and i am currently playing with implementing StarDOS. will post a patch later (i want to implement stardos first, and eventually clean up the code too =P), i guess its not that terribly useful anyway, besides historic interest ofcourse :)
2008-02-06 00:57
Oswald

Registered: Apr 2002
Posts: 5028
Quote: There is some toolbar for Win32 in my pipeline with buttons for the datasette controls. What other buttons would you like to have?

attach disk image - drv 8
detach disk image - drv 8
autostart disk image
autostart prg
turn true drive emulation on (not needed if fixed:)
joystick setup

I use these functions the most.the best would be a customizable bar tho. each menu item = one button as in office used to be.
2008-02-06 13:50
Burglar

Registered: Dec 2004
Posts: 1047
Quote: Easy, added on alt-f1/f2, updated diff file.
:)


ian, sadly, I have no use for your windows key crap ;)
2008-02-06 14:25
iAN CooG

Registered: May 2002
Posts: 3137
Found a bug in src/arch/win32/uilib.c, when compiling with MSVC7.1 filters list is always garbled.
Use memmove() instead of memcpy() when copying inside the same/overlapping memory areas.
--- vice-1.22.8/src/arch/win32/uilib.c	2007-08-19 18:07:36 +0200
+++ vice-1.22.8_ian/src/arch/win32/uilib.c	2008-02-06 14:09:01 +0100
@@ -582,7 +582,7 @@
             pattern_len = (_tcslen(uilib_filefilter[i].pattern) + 1) * sizeof(TCHAR);
             filter = lib_realloc(filter, current_len + name_len + pattern_len);
-            memcpy(filter + name_len + pattern_len, filter, current_len);
-            memcpy(filter, translate_text(uilib_filefilter[i].name), name_len);
-            memcpy(filter + name_len, uilib_filefilter[i].pattern, pattern_len);
+            memmove(filter + name_len + pattern_len, filter, current_len);
+            memmove(filter, translate_text(uilib_filefilter[i].name), name_len);
+            memmove(filter + name_len, uilib_filefilter[i].pattern, pattern_len);
             current_len += name_len + pattern_len;
         }


@burglar: I can do mods only for win32 as I have no way to test on linux. DIY or prey for someone to make it for you :P
2008-02-07 07:22
Rubi
Account closed

Registered: Apr 2002
Posts: 48
Quote: in arch\win32\ui.c I've already added
ALT+F5=REW
ALT+F6=FFWD
ALT+F7=STOP
ALT+F8=PLAY
ALT+F9=REC
but I can't do anything for other platforms. DIY ;)

edit: added also 2 keys for TDE/VTD toggle on ALT-2 & ALT-3
here's my patch for win32
hxxp://iancoog.altervista.org/vice/iANCooG-1.22.8-newhotkeys_win32.tar.gz


I'm working on a patch for universal shortcut modification in Win32, means the user can set the desired shortcuts via config file.
2008-02-07 19:11
vedos
Account closed

Registered: Jul 2003
Posts: 33
Quote: just a suggestion ( even though it has been purposed many many times... )

an option to have true drive emulation ON by default AT ALL TIMES. because it's starting to slightly piss me off, and I'm not the only one ;_)

------------------------------------
http://zomgwtfbbq.info


Second that. It's really annoying that it turns off sometimes when running a program.
2008-07-13 09:29
Rubi
Account closed

Registered: Apr 2002
Posts: 48
We are close to a new official release of VICE and I dared to change some emulation related code last night so I decided to offer another beta release for testing:

Windows binary:
http://www.toenderup.de/vice/WinVICE-1.22.25.zip

You need a logon:
vicebeta
testitwell

Please test (especially for new bugs that were not visible in 1.22) and help to avoid another buggy major release (and me being killed by the other VICE developers).

2008-07-13 09:41
chatGPZ

Registered: Dec 2001
Posts: 11147
i took the opportunity to take the virginity from the bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=201665..

:)
2008-07-14 08:35
The Human Code Machine

Registered: Sep 2005
Posts: 110
Download is not possible, has the password changed?
2008-07-14 12:15
wreg
Account closed

Registered: Mar 2004
Posts: 679
You need a logon:
username: vicebeta
password: testitwell

just try again, its working quite well
2008-07-14 13:52
AlexC

Registered: Jan 2008
Posts: 293
Quote: i took the opportunity to take the virginity from the bug tracker: http://sourceforge.net/tracker/index.php?func=detail&aid=201665..

:)


Oh good :) Does this mean that NMI will not be broken anymore in future releases ;)
2008-07-14 20:45
iAN CooG

Registered: May 2002
Posts: 3137
Tried quickly the hotkey configurations. Needs to be documented *well* as most don't have winuser.h (yes, there exist someone still not having a C compiler and relative files on his machine!1)
Anyway, not everything I need can be set:

SHIFT+KEY combos? Single Keys? for example F9-F10 alone, I'd like to map tape control keys there. something like this
            0x78        IDM_DATASETTE_CONTROL_REWIND        F9    # VK_F9
            0x79        IDM_DATASETTE_CONTROL_FORWARD       F10   # VK_F10
ALT         0x7A        IDM_DATASETTE_RESET_COUNTER         F11   # ALT|VK_F11
            0x7A        IDM_DATASETTE_CONTROL_STOP          F11   # VK_F11
            0x7B        IDM_DATASETTE_CONTROL_START         F12   # VK_F12
ALT         0x7B        IDM_DATASETTE_CONTROL_RECORD        F12   # ALT|VK_F12

don't work here.
even using alt-combos:
ALT         0x78        IDM_DATASETTE_CONTROL_REWIND        F9    # VK_F9
ALT         0x79        IDM_DATASETTE_CONTROL_FORWARD       F10   # VK_F10
ALT|CTRL    0x7A        IDM_DATASETTE_RESET_COUNTER         F11   # ALT|VK_F11
ALT         0x7A        IDM_DATASETTE_CONTROL_STOP          F11   # VK_F11
ALT         0x7B        IDM_DATASETTE_CONTROL_START         F12   # VK_F12
ALT|CTRL    0x7B        IDM_DATASETTE_CONTROL_RECORD        F12   # ALT|VK_F12

another thing I like to do, which need additional handling in win32/ui.c, is switching on the fly between sid models
# dont work, IDC* not usable ;)
#ALT         0x70        IDC_SID_6581                F1      # VK_F1
#ALT         0x71        IDC_SID_8580                F2      # VK_F2

In my patched ui.c I have already done like this to handle them. Of course it's a dirty hack, but it's just what I needed.
      case IDC_SID_6581 | 0x00010000:
        resources_set_int("SidModel", 0);
        break;
      case IDC_SID_8580 | 0x00010000:
        resources_set_int("SidModel", 1);
        break;


so far only these are working
ALT         '7'         IDM_AUTOSTART
ALT         '2'         IDM_TOGGLE_DRIVE_TRUE_EMULATION
ALT         '3'         IDM_TOGGLE_VIRTUAL_DEVICES
ALT         'P'         IDM_TOGGLE_FASTPAL

better than nothing, but not enough. Once used to hotkeys is hard to get back. =)
2008-07-18 18:42
iAN CooG

Registered: May 2002
Posts: 3137
1)
menu Edit should be activated by D and not E, which is already Settings

POPUP "&Edit"
in *.rc should be
POPUP "E&dit"

==============================================================================
2)
default keys for copy/paste clash with valid C64 keycombos, being CTRL
mapped as C= we can't use C=+C C=+V C=+Lira
In win_shortcuts.vsc better use some ALT combos

# Alt+Ins / Alt-Del are good enough for me
ALT         0x2E        IDM_EDIT_COPY                       # VK_DELETE
ALT         0x2D        IDM_EDIT_PASTE                      # VK_INSERT

==============================================================================
3)
SHIFT key must be added in uikeyboard.c
---------8<------------8<------------8<------------8<------------8<---
--- win32/uikeyboard.c	2008-07-18 15:26:20 +0000
+++ win32_patch/uikeyboard.c	2008-07-18 14:24:05 +0000
@@ -306,4 +306,6 @@
                     if (strstr(strlwr(metastr), "alt") != NULL)
                         accel.fVirt |= FALT;
+                    if (strstr(strlwr(metastr), "shift") != NULL)
+                        accel.fVirt |= FSHIFT;

                     if (keystr[0] == '\'' && keystr[2] == '\'') {
@@ -324,6 +326,7 @@
                     if (displaystr != NULL) {
                         p = util_concat("\t",
+                                    ((accel.fVirt & FSHIFT  ) ? "Shift+" : ""),
                                     ((accel.fVirt & FCONTROL) ? "Ctrl+" : ""),
-                                    ((accel.fVirt & FALT) ? "Alt+" : ""),
+                                    ((accel.fVirt & FALT    ) ? "Alt+"   : ""),
                                     displaystr, NULL);
---------8<------------8<------------8<------------8<------------8<---
==============================================================================
4)
to allow any keyboard event, in ui.c wparam must be PASSED & 0xffff to
various functions. Else these can't be used in win_shortcuts.vsc
IDM_SID_SETTINGS
IDM_DATASETTE_CONTROL_START
and so on
---------8<------------8<------------8<------------8<------------8<---
--- win32/ui.c	2008-07-18 15:26:19 +0000
+++ win32_patch/ui.c	2008-07-18 13:06:27 +0000
@@ -1166,6 +1166,6 @@
     if (ui_machine_specific)
         ui_machine_specific(wparam, hwnd);
-
-    switch (wparam & 0xffff) {
+    wparam &= 0xffff; /* fix: iAN */
+    switch ( wparam ) {
       case IDM_DEVICEMANAGER:
       case IDM_FORMFEED_PRINTERIEC4:
---------8<------------8<------------8<------------8<------------8<---


---------8<------------8<------------8<------------8<------------8<---
--- win32/c64ui.c	2008-04-14 19:47:33 +0000
+++ win32_patch/c64ui.c	2008-07-18 16:01:39 +0000
@@ -139,5 +139,5 @@
 {
     uic64cart_proc(wparam, hwnd);
-
+    wparam &= 0xffff;
     switch (wparam) {
       case IDM_VICII_SETTINGS:
---------8<------------8<------------8<------------8<------------8<---

==============================================================================
5)
in win_shortcuts.vsc should be made clear that single keys are configurable
just by using anything (for example KEY) in first column, example

# Syntax
# First column: Combination of ALT|CTRL|SHIFT (or KEY for unshifted keys)
#   to hold for the shortcut
[...]

I've successfully added these

KEY         0x78        IDM_DATASETTE_CONTROL_REWIND        F9    # VK_F9
KEY         0x79        IDM_DATASETTE_CONTROL_FORWARD       F10   # VK_F10
KEY         0x7A        IDM_DATASETTE_CONTROL_STOP          F11   # VK_F11
KEY         0x7B        IDM_DATASETTE_CONTROL_START         F12   # VK_F12
ALT         0x7A        IDM_DATASETTE_RESET_COUNTER         F11   # ALT|VK_F11
ALT         0x7B        IDM_DATASETTE_CONTROL_RECORD        F12   # ALT|VK_F12
==============================================================================
6)
Additional Events for changing SID models by keyboard shortcut.
Something like this (not working)


--- win32/ui.c	2008-07-18 15:26:19 +0000
+++ win3_patch2/ui.c	2008-07-18 13:06:27 +0000
@@ -1343,4 +1343,12 @@
         ui_display_statustext(translate_text(IDS_SOUND_RECORDING_STOPPED), 1);
         break;
+      /* to be implemented! */
+      case IDC_SID_6581 :
+        resources_set_int("SidModel", 0);
+        break;
+      case IDC_SID_8580 :
+        resources_set_int("SidModel", 1);
+        break;
+
       default:
         handle_default_command(wparam, lparam, hwnd);

RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Sentinel/Excess/TREX
Mike
jeroen1328
MagerValp/G★P
ThunderBlade/BLiSS
Tim/Silicon Limited
Steffan/BOOM!
Moderators/CSDb Staff
Guests online: 83
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 No Bounds  (9.6)
9 Bromance  (9.5)
10 Wonderland XII  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 It's More Fun to Com..  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Booze Design  (9.3)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Performers  (9.3)
Top Graphicians
1 Sulevi  (9.9)
2 Mirage  (9.8)
3 Mikael  (9.7)
4 Lobo  (9.7)
5 Archmage  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.122 sec.