pedrolsazevedo / virtualagc

Automatically exported from code.google.com/p/virtualagc
Other
0 stars 0 forks source link

Add support for info threads #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Since the AGC emulator supports running 10 interrupts it can while
preapting the main thread of execution show the interrupt execution as a
separate thread. It would also be nice to signify which interrupt execution
is running using symbolic names for example in the info part of the thread
data to show if it is the timer4 , keyboard1 interrupt etc. The thread id's
can match the internal interrupt id.  

Original issue reported on code.google.com by ohommes@gmail.com on 20 Jun 2008 at 3:16

GoogleCodeExporter commented 8 years ago
I have added thread support. Now when running an Interrupt routine the info 
threads
shows two threads and the Interrupt service routine is the current active. For 
each
thread the head of the stack is shown. Also the call stack now only show the 
call
stack for the current active thread instead of everything even when in an 
interrupt
routine. As part of the thread info I show a symbolic name of the HW interrupt 
(e.g.
KEYBOARD1 or TIMER4) This way you will immediately see in which interrupt 
service
routine you are running.

Original comment by ohommes@gmail.com on 22 Jun 2008 at 1:27