| ??? 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 |
| Topic | Author | Date |
| 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 |



