Open jj01101010 opened 4 years ago
But i have to say your tutorial series is GREAT pls never leave this project
Hey, I have the same problem. If I comment out the sti call, it doesn't crash, but if I don't, as soon as it calls it, VirtualBox crashes. Were you ever able to fix this? Anyone can help?
Ah! I found out what was happening. In my gdt constructor, I had inverted the indexes of the array I sent to the lgdt
command. After I switched those around, it stopped crashing. Now, I have another problem though. When I call sti
, not only I don't receive any interrupt calls to my HandleInterrupt
function, but after like 5-10 seconds, my screens clear and fills with some weird characters. I'm trying to compare my code with the code in this git repository and, so far, I seem to be matching. I'm sure I'm missing something stupid...
Yeah, I found what I did. In the interrupts.cpp, I set the handlerAddressLowBits twice instead of setting the handlerAddressLowBits and handlerAddressHighBits. Everything is working fine now.
Same issue. Can't seem to fix it.
@HayJayDee @Ilc-Ilia-Developer Is it possible to show your code? Maybe I can take a look.
Does anyone know how to fix this issue?
I resolved following issue via:- -GlobalDescriptorTable::SegmentDescriptor::SegmentDescriptor(uint32_t limit, uint32_t base , uint8_t type) +GlobalDescriptorTable::SegmentDescriptor::SegmentDescriptor(uint32_t base, uint32_t limit, uint8_t type)
mistakenly using base & limit interchangeably
If i execute the line you see above. VirtualBox is crashing and spamming my terminal with many lines but i dont know 1. Why it is crashing and 2. How can I fix this crash
Pls help me i am lost