Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/18/03 14:23
Read: times


 
#58908 - RE: Dual Port Ram memory problems
Responding to: ???'s previous message
You can not check semaphores in software. reading the semaphore bit as a port pin and then reading data has a time lag.

A very easy way I have implemented is to spit the DPM in 'sectors' and associate every sector with two BYTE flags. One is written by the writer 'buffer full' the other written by the reader 'buffer drained' concurrent writes and reads never fail if the test is zero or not.

Erik

List of 16 messages in thread
TopicAuthorDate
Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
      RE: Dual Port Ram memory problems            01/01/70 00:00      
         RE: Dual Port Ram memory problems            01/01/70 00:00      
            RE: Dual Port Ram memory problems            01/01/70 00:00      
      RE: Dual Port Ram memory problems            01/01/70 00:00      
   RE: Dual Port Ram memory problems            01/01/70 00:00      
      RE: Dual Port Ram memory problems            01/01/70 00:00      
         RE: Dual Port Ram memory problems            01/01/70 00:00      
            RE: Dual Port Ram memory problems            01/01/70 00:00      
               RE: Dual Port Ram memory problems            01/01/70 00:00      
                  RE: Dual Port Ram memory problems            01/01/70 00:00      

Back to Subject List