10 January 2018, 04:52 | #1 |
Registered User
Join Date: Oct 2006
Location: USA
Posts: 1,058
|
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. |
10 January 2018, 08:22 | #2 |
Computer Wizard
Join Date: Aug 2007
Location: Ramberg/Norway
Posts: 928
|
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.
|
10 January 2018, 08:50 | #3 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
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. |
10 January 2018, 09:08 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
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)
|
10 January 2018, 12:50 | #5 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Is the delay the same on all machines? 10 ms seems like an awfully short time to do anything practical.
|
10 January 2018, 12:53 | #6 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
It's 10 s, not 10 ms
|
10 January 2018, 18:44 | #7 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
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.
|
10 January 2018, 19:37 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
|
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. |
10 January 2018, 19:44 | #9 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,336
|
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. |
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 |
|
|