Hi Uxn folks,
I created a simple memory management unit for the Uxn VM.
It provides support for dynamic memory allocation (malloc/free style), and it's done using a virtual memory approach so to access the allocated memory LDA/STA works.
If anyone's interested, I will explain more. There's a README and a rough draft of a DESIGN doc (linked from the README).
https://codeberg.org/wimvanderbauwhede/uxn-mmu
uxn-mmu
A simple memory management unit for Uxn, to support allocate/deallocate paged virtual memory.Codeberg.org
Devine Lu Linvega
in reply to WimⓂ️ • • •WimⓂ️
in reply to Devine Lu Linvega • • •I have two designs, the one I published is transparent but less good at reclaiming deallocated memory.
How do you get rid of holes on deallocation?
Devine Lu Linvega
in reply to WimⓂ️ • • •WimⓂ️
in reply to Devine Lu Linvega • • •