Skip to main content
13 events
when toggle format what by license comment
Nov 24, 2020 at 17:43 history edited user3840170 CC BY-SA 4.0
wording, markup, KiB, ×, −
Nov 7, 2018 at 14:33 answer added Tommy timeline score: 3
Nov 7, 2018 at 14:29 comment added Tommy Well I got my answer working forwards from github.com/open-watcom/open-watcom-v2/blob/… but obviously miscalculated sizeof(heapblk). If I can find my error I'll turn this into an answer.
Nov 7, 2018 at 8:09 comment added Luke @Tommy Just tested with Watcom 11.0c, definitely have to subtract 32 bytes.
Nov 7, 2018 at 8:02 comment added Luke @Tommy Yes, definitely 32 bytes. Are you in "compact" memory model? I'm not on OpenWatcom, but the original Watcom v11.0 (I will try to upgrade to 11.0c just in case).
Nov 6, 2018 at 22:42 comment added Tommy Are you sure it's 32 and not 26? I'm looking at the OpenWatcom code, getting 26 by arithmetic, and failing to find my error.
Nov 6, 2018 at 15:08 answer added Martin Rosenau timeline score: 7
Nov 5, 2018 at 10:47 history edited Stephen Kitt CC BY-SA 4.0
Fix the title too.
Nov 5, 2018 at 9:37 history edited Stephen Kitt CC BY-SA 4.0
16-bit size_t means we can request at most 65535 bytes, thanks Ross Ridge.
Nov 5, 2018 at 9:28 comment added PaulHK good point, so malloc(0x10000) == malloc(0x0) on this system.
Nov 5, 2018 at 7:27 answer added PaulHK timeline score: 14
Nov 5, 2018 at 7:20 review First posts
Nov 5, 2018 at 8:43
Nov 5, 2018 at 7:18 history asked Luke CC BY-SA 4.0