nickysn
|
9979aa702f
+ added the TP7-compatible pointer variables HeapOrg and HeapEnd, indicating,
|
11 years ago |
nickysn
|
7986d0c2ca
* simplify RegisterTinyHeapBlock by calling InternalTinyFreeMem directly,
|
11 years ago |
nickysn
|
2e0c40d33b
* TinyHeapAllocGranularity changed to SizeOf(TTinyHeapBlock). This fixes a bug
|
11 years ago |
nickysn
|
902c25fafa
+ RegisterTinyHeapBlock: align the start address and size according to
|
11 years ago |
nickysn
|
815bfe0dcf
+ tiny heap alloc granularity moved to a constant TinyHeapAllocGranularity
|
11 years ago |
nickysn
|
14057ef438
* rm EndAddr from the TTinyHeapBlock structure. This:
|
11 years ago |
nickysn
|
21246e973a
* TinyHeapMinBlock defined as sizeof(TTinyHeapBlock), as that's the smallest
|
11 years ago |
nickysn
|
e8c1a44068
* swapped the order of the Next and Size fields in TTinyHeapBlock, because that
|
11 years ago |
nickysn
|
6720f84d24
+ switch to using huge pointers in the tiny heap in the i8086 far data memory
|
11 years ago |
nickysn
|
9a569b9e57
* use P/TTinyHeapMemBlockSize in RegisterTinyHeapBlock as well
|
11 years ago |
nickysn
|
6f8a329b4c
* use pointer arithmetic for doing address calculations, with a newly introduced
|
11 years ago |
nickysn
|
3b9ab33910
* added type TTinyHeapFreeBlockSize, which holds the size of a free memory block
|
11 years ago |
nickysn
|
1dc09538d0
* introduce a type TTinyHeapMemBlockSize, which holds the size of an allocated
|
11 years ago |
nickysn
|
4e2cc365d1
* while loop replaced with a repeat..until loop in InternalTinyFreeMem
|
11 years ago |
nickysn
|
640f6ea300
* return nil in SysTinyReallocMem, when the size parameter is 0
|
11 years ago |
nickysn
|
858efec84e
* handle SysTinyFreeMem(nil) properly (i.e. succeed silently, without writing to
|
11 years ago |
nickysn
|
327a15488e
* generate a run time error 203 in the tiny heap in case there's not enough
|
12 years ago |
nickysn
|
6695c8578f
* set the TinyHeapMinBlock const relative to the pointer size
|
12 years ago |
nickysn
|
f0ada1ccc5
* fixed bug in SysTinyGetMem that caused heap corruption if the free block that's being allocated is followed tightly by an already allocated block
|
12 years ago |
nickysn
|
9312419ce8
* fixed heap block start and size alignment in RegisterTinyHeapBlock
|
12 years ago |
nickysn
|
4fc5900c78
+ added writelns behind { DEBUG_TINY_HEAP} for tracing the tiny heap calls
|
12 years ago |
nickysn
|
c44f760015
* i8086 near heap renamed 'tiny heap', moved to the inc/ directory
|
12 years ago |