Re: Is it me, or am I missing something on Ports ??
by Marty Geist » 7. Apr 2017, 11:56
Hi All;
Algorithman, Thank You for Your response..
So, Where do I Look for what is causing my problem, where it says "" it is Not Declared in this Scope" What does that mean and where do I look to find why it isn't being declared ??
So, should I look in interrupt.cpp
or interrupt.h or interruptstubs.s ?? For the Problem..
I got it Working Correctly !!! I was basically a spelling Error and a not all of the name where It was supposed to be..
Next is Getting or finding out Why Virtual Box is going to GURU mediation mode and Not Vm mode..
As, in the comments under Part 5, it Says to used Your gdt.cpp and gdt.h files from Your Listing and Hopefully that will fix that Problem !!
I changed the gdt files, but, no change VirtualBox will not fully work, it does Display the "Hello World" but, then it goes into GURU Mediation mode.. And it doesn't show Interrupt "INTERRUPT " message, and I don't know if it's because of the faulty VirtualBox or if it is the Code..
I have tried to install two different versions 4.3 and 5.1 and it does the same for both of them.. I tried it with less memory as suggested by one site, as to why I am getting this error,I went from 64mb to 32 mb..
I Have Isolated the PROBLEM !!! Well not completely..
When I re-run all of the needed files WITHOUT the Interrupt files, THEN VirtualBox WORKS !!! And doesn't go into GURU Meditation Mode..
PROGRESS !!!
Well more progress, I slowly turned on things that I had Commented out and remade (Make)ed, the kernel.o, mykernel.bin, mykernel.iso and the run file, removing kernel.o after each run..
And I was able to Isolate what what Causing VirtualBox to upchuck !!
I was the "" interrupts.Active(); "" line in the Kernel.cpp file !! For some reason when that line line is commented out VirtualBox is OK,
BUT, if I uncomment that line then VirtualBox Upchucks !!
Any Ideas ????
I GOT IT TO WORK !!!!
I Looked at the postings for Interrupt and I saw the changes made on the gdt.cpp file, and it worked..
I didn't know that mistakes in the gdt file would affect the interrupts..
THANK YOU Marty