i always was assured that z80 use own ram in sms mode. by this reason i have had a problems with some sms games which require ram initialization. they just stop working after randomly changes in OS code

but if thinking logical, then all should work exactly as is worked - z80 switched to m68k bus, so it should use m68k ram and cart