| View previous topic :: View next topic |
| Author |
Message |
Lemon64 Donator!


Joined: 02 Jan 2002 Posts: 594 Location: Cleveland, England.
|
Posted: Fri May 23, 2003 5:16 pm Post subject: CCS64 V2.0 BETA (Win-32) - Update News |
|
|
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 |
|
 |
Forum Junkie


Joined: 28 Jan 2002 Posts: 433 Location: Germany
|
Posted: Fri May 23, 2003 7:02 pm Post subject: |
|
|
´Page cannot be found ´-error  _________________ |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 02 Jan 2002 Posts: 594 Location: Cleveland, England.
|
Posted: Fri May 23, 2003 8:23 pm Post subject: |
|
|
Corrected now!!! A minor caps mistake. _________________ Regards,
Stuart Toomer. |
|
| Back to top |
|
 |
Team Member


Joined: 28 Dec 2001 Age: 38 Posts: 4755 Location: London
|
Posted: Fri May 23, 2003 9:10 pm Post subject: |
|
|
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 |
|
 |
Groupie


Joined: 09 Jan 2002 Age: 33 Posts: 234 Location: 60° 23' N, 5° 20' E
|
Posted: Sat May 24, 2003 12:17 pm Post subject: |
|
|
This post gives me a creepy feeling of deja vu... |
|
| Back to top |
|
 |
C64 Enthusiast

Joined: 30 Dec 2001 Posts: 967 Location: Sweden
|
Posted: Sat May 24, 2003 1:52 pm Post subject: |
|
|
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 |
|
 |
Lemon64 Donator!


Joined: 02 Jan 2002 Posts: 594 Location: Cleveland, England.
|
Posted: Sat May 24, 2003 2:18 pm Post subject: |
|
|
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 |
|
 |
C64 Games Programmer


Joined: 07 Jan 2002 Posts: 2181 Location: Finland
|
Posted: Sat May 24, 2003 6:51 pm Post subject: |
|
|
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
But I trust PHS & others know what they're doing.. |
|
| Back to top |
|
 |
THC researcher


Joined: 28 Dec 2001 Posts: 869 Location: Scotland, Edinburgh.
|
Posted: Sat May 24, 2003 8:01 pm Post subject: |
|
|
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!  _________________ Om. |
|
| Back to top |
|
 |
C64 Games Programmer


Joined: 07 Jan 2002 Posts: 2181 Location: Finland
|
Posted: Sat May 24, 2003 9:20 pm Post subject: |
|
|
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 |
|
 |
THC researcher


Joined: 28 Dec 2001 Posts: 869 Location: Scotland, Edinburgh.
|
Posted: Sat May 24, 2003 9:57 pm Post subject: |
|
|
Oh right...  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 |
|
 |
Groupie


Joined: 18 Jun 2002 Age: 27 Posts: 259 Location: Macedonia
|
Posted: Sun May 25, 2003 7:22 am Post subject: |
|
|
| 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 |
|
 |
THC researcher


Joined: 28 Dec 2001 Posts: 869 Location: Scotland, Edinburgh.
|
Posted: Mon May 26, 2003 9:26 pm Post subject: |
|
|
Thanx for the info guys. Better to be informed than ignorant!  _________________ Om. |
|
| Back to top |
|
 |
C64 Games Programmer


Joined: 07 Jan 2002 Posts: 2181 Location: Finland
|
Posted: Mon May 26, 2003 10:41 pm Post subject: |
|
|
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 |
|
 |
Groupie


Joined: 18 Jun 2002 Age: 27 Posts: 259 Location: Macedonia
|
Posted: Wed May 28, 2003 7:02 am Post subject: |
|
|
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.
-
Oh, almost forgot: Who's that lovely lady with the Lemon T-shirt ?
(I don't expect answer  ) |
|
| Back to top |
|
 |
C64 Games Programmer


Joined: 07 Jan 2002 Posts: 2181 Location: Finland
|
Posted: Wed May 28, 2003 10:07 am Post subject: |
|
|
Ah, thanks for further info / clarification.
In any case we can conclude, that there are just excuses for not adding LED support  |
|
| Back to top |
|
 |
C64 Enthusiast


Joined: 22 Apr 2003 Age: 24 Posts: 709 Location: Worcester, MA USA
|
Posted: Sat May 31, 2003 7:18 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
Lemon64 Donator!


Joined: 02 Jan 2002 Posts: 594 Location: Cleveland, England.
|
Posted: Sat May 31, 2003 8:07 pm Post subject: |
|
|
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 |
|
 |
THC researcher


Joined: 28 Dec 2001 Posts: 869 Location: Scotland, Edinburgh.
|
Posted: Sun Jun 01, 2003 5:07 pm Post subject: |
|
|
| 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  |
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.
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:  _________________
Om. |
|
| Back to top |
|
 |
|