I didn't think you would
I didn't think you would
in other words, it's too complicated and if you keep learning more about C, you'll eventually get down to the nitty gritty and find out you can create whole operating systems <cough>NT</cough> with it...
It is quite apparent that you do not have a basic concept of Von Neumann architecture and definately none of the x86 variety. I seriously recommend you do a google search for stuff before you ask questions that make you look very stupid.Quote:
but using what aspect of the language - i mean how?
I personally would of used a real operating system, such as linux; however, I guess to each his own :p.Quote:
you'll eventually get down to the nitty gritty and find out you can create whole operating systems <cough>NT</cough> with it...
In C/C++ you can program with functions like _inp/_outp, setjmp, signal, _pipe etc.
In C#, you cannot ( or not as easily ) because this level is abstracted or hidden.
C is a lower level language than C# in this case.
oh, there are certain non standard ways of doing it, mainly because protected operating systems attempt to shield almost all developers from the hardware access(this is why you have to go through the OS to get access to serial ports). The reason I said look up I/O is that there is a concept called 'memory-mapped I/O". memory-mapped I/O is when a hardware's I/O ports are mapped to specific memory addresses. now what do pointers do :)?
Reading the 4 points will teach you almost nothing about system architecture. You need to go further in depth before you are capable of understanding this thread.Quote:
Ok googlee for that guy and read about his 4 points
because our axioms that support our theorems are beyond you capability currently. I already hinted at one standard way of working on certain I/O devices.Quote:
I might not be capable of undersanding this thread, but you also seem to be incapable of supporting your statements.
Just about any time you do something low-level, it will be system specific. Generality is a luxury of high-level abstraction. So, while the concrete applications of C/C++'s low-level functionality are system specific, the mechanisms (memory manipulation, mainly) that allow the low-level functionality are standard.
as I said, Memory-Mapped IO tends to be a standard way of mapping IO devices in modern systems(atleast it used to be), just one of the reasons the assembler in and out mneumonics exist.Quote:
you can't do anything that low level and the thing the guys said you can