Commit Graph

7 Commits

Author SHA1 Message Date
Lephenixnoir 1f290006f1
Scrap some memory and somehow avoid heap fragmentation 2021-08-31 19:18:55 +02:00
Lephenixnoir 34920bbacb
Generalize next-fit strategy over zones 2021-08-25 11:44:07 +02:00
Lephenixnoir fe82cef7c3
Add a powerful profiler (libprof) 2021-08-25 11:09:35 +02:00
Lephenixnoir 96c7a8bb11
Watch unaligned lumps and per-region free heap 2021-08-24 19:12:30 +02:00
Lephenixnoir b9c676ea4e
Support multiple zones in Z_Malloc and add user stack leftover
lumpinfo is now allocated in Z_Malloc because it's needed for some
larger WADs.

More heap is needed to compensate and to support larger WADs fully, so
the unused part of the user stack is added as a second zone.

This makes at least the start of the DOOM Ultimate WAD playable.
2021-07-29 16:45:26 +02:00
Lephenixnoir 29b0bffc21
Initialize memory allocator with 422 kB system stack
Instead of ProgrammerNerd's in-user-stack 256 kB stack which works both
quickly hits its size limit when playing.
2021-07-17 10:50:20 +02:00
ComputerNerd bd6bb43473 Inital commit 2015-04-14 19:16:51 -05:00