Mac OS 8.1 works fine with ShapeShifter 3.11 (even without a 68040 processor but this requires a bit of hackery to do); to use higher versions of Mac OS you need to use an emulator like iFusion with a PPC accelerator card. - With classic Amigas that is; can't answer with regards to AmigaOS 4.