ghostflame
(Nitya Diksha)
1
Can someone please share a minimal code example of how to get the Inform 6 compiler to output the malloc/mfree opcodes from Glulx?
Bonus points for a demo of how to make a gestalt “query” from Inform 6 (to find out if malloc/mfree are even supported).
DavidK
(David Kinder)
2
Zarf’s Glk and Glulx unit tests are often a good place to look for this sort of thing: https://github.com/erkyrath/glk-dev/blob/master/unittests/memheaptest.inf
3 Likes
ghostflame
(Nitya Diksha)
4
This is what I was looking for, thank you.