LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 03-23-2013, 01:06 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Causing signals.


Hi: Please read this:
Code:
SIGNALS
       Most process signals (not system signals SIGKILL, SIGSTOP, SIGCONT) are
       mapped to maskable interrupts. There are six  exceptions:  SIGTERM  and
       SIGHUP  will  terminate  z80-mon,  SIGABRT  will  set  the CPU-wait pin
       active, SIGUSR1 will cause a reset and SIGUSR2 will cause a NMI. Lastly
       SIGTRAP  will force the CPU immediately to dump its state into the file
       .CPU.  This enables online monitoring of the running CPU.
According to this, what signals could I use to cause a maskable interrupt and how do I produce the signal?

Pressing ^C I know I generate SIGINT. But the monitor program, the one whose manual I quote above, is executing a Z80 halt instruccion and then locks the keyboard. Any other means to generate SIGINT?

Last edited by stf92; 03-23-2013 at 01:13 PM.
 
Old 03-23-2013, 02:58 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
To get a list of signals, type on a command-line:
Code:
kill -l
kill may be used to generate any signal.
 
Old 03-23-2013, 03:17 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Never suspected that. Thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
signals mcy Programming 5 04-09-2012 01:16 PM
!!! about signals !!! b2na Programming 4 02-04-2005 12:34 AM
!! about signals !!! b2na General 1 01-03-2005 04:37 PM
Signals Speek Programming 2 12-24-2004 04:58 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration