Ok I believe I found some confirmation for issue one. My initial thought seems to be right. The information is placed in memory, and a signal is sent to the device's port, and the device does it's work, no BIOS is needed at all.
http://joelgompert.com/OS/lesson7.htm
If anyone has links to more in depth explinations I'd love to see them.
User Profile
Collapse
-
Hero Doug replied to HOw does the boot sequence work, and how does the OS communicate with the hardware?in GeneralNepomuk, thanks for the reply, but the question remains unanswered. The wikipedia article linked to states that windows preserved the "single privilege level model that was used in real mode"; in the second link under "Virtual V86 extension" it states
This suggests that the OS has to emulate the hardware access, but it doesn't state how it emulates it, and none of the links state how the CPU actually...Leave a comment:
-
Hero Doug started a topic HOw does the boot sequence work, and how does the OS communicate with the hardware?in GeneralHOw does the boot sequence work, and how does the OS communicate with the hardware?
A friennd and I were talking about OS development last night and a few questions were raised that need some clarification. I did the usual search and it turned up the usual garbage, so I'm hoping someone here has an answer, or the link to an answer.
Issue One: How does the operating system communicate with the hardware in protected mode?
My friend said it was through the BIOS, however I've read numerous texts stating... -
Hero Doug replied to Is there a way to make a module for an app without it being a .dll or .so file?in CYeah that's quite logical and makes sence, thanks for the tip.Leave a comment:
-
Hero Doug replied to Is there a way to make a module for an app without it being a .dll or .so file?in CI was thinking of checking the environment variable so I wouldn't have to do any modification to the code.
I think I've gathered enough info to continue looking. I'll definately have to round up multiple compilers to develop a loader class, but I don't think it's going to have me too stressed out, in the end it (being able to load modules on demand without causing developer headaches) should be fairly generic which is what I want.Leave a comment:
-
Hero Doug replied to Is there a way to make a module for an app without it being a .dll or .so file?in CAlright, I think I'm on the right path now.
I should be able to look at the environment variables to tell what operating system it is, then call the approproiate system API to dynamically link the library into the address space.
I found a resource (here that brings up an interesting point that different compilers and even different compiler versions may not be able to compile compatible libraries becaue their vtable...Leave a comment:
-
Hero Doug replied to Is there a way to make a module for an app without it being a .dll or .so file?in CThe objection to using .dll or .so files is that they have be linked to the application in order to be able to use them? I'm basing this off the fact thta when you want to install a PHP module you have to recompile PHP with -enable <modulename>
When building this application I obvisouly won't know what other modules developers will make and won't be able to hardcode the inclusion, so it'll have to be dynamic.
I'll...Leave a comment:
-
Hero Doug replied to Is there a way to make a module for an app without it being a .dll or .so file?in CI guess that may have been a bit vague, sorry.
For an environment I mean that I want one main controller to set up all environment variables and permissions, then handle the actual request being made (maybe it's writing a file). When the environment starts up I want it to scan a list of modules, and if the module is enabled, I want it to be loaded, otherwise, I don't want it (the module) taking up memory.
For a module,...Leave a comment:
-
Hero Doug started a topic Is there a way to make a module for an app without it being a .dll or .so file?in CIs there a way to make a module for an app without it being a .dll or .so file?
I was wondering (besided using PHP ;) what in C++ could provide similar functionality to PHP's include();
In PHP you canjust type include() almost anywhere and that file will be included dynamically. It's nice because you can check if it needs to be included on a file by file basis, which is nice because it keeps things compact.
Right now the only similar solution I see in C++ is the #include directive, however that... -
Hero Doug replied to Difference in coding for mod_python, CGI python, the regular python interpreter, etcin PythonThanks for the reply oler1s.
It seem's that python may not be the most web friendly when it come to setting up an environment.
My biggest concern was knowing how portable the code I write would be. It would be ideal to use the code I write in a desktop app or on the web without modification.
By the sounds of it using Python on the web shouldn't be too difficult. I'm thinking a specialized front-controller...Leave a comment:
-
Hero Doug started a topic Difference in coding for mod_python, CGI python, the regular python interpreter, etcin PythonDifference in coding for mod_python, CGI python, the regular python interpreter, etc
I'm looking at Python and noticed that there's a few way's to use Python for web development.
If I write some code for a system using mod_python will it run unaltered in CGI mode and from the interpreter? Or are modifications required? If so, how drastic?
Thanks for your time. -
Excellent point. I'll change it, still seem's like there should be a better way though.Leave a comment:
-
From what I gathered they all had a value, but I wasn't too sure.
I'm making a small calculator app to learn the basics so there is a chance (although rather small) that the user may enter the inatilized value.
I'm thinking that using a null value would be the best option, because if the user enteres a null value the app will just ask for their number, as it should. (Is this setting myself up for distaster?)
...Leave a comment:
-
Posting Javascript question's in the PHP forum won't get you any help. PHP has nothing to do with Javascript besides giving it information. PHP's job is over once the information is displayed on the browser, then Javascript is working.
Post your question WITH CODE for help.Leave a comment:
-
Checking for an Empty Variable
Sorry for the easy question but I can't find the answer anywhere.
I'm not sure that there'll ever be an empty variable, but I want to know if the variable's been modified since it was first declaired.
This is what I'd like to do
...Code:// Declare variable int CurrentNumber; main() { // If variable is empty/unmodified do something // Else If variable -
No activity results to display
Show More
Leave a comment: