More portable version

3 posts were split to a new topic: Porting Kaleidoscope to other hardware