Hello,
My MemPool for real-time systems was updated again...
Look at On Time RTOS-32 Supported Hardware and Software
http://www.on-time.com/rtos-32-compatibility.htm
It supports Borland Delphi 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 (.NET), 9.0
(2005), 10.0 (2006), 10.5 (2007)
So, i have just rewritten my MemPool to support Borland 7.0, 8.0 (.NET),
9.0 (2005), 10.0 (2006), 10.5 (2007), you can download again my MemPool
zipfile version that is named MemPool.zip and that is compatible with On
Time RTOS-32, the other zipfile version that supports generics is called
MemPool_generics but it is not compatible with On Time RTOS-32.
Please download again my new MemPool for for real-time systems here:
https://sites.google.com/site/aminer68/mempool-for-realtime-systems
Description:
Real-Time Memory Management
In Delphi and FreePascal, memory management is normally performed using
getmem,allocmem, freemem, reallocmem, etc. The run-time system's heap
offers great flexibility and efficiency, but it cannot fulfil real-time
requirements. The run-time requirements are non-deterministic. In
addition, they may require blocking task switches, which makes them
unusable for interrupt handlers.
MemPool that uses generics offers memory management with real-time
capabilities through Memory Pools. A Memory Pool is an isolated heap
with data buffers as objects of equal size. Any number of memory pools
can exist simultaneously. A pool is initialized once and allocated a
certain number of buffers as objects. Thereafter, buffers
as objects can be allocated and deallocated from the pool under
real-time conditions.
You can use it with Delphi 2009 and up on the following RTOS:
Win32 API Compatible RTOS for 32/64-bit x86 Embedded Systems
On Time's royalty-free hard real-time embedded operating system for
32/64-bit x86 CPUs implements a Windows subset kernel in only 16k of
memory. It provides about 400 Win32 API functions and can load Windows DLLs.
Read more here:
http://www.on-time.com/rtos-32.htm
http://www.on-time.com/rttarget-32.htm
And please look at test.pas demo inside the zipfile - compile and
execute it...
Language: FPC Pascal v2.2.0+ / Delphi 2+:
http://www.freepascal.org/
Operating Systems: Win , Linux and Mac (x86).
Thank you,
Amine Moulay Ramdane.