Is it really necessary to make UASM code dependant on Microsoft C runtime? I think the feature could be implemented with custom code touching each page. That's just 1 extra instruction per page when there are few pages, or very small loop otherwise. UASM already has all the information needed to generate such code, probably with less runtime overhead than __chkstk involves.
From https://github.com/Terraspace/UASM/blob/master/procJWasm.c:
Is there a more detailed info what gets wrong with listing, when stack probe enabled?
When STACKPROBE is disabled, I think there should be an error if function declares more than 4KB of local variables.
When enabled, the STACKPROBE feature uses the __chkstk from Microsoft's C runtime library:
Is it really necessary to make UASM code dependant on Microsoft C runtime? I think the feature could be implemented with custom code touching each page. That's just 1 extra instruction per page when there are few pages, or very small loop otherwise. UASM already has all the information needed to generate such code, probably with less runtime overhead than __chkstk involves.