Page 1 of 1

Switch & Boehm GC

Posted: Wed Jul 11, 2018 4:32 pm
by brucey
Hi there!

I've been asked to look into adding Switch/NX as a target platform for BlitzMax ( https://github.com/bmx-ng ).

I don't foresee any major obstacles other than getting our garbage collector (Boehm) working with it.
The bdwgc source appears to have had some Switch related stuff added from a Unity repo, but presumably against the official SDK.
I'm currently looking looking at setting the roots. For DATAEND, I have __bss_end__, but I'm not sure what to set for STACKBOTTOM.
If someone would be kind enough to point me in the right direction, I'd be most grateful.

Although the devkit headers reference pthreads, I assume I need to rather use kernel/thread.h ?

Thanks in advance,

Brucey