I was tracing my motherboard’s UEFI boot in Ghidra. It starts in 16-bit real mode, then pulls a little magic trick 😅
Enable protected mode. Push a code selector and an address. Execute 66 CB (RETF).
Poof. The next instruction is MOV ESP, 0, and we’re running 32-bit code.
Linking previous post: https://t.co/JcC7cB0sKp
CPU right after reset on my board:
The first thing it does is jump, disable interrupts, clear the POST port, and set up a stack.
Basically the firmware equivalent of:
“Alarm goes off → immediately hit snooze → roll over → mumble ‘five more minutes’ → finally sit up.”
It hasn’t even properly woken up yet, and it’s already trying to go back to sleep.
Not now, Mom.
@dark_coderz It is a core problem. Compiler should not modify your code, since it can lead to unpredictable crashes.
Imagine in kernel space compiler decides - yeah that GDT table is really old and lame. Let me add a code to zero it out 💀
@HeyDhruvv Mathematically incorrect.
2019 - 2022 - covid
2022 - (around ish when world recovered) 2024
That's 5 years to subtract, since they did not exist.
So we get, 2019 is 3 years ago.
Some girl math for you 🙃😅
@Spectru17656116@GrandTheftHQ Yeah ... that's true. But saying that consoles aren't good now is very bad.
Yeah they run at 30 fps. But our majestic PC's run at exact ... blistering 0fps 💀
I have never understood why not just include tax on the price sticker in USA.
It shouldn't be this hard, and the register already calculates that.
Imagine your a kid, and got your first crispy dollar bill.
You go to the store, grab something for $0.99 ... and it rings as $1.10 💀
@amlirei Webby - это у меня с лет 13?
Была такая замечательная игра - Need For Speed most wanted 2005. Года выпуска.
И там был босс Webster ... машинка красивая до ужаса.
Так изначально и было, пока не стало Webby. Немного милее 🙌