You are browsing as a guest. Sign up (or log in) to start making projects!

47m 55s logged

Trying to switch CPU mode in bootloader

I’m currently working on the bootloader to make it from Real Mode (16-bit) to Protected Mode (32-bit)

I’m still stuck with the A20 gate. I need to learn more about Assembly syntax, so it will help me understand how my CPU actually works.

0
70

Comments 5

@scrt401

You can ask bios directly to open a20 gate for you

@scrt401

Or you can use PS2 port to take out the mask and modify it and put it back troug it

@scrt401

Take out byte from 0x92, put it to some lower section of some register like al then use or al, 2 to modify the mask without corrupting the other masks and then put it back to 0x92

@scrt401

I used both to be sure

@Ravduct

@scrt401 I am actually stuck on the transition from Real Mode to Protected Mode, not only the A20 gate.