cmorley wrote: ↑ Wed Feb 16, 2022 5:00 am
For RTool JGH gave me:
MODE7:IFHIMEM>&7C00:PRINT "Must run on BBC I/O processor":END
I don't think that will distinguish between (i) a co-pro and (ii) a Master in Shadow mode (*SHADOW0) -- but in my case it doesn't matter because if I'm on a Master in Shadow mode I'll need to run the same code as if I'm on a co-pro, in this specific case, because the particular routine in my program will have to avoid reading/writing directly from/to main screen RAM (both when the program is running on a co-pro and when it's running on a Master in Shadow mode).
See https://stardot.org.uk/forums/viewtopic.php?p=349966#p349966