Switch & Boehm GC

Post Reply
brucey
Posts: 1
Joined: Wed Jul 11, 2018 8:34 am

Switch & Boehm GC

Post by brucey » Wed Jul 11, 2018 4:32 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests