on-internet
← Community

Real-Mode x86 ASM: How are the Basics Done?

Stack Overflow ·

I'm currently reading the boot.s file in the source for the first ever Linux kernel (assuming that 0.01 is indeed the first public release). I know C and ASM, the latter considerably less than the former. Even so, I seem to be able to understand and essentially grasp the code in the source files. This file has me confused though. I now realise that's because it's in real mode, not protected mode. Needless to say, I've never seen ASM code written in real mode before. Protected mode was the defacto mode x86 OSes ran on before I was even born, so it's to be expected. Here's a routine I want to co

Comments

Sign in or sign up to comment and upvote.

No comments yet.