Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I had a nice, long post to make before accidently pressing a macro key on the side of my keyboard which was bound to F5. I really don't want to type it all again, so I'lll make this short:
Does Bochs enable A20 or is my code to check whether it is enabled flawed?
It is a little more correct to say that, in it's default config, bochs "sets" and ignores A20.
If you recompile bochs with a modified config file, then it will leave A20 unset and handle all A20 stuff -- but bochs has to check whether A20 is set or not on every single simulated mem access, so it runs much slower then.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
Grub loads your kernel to whatever address is specified in the multiboot header, which must be no lower than 1 MiB. (Most people choose to link and load their kernel at 1 MiB for convenience though)