Home arrow Forums
OSDEV Forums  


Spectre
User

Junior Osdever
Posts: 13
graphgraph
Karma: 0  
organizing - 2005/06/14 18:28 How do you go about programming your OS? I find I have dozens of folders and compilers and batch files and no matter how hard i try everything is just a mess. (i use windows)

Is there any specific way you program? like in terms of organizing old source files and stuff.
  | | The administrator has disabled public write access.
OSDEV
Community
Advertisement
   
Dex4u
User

Junior Osdever
Posts: 11
graphgraph
Karma: 0  
Re: organizing - 2005/06/14 23:08 I have to admit i am the same, i may try and tidy the folders, but within days there a mess again, i know there a special program that is for OS Dev that keeps all the ver in order etc, but i can not remember what its called .
<span class='smallblacktext'>[ Edited Wed Jun 15 2005, 04:09AM ]</span>
  | | The administrator has disabled public write access.
DRF
User

Platinum Osdever
Posts: 123
graphgraph
Karma: 1  
Re: organizing - 2005/06/15 07:20 I tend to keep my files quite organised. I start a new folder for each version and set out a list of things that must be done to classify as the end of the existing version and the start of the next.
Each version has a source and compiled directory and inside those is a bootloader, kernel, apps and installer directory.

Of course the easy way to keep things in order is to after each month make a fresh new folder and copy your OS across and leave all the notes and temp files in the old folder for you to compress and archive.

I would find getting a version management program when it's just me working on the OS would be more hassle than it's worth. If there were multiple people working on the OS and uploading updated files all the time it's worth while tho.

Daniel
  | | The administrator has disabled public write access.
pmilosev
User

Junior Osdever
Posts: 7
graphgraph
Karma: 0  
Re: organizing - 2005/06/15 07:43 I agree. It's realy hard to keep things organized.
It's good befor starting anyting to make some kind of a concept about what will you do and how are things related.
After that you can create folders acording to this structure u made.

It is good spending some time on reorganizing stuffs from time to time ....


PC-SandMan^^
"... and justice for all ..."
  | | The administrator has disabled public write access.
smiddy
User

Junior Osdever
Posts: 7
graphgraph
Karma: 0  
Re: organizing - 2005/06/15 07:50 I think it is a matter of priorities and descipline. I tend to be lazy and forget what I've downloaded and what I actually coded, which adds to my lack of documenting changes etcetera. I tend to flood my machine with my code and sadly attempt to document it later, which doesn't seem to work. Though I am still going forward with my own coding.
  | | The administrator has disabled public write access.
DRF
User

Platinum Osdever
Posts: 123
graphgraph
Karma: 1  
Re: organizing - 2005/06/15 10:24 I did forget to mention my temp folders though. Now they are a tip :-s. If I can't find a file where it belongs it's bound to be in a temp file from when I was in to much of a rush to organise it.

Remember thats what search programs are for even if your really bad at organising run a search and hope you remembered the correct file name.

Daniel
  | | The administrator has disabled public write access.
Dex4u
User

Junior Osdever
Posts: 11
graphgraph
Karma: 0  
Re: organizing - 2005/06/15 11:30 Its the same with source code comments, when i start on a new part of my OS, i write all the code neatly and well commented, thats fine if it work as expected, but if it does not, i tend to cut and de-highlight and it ends in a mess, which needs cleaned up , but i never get round to doing .
  | | The administrator has disabled public write access.
root
Moderator

Moderator
Posts: 121
graphgraph
Karma: 1  
Re: organizing - 2005/06/15 15:21 I don't enjoy much playing with autoconf/makeconf which seems to be the standard if you're developing in UNIX-like systems. (+ a an amateur OS project is too small to get busy with them).

However, I enjoy make and the Makefiles. I keep a main one and others for each subdirectories. I noted that if I start a project in a strict manner from the very beginning it usually helps, maybe the code will get a bit messy, but generally a ls -R will look good

If you are developing under UNIX-like OSes, I higly recommend the joe editor. The next on my preference list are (in this order): pico, mcedit and vi.
  | | The administrator has disabled public write access.

A WebArticles site. Sponsored by Evoleto. Motorola V525 / Business Directory / Delaware Incorporation / Home Made Bazaar