EASy68K  
It is currently Sun Apr 05, 2020 10:55 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 23, 2014 3:01 pm 
Offline

Joined: Fri Dec 02, 2011 10:57 am
Posts: 11
Some (maybe) silly questions. I'm planning to develop a very simple multitasking environment over easy68k. My idea is to use the auto-interval option in the hardware window in order to have periodic calls to the task manager. Is there any other way to have periodic interrupts on easy68k?

Also, what happens if an interrupt occurs while some easy68k trap #15 code is executed? Is it interrupted?

Finally, I assume that interrupts are always processed after one instruction. For example, if the 68000 is executing something like move.l (A0)+, (A1)+ and an interrupt happens, either the move.l will be fully executed or not executed at all. Is that true? Can the move.l end in some inconsistent state? Are all the 68000 instructions atomic?

Thanks!


Top
 Profile  
 
PostPosted: Fri Jan 24, 2014 10:12 am 
Offline

Joined: Mon Jan 21, 2013 12:01 pm
Posts: 9
yes,

The 68000 first complete the instruction that was in execution, he dont break in the midle of execution to reply to interruption.


Top
 Profile  
 
PostPosted: Sat Jan 25, 2014 10:33 am 
Offline

Joined: Fri Dec 02, 2011 10:57 am
Posts: 11
Thank you!
And what about the trap #15 as it is implemented in EASy68K? What if an interrupt happens, for instance, while drawing a rectangle or performing a flood fill? Or when waiting for user input through some of the built-in text i/o functionalities?


Top
 Profile  
 
PostPosted: Sun Jan 26, 2014 12:35 am 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1118
Trap #15 routines are not interrupted.

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group