EASy68K  
It is currently Thu Sep 21, 2017 7:32 pm

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Reduce the CPU workload
PostPosted: Fri Oct 10, 2008 8:15 pm 
Offline
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1046
The trap task 23 Delay causes Sim68K to release the CPU during the delay. Inserting a delay into a loop will greatly reduce the CPU workload. In the clock example programs that ship with EASy68K inserting a delay of 1/100 second in the delay loop reduces the CPU workload from 100% to less than 1% on my system.

The CPU is also released when waiting for keyboard input.

_________________
Prof. Kelly


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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