Ok i messed around with it for a little while, and when i use gs, i get a general protection fault. Could you do a quick example please.

You talk about setting the base and limit of gs. Is this a PM thing cuz ive never heard of it while using real mode before.