![]() |
![]() |
#1 |
Registered User
Join Date: Dec 2018
Location: Earth
Posts: 1,117
|
Some RawKey work for the QuitKey in some game but not in another ?
Hi Folks.
Some stange thing i found ..... Usually i use the HELP key as my "Quitkey" (Rawkey $5F) in WHDLoad, but a few games use the HELP key for some functions, so why not use the PAUSE KEY (Rawkey $ef) instead. (i thought) Well, the stange thing is, it works in some games but not in others ![]() For example. it works for Chaos Engine OCS but not for Civilization DE. Why ? When i use JST to load the exact same Civilization.slave the PAUSE Key works as QuitKey, but not with WHDload. ![]() Why is that ? Any Ideas ? Thanks ![]() Last edited by Torti-the-Smurf; 16 June 2024 at 17:05. Reason: TOPIC NAME TYPOS: Some RawKeys work as the QuitKey in some Games but not in others ! |
![]() |
![]() |
#2 |
Registered User
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 935
|
A non-technical note:
IT can only surmount what's there, not create a new instance. Unless the title structure is documented, you may not have any leverage on exiting. (Medicine) Or maybe CODE is a Logical Hypothesis only and independent of Platform and standard. I'm feeling silly. ![]() |
![]() |
![]() |
#3 |
Norbert
Join Date: Jan 2022
Location: Poland
Posts: 140
|
|
![]() |
![]() |
#4 |
Registered User
Join Date: Dec 2018
Location: Earth
Posts: 1,117
|
Hmm, i am using a PC keyboard on the Mist/er and Amiga Test Kit shows me the
"Pause key" as ef (Quitkey=$ef) and it works mostly, but not with all games. With JST it works on all (even with the same slave) So, maybe WHDload does not support PC keyboards fully, (depending on the slave) but JST does ? Hmm; i have to ask Wepl or JOTD, i guess ![]() Thanks guys ![]() PS: Tried the same thing in WinUAE... I made PAUSE/BREAK the QuitKey and it worked for Chaos Engine OCS but not for CivilizationDE, just like on the Mist/er. Last edited by Torti-the-Smurf; 16 June 2024 at 18:17. Reason: adding PS: |
![]() |
![]() |
#5 |
Registered User
Join Date: Oct 2021
Location: England
Posts: 1,318
|
think im using the Numpad Enter Key for my setups that use pc keyboard, works so far.
|
![]() |
![]() |
#6 |
Registered User
Join Date: Dec 2018
Location: Earth
Posts: 1,117
|
ENTER on the Numpad is a key that exists on a real Amiga Keyboard.
It can be found on the Sheet that Nor Bert had posted above. ($43) PAUSE/BREAK did not exist on a real Amiga Keyboard, thats the difference. ENTER on Numpad is also used in some games like Flightsims; thats why a QuitKey like PAUSE/BREAK would be really neat ![]() Like i said, it works on some games but not in others. (50/50) But works 100% with JST. (with the exact same slave) So there must be a difference how WHDLoad and JST handle this. hmmmmmm |
![]() |
![]() |
#7 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 7,047
|
$EF is not a valid key code. Key codes go from $00 to $7F. The $80 bit is the "key up" indicator, i.e. it is added to the code when you stop pressing the key.
Try $6F for pause. |
![]() |
![]() |
#8 |
Registered User
Join Date: Dec 2018
Location: Earth
Posts: 1,117
|
Thank you so very much Thomas
![]() That works 100% and now, thanks to you, not a single regular Amiga Key is "highjacked" anymore ![]() That was so nice of you Thomas ![]() |
![]() |
![]() |
#9 |
Moderator
Join Date: Nov 2001
Location: Germany
Posts: 879
|
WHDLoad only quits on keyup events. So anything above 127 would never trigger.
Older WHDLoads have quit via keydowns, but I changed this to avoid that the keyup is received by the OS after returning. Anyhow the beta 19.0 of WHDLoad doesn't allow setting QuitKey >127 anymore (beside quits via joyport buttons). But if the Slave itself performs the Quit then it will usually quit via keydown. This is also the reason for you mixed results. If the Slaves performs the quit then also $ef will mostly work. Last edited by Wepl; 16 June 2024 at 23:14. |
![]() |
![]() |
#10 |
Registered User
Join Date: Dec 2018
Location: Earth
Posts: 1,117
|
That explains everything. Thanks Wepl
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
global quitkey | Thalion | project.WHDLoad | 23 | 28 December 2014 02:05 |
Quitkey setup for dummies? | TroelsDK | project.WHDLoad | 5 | 03 July 2013 13:38 |
Is there a way to run a game with quitkey disabled? | MethodGit | project.WHDLoad | 8 | 29 March 2008 19:36 |
Quitkey in WHDload | killergorilla | support.Games | 2 | 05 April 2004 19:16 |
Quitkey in WHDLoad | Locash | support.Apps | 4 | 26 October 2003 18:11 |
|
|