Original Post
First of all, I want to know what exactly is necessary to make an operating sys. What I mean is, would you have to write your own compiler or something like that? Or would you write it in a dos compiler? What would it have to compile into, a regular dos-format exe or what? This really confuses me.
Of course, it wouldn''t make sense to write an os that wasnt'' a gui. So, how would you implement that? My thoughts are: that either (1) You would have all the gui operations compiled into your program, and any non-static variables would somehow be loaded into the program at run-time, such as pointers used by the gui and such. (2) You would pass the addresses of all the functions used by the gui into your program at run-time, as well as any non-static variables. Now, by static, I mean stuff like what you would find in a .ini file or something, non-static is window data, user names, i.e. anything loaded into ram.
Third. Windows. Is it legal (is it even possible) to make an o.s. that is compatible w/ windows programs?
Fourth. What would be necessary for the os in order to compete with windows on a scale larger than that of linux or unix or macOS?
farmersckn
S