Commodore 64 (C64) Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
CCS64 V2.0 BETA (Win-32) - Update News

 
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases
View previous topic :: View next topic  
Author Message
stuartt
Lemon64 Donator!
Lemon64 Donator!


Joined: 02 Jan 2002
Posts: 594
Location: Cleveland, England.

PostPosted: Fri May 23, 2003 5:16 pm    Post subject: CCS64 V2.0 BETA (Win-32) - Update News Reply with quote

Dan has very kindly created a DirectX 8 compatible version of CCS64 V2.0 BETA (Win-32). Please visit the Emulators section of my web-site, at the bottom of this page, to download it.

Per Hakan Sundell is busy developing CCS64 V3.0 BETA (Win-32), which uses Direct3D 9 as its engine, and will include various enhancements (it also allows for switching between windowed/full-screen modes). Since the emulator works as a single task and uses Direct3D 9, this will make it Windows XP compatible.

My Web-Site: http://homepage.ntlworld.com/stuart.toomer
_________________
Regards,

Stuart Toomer.


Last edited by stuartt on Fri May 30, 2003 8:01 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sokratekk
Forum Junkie
Forum Junkie


Joined: 28 Jan 2002
Posts: 433
Location: Germany

PostPosted: Fri May 23, 2003 7:02 pm    Post subject: Reply with quote

´Page cannot be found ´-error Sad
_________________
---- http://de.geocities.com/sokratekk.rm ----
THE C64 CD-ROM!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
stuartt
Lemon64 Donator!
Lemon64 Donator!


Joined: 02 Jan 2002
Posts: 594
Location: Cleveland, England.

PostPosted: Fri May 23, 2003 8:23 pm    Post subject: Reply with quote

Corrected now!!! A minor caps mistake.
_________________
Regards,

Stuart Toomer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mayhem
Team Member
Team Member


Joined: 28 Dec 2001
Age: 38
Posts: 4755
Location: London

PostPosted: Fri May 23, 2003 9:10 pm    Post subject: Reply with quote

Not bad... I also notice it now supports 8k crt files without reseting itself...
_________________
Mayhem64 - for all your cartridge needs!

"My aim is to produce games that have graphics and audio that will rape your eyeballs and take your ears from behind with a strap-on" - Jeff Minter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Skyrider
Groupie
Groupie


Joined: 09 Jan 2002
Age: 33
Posts: 234
Location: 60° 23' N, 5° 20' E

PostPosted: Sat May 24, 2003 12:17 pm    Post subject: Reply with quote

This post gives me a creepy feeling of deja vu...
Back to top
View user's profile Send private message MSN Messenger
Christian Johansson
C64 Enthusiast
C64 Enthusiast


Joined: 30 Dec 2001
Posts: 967
Location: Sweden

PostPosted: Sat May 24, 2003 1:52 pm    Post subject: Reply with quote

I use Windows 98 and for me CCS64 2.0 works perfectly. I think I use DirectX 7 but I'm not completely sure. I was first thinking about installing DirectX 8 from the Windows Update site but I never came to doing this and now when DirectX 9 is instead shown on the Windows Update site, I have thought about installing that version instead. Do you mean that I shouldn't do this if I want CCS64 to still work properly? I wasn't aware of any such problem with CCS64.

/Christian
Back to top
View user's profile Send private message
stuartt
Lemon64 Donator!
Lemon64 Donator!


Joined: 02 Jan 2002
Posts: 594
Location: Cleveland, England.

PostPosted: Sat May 24, 2003 2:18 pm    Post subject: Reply with quote

Upgrading your DirectX version (DirectX 9.0a is the latest) shouldn't cause any problems - in fact, DirectX 8.0 and later work faster and have more bug-fixes, so upgrading is always recommended.

Of course, if using Windows 95, the last version of DirectX you can use is DirectX 8.0a. Otherwise, upgrading isn't a problem. If you are using Windows ME/XP, create a System Restore point before upgrading, in case there are any compatibility problems after the upgrade.

I can run the Original and the DirectX 8 version of CCS64 and VICE on my DirectX 9.0a PC, and of course, the new CCS64 V3.0 BETA (which is currently in development).
_________________
Regards,

Stuart Toomer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lasse
C64 Games Programmer
C64 Games Programmer


Joined: 07 Jan 2002
Posts: 2181
Location: Finland

PostPosted: Sat May 24, 2003 6:51 pm    Post subject: Reply with quote

Hmm.. given that everything an emulator needs should be possible to implement using DirectX 2 or 3, or even without DirectX altogether (DibSection API) I don't really see the benefit Very Happy

But I trust PHS & others know what they're doing..
Back to top
View user's profile Send private message Visit poster's website
MTR1975/FSP
THC researcher
THC researcher


Joined: 28 Dec 2001
Posts: 869
Location: Scotland, Edinburgh.

PostPosted: Sat May 24, 2003 8:01 pm    Post subject: Reply with quote

PS: Stuartt - can u ask nicely/pester PHS to put that SCROLL LOCK/1541 STATUS INDICATOR back into the EMU - if D3D9 supports it! I've missed it! Razz
_________________
Om.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lasse
C64 Games Programmer
C64 Games Programmer


Joined: 07 Jan 2002
Posts: 2181
Location: Finland

PostPosted: Sat May 24, 2003 9:20 pm    Post subject: Reply with quote

As far as I remember, it's not a DirectX feature but rather supported by some function in the Win32 API (don't remember the name, but it should be possible to find with a google search)
Back to top
View user's profile Send private message Visit poster's website
MTR1975/FSP
THC researcher
THC researcher


Joined: 28 Dec 2001
Posts: 869
Location: Scotland, Edinburgh.

PostPosted: Sat May 24, 2003 9:57 pm    Post subject: Reply with quote

Oh right... Wink I thought I'd read somewhere that the reason the scroll lock/1541 light disappeared was something to do with DX version the last CCS was designed to be compatible with...

So why did it get removed? Does anyone know? ... I know it's a partially trivial function, but a nice one, nonetheless.
_________________
Om.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Laze Ristoski
Groupie
Groupie


Joined: 18 Jun 2002
Age: 27
Posts: 259
Location: Macedonia

PostPosted: Sun May 25, 2003 7:22 am    Post subject: Reply with quote

FunkScientist wrote:
So why did it get removed?


In order to enable/disable the keyboard's LEDs, one has to write to the I/O ports. However, the kernal of NT doesn't allow the program to write to the I/O ports directly (probably to ensure system stablility). This still works in 9x kernal.

PHS was hoping that MicroShit will add a function in DX to change the state of the LEDs without accessing the I/O ports directly.
Back to top
View user's profile Send private message
MTR1975/FSP
THC researcher
THC researcher


Joined: 28 Dec 2001
Posts: 869
Location: Scotland, Edinburgh.

PostPosted: Mon May 26, 2003 9:26 pm    Post subject: Reply with quote

Thanx for the info guys. Better to be informed than ignorant! Wink
_________________
Om.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lasse
C64 Games Programmer
C64 Games Programmer


Joined: 07 Jan 2002
Posts: 2181
Location: Finland

PostPosted: Mon May 26, 2003 10:41 pm    Post subject: Reply with quote

This piece of code will toggle the Scrolllock led (tested successfully under NT4.0)

Code:

#include <windows.h>

int main(void)
{
  keybd_event(VK_SCROLL, 0x45, KEYEVENTF_EXTENDEDKEY,0);
  keybd_event(VK_SCROLL, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,0);

  return 0;
}


Other keys can also be used but NumLock will be possibly of trouble, as it needs to use SetKeyboardState instead, but that won't work on NT/2000/XP (not sure, but this is what I read on google)
Back to top
View user's profile Send private message Visit poster's website
Laze Ristoski
Groupie
Groupie


Joined: 18 Jun 2002
Age: 27
Posts: 259
Location: Macedonia

PostPosted: Wed May 28, 2003 7:02 am    Post subject: Reply with quote

According to MSDN 6.0, this function (keybd_event) has been superseded. SendInput should be used instead.

If you have MSDN 6.0, go to the search tab and type "keyboard leds" (together with the quotes). You'll get 3 topics. Select the middle: "Output Data"...
According to this, DirectInput already supports a way to turn the LEDs on/off. However, I couldn't understand the stuff completely.
This info is also available in the DX SDK.

-

I've made a proggy the makes a LED show (by writing to the I/O ports). In case it detects NT kernal, it gives an error message. A friend of mine has tested it under XP, and noticed the message. Later he said that he succeeded to run the proggy by changing some settings in the Control Panel (he said there was an option to use the 9x kernal). However, I've never had XP installed, thus I have no idea if this is possible. I mean, I have no idea if he really did it, or maybe just wanted to show Cybby his hacking abilities. Very Happy

-

Oh, almost forgot: Who's that lovely lady with the Lemon T-shirt ? Razz
(I don't expect answer Smile)
Back to top
View user's profile Send private message
Lasse
C64 Games Programmer
C64 Games Programmer


Joined: 07 Jan 2002
Posts: 2181
Location: Finland

PostPosted: Wed May 28, 2003 10:07 am    Post subject: Reply with quote

Ah, thanks for further info / clarification.

In any case we can conclude, that there are just excuses for not adding LED support Very Happy
Back to top
View user's profile Send private message Visit poster's website
loadstareightone
C64 Enthusiast
C64 Enthusiast


Joined: 22 Apr 2003
Age: 24
Posts: 709
Location: Worcester, MA USA

PostPosted: Sat May 31, 2003 7:18 pm    Post subject: Reply with quote

FunkScientist wrote:
So why did it get removed? Does anyone know? ... I know it's a partially trivial function, but a nice one, nonetheless.


Er, if I'm thinking of the same function, it's still there, and in fact I accidentally ran into it last night. During disk emulation, press F9, and then F9 again. You can enable it through this menu. Hope that's the right feature Smile
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
stuartt
Lemon64 Donator!
Lemon64 Donator!


Joined: 02 Jan 2002
Posts: 594
Location: Cleveland, England.

PostPosted: Sat May 31, 2003 8:07 pm    Post subject: Reply with quote

The Scroll Lock LED feature is implemented in CCS64 V2.0 BETA DOS and CCS64 V3.0 BETA (Win-32) - I asked Hakan nicely if he would re-implement this feature in CCS64 V3.0 BETA (Win-32) and he kindly has done (I sent him Lasse's code). Please download/use the latest CCS64 V3.0 BETA (Win-32) if you want the Scroll Lock LED feature in a Win-32 version of CCS64.

The reason why the Scroll Lock LED toggling feature couldn't be implemented in CCS64 V2.0 BETA (Win-32) is because DirectX doesn't support this (since it is direct hardware accessing, and DirectX doesn't allow this, to ensure system integrity).
_________________
Regards,

Stuart Toomer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
MTR1975/FSP
THC researcher
THC researcher


Joined: 28 Dec 2001
Posts: 869
Location: Scotland, Edinburgh.

PostPosted: Sun Jun 01, 2003 5:07 pm    Post subject: Reply with quote

loadstareightone wrote:
FunkScientist wrote:
So why did it get removed? Does anyone know? ... I know it's a partially trivial function, but a nice one, nonetheless.


Er, if I'm thinking of the same function, it's still there, and in fact I accidentally ran into it last night. During disk emulation, press F9, and then F9 again. You can enable it through this menu. Hope that's the right feature Smile


Erm... the status page? This only displays the current status of the emulated 1541 LED, and is not an option you can toggle to switch the scroll lock light feature on/off. It is definetly not supported in the latest CCS v2.0.

However... I'm gonna try out the 3.0 beta soon... wonder what's new!

PS: Thx to Lasse/Laze for the tech info, and Stuartt for asking PHS to reinstate the SL led. Smile

Edit:
FunkScientist wrote:
However... I'm gonna try out the 3.0 beta soon... wonder what's new!

Duh... it not released *yet*, is it?! :oops: Laughing
_________________
Om.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Commodore 64 (C64) Forum Index -> New Releases All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
Tip: Get C64 Forever for super-comfy C64 emulation with pre-installed games, demos and other goodies!


Powered by phpBB © 2001, 2005 phpBB Group