GDT control is how I would like it to be but there are some issues, namely:
1. far jumping to flush the code segment crashes the whole os(not good)
2. Segment selectors seem fine apart from the code segment thing
3. some administrative issues regarding the structure of the project which is slowly making things painful
renamed .asm files to .s extension
Makefile:
Building .s first over
Bochs conf:
changed display server to x instead of sdl
Changed function defs to not have the parameter names for less confusion