Designing an organized system
Posted: Fri Dec 10, 2004 7:11 am
Okay, well I started working on my os a few days ago. I've actually been spending most of my time looking stuff up and reading tutorials than actually coding. Now that I've readup on the concepts its time for some actual coding :9.
However the first problem I'm facing is 'how should I structure this thing[codewise]'. I like my source code to be _very_ neat, orderly, and properly layered.
I'm writing up a list of functions I'm going to write and basically how this is going to be implemented. I'm trying to keep seperate parts of the operating system SEPERATE to avoid intermingling code.
Here is what I got so far. I'm asking for suggestions and your ideas on the various libraries that should be written.
Updated: 12-10 8:10am est
user_io.c
k_get_char
k_get_str
k_print_char
k_print_str
cursor.c
k_move_left
k_move_right
k_move_up
k_move_down
k_get_current_position
However the first problem I'm facing is 'how should I structure this thing[codewise]'. I like my source code to be _very_ neat, orderly, and properly layered.
I'm writing up a list of functions I'm going to write and basically how this is going to be implemented. I'm trying to keep seperate parts of the operating system SEPERATE to avoid intermingling code.
Here is what I got so far. I'm asking for suggestions and your ideas on the various libraries that should be written.
Updated: 12-10 8:10am est
user_io.c
k_get_char
k_get_str
k_print_char
k_print_str
cursor.c
k_move_left
k_move_right
k_move_up
k_move_down
k_get_current_position