English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 January 2018, 04:52   #1
rsn8887
Registered User
rsn8887's Avatar
 
Join Date: Oct 2006
Location: USA
Posts: 787
Is Ctrl-Amiga-Amiga something special?

I wonder does the Amiga handle Ctrl-Amiga-Amiga (reset) differently than any other keypresses? I am asking because in Uae4All2, this combination does not reset the emulated Amiga. But in WinUAE, it does.

So I wonder if WinUAE contains some special code such as "if Ctrl-Amiga-Amiga is held, reset the emulator." And therefore, such a reset does not happen naturally whenever the internal keymap that represents the keyboard state shows all these keys as pressed down.

I hope I am getting across what I mean.
rsn8887 is offline  
Old 10 January 2018, 08:22   #2
ma693541
Computer Wizard

ma693541's Avatar
 
Join Date: Aug 2007
Location: Ramberg/Norway
Posts: 650
CTRL-Amiga-Amiga was standard reset keys on all Amiga models if I remember it right, if you say that UAE4All2 doesn't do this, then it does not follow the standard key input when it comes to the real hardware. WinUAE does this.
ma693541 is offline  
Old 10 January 2018, 08:50   #3
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 45
Posts: 3,145
Amiga's Ctrl-A-A is a hardware reset controlled iirc by the keyboard mpu.
So it needs to be emulated or it won't work.
meynaf is offline  
Old 10 January 2018, 09:08   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,793
Yes, it is a special case, when those keys are pressed, keyboard mcu sends reset signal to system (+possible extra keycode + max 10s delay if "reset warning" is supported and in use)
Toni Wilen is offline  
Old 10 January 2018, 12:50   #5
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 3,624
Is the delay the same on all machines? 10 ms seems like an awfully short time to do anything practical.
idrougge is offline  
Old 10 January 2018, 12:53   #6
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 45
Posts: 3,145
It's 10 s, not 10 ms
meynaf is offline  
Old 10 January 2018, 18:44   #7
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,164
Quote:
Originally Posted by Toni Wilen View Post
Yes, it is a special case, when those keys are pressed, keyboard mcu sends reset signal to system (+possible extra keycode + max 10s delay if "reset warning" is supported and in use)
What keyboard waits 10 seconds though? I remember that my A500's seemed to reset instantly, and my A1200 waits about 1 second if there's no handshake, and you have to hold the keys down for about 0.1 seconds or it won't respond at all.
Leffmann is offline  
Old 10 January 2018, 19:37   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 21,793
A500 does not have "reset warning" capable keyboard MCU. A1200 does support it but it does nothing unless it is in use. Also usually most handlers return as soon as possible (for example filesystems quickly flush buffers and returns), 10 seconds delay can only happen if some handler refuses to return.

Check keyboard.device/KBD_ADDRESETHANDLER.
Toni Wilen is offline  
Old 10 January 2018, 19:44   #9
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 2,959
There are a few programs which install reset handlers on Aminet, a simple one is ResetHandler.

I'm not sure whether any filesystems use that feature, but since Kickstart 1.2, trackdisk.device (the Amiga floppy driver) does. It writes its track buffer to disk before allowing the reset to proceed. Or maybe it just waits for any in-progress actual disk write to finish, I forget which. It also refuses to process any further commands, returning the error code TDERR_PostReset.
mark_k is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A1200 when warm only boots after pressing CTRL-Amiga-Amiga StarQuake support.Hardware 12 24 August 2016 17:11
Ctrl + Left Amiga + Right Amiga doesn't work liviux76 support.Hardware 0 21 July 2016 00:02
A1200 ctrl+Amiga+Amiga reboot won't work (and low sound) mawrick support.Hardware 10 28 October 2015 19:28
A600 will not do a warm reset - Ctrl-Amiga - Amiga kipper2k support.Hardware 24 29 September 2009 13:02
Where is Amiga CTRL+c (d, e, f)? hexaae support.WinUAE 7 03 June 2007 11:50

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:01.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06893 seconds with 15 queries