Quote Originally Posted by sapator View Post
Yes you need to initialize your code and tell the BIOS that this is the boot sector. After that, sky is the limit. But afterwards and to start building you kernel I believe if you are not highly familiar with assembly it would be better to continue the OS using C or C++ .
Here is something to get you started (read mostly the os-dev.pdf and then the other schemas).

https://www.cs.bham.ac.uk/~exr/lectu...0_11/lectures/
and how exactly can I define that my OS is a 64x architecture and not 32x or 16x, 8x bits because I want even a simple program in console mode to be 64x with or without a graphical interface.

as an example i will give you if i install on windows 3.11 a 32 bit program it cannot be run because windows 3.11 is (16x) and on modern systems app 64x do not run on (86x) basically i want everything in console mode to use a generic always setting my system with 64x even in console mode.