Home | Reviews | GUIpedia | Forum | Fun500
aguma | TM-DOSOkay, first of all let me say this will be quick, because last time Firefox crashed in the middle.
I have a new idea for a DOS-type operating system with its own disk format (i.e. NTFS,VFAT,FAT32). Since it has no GUI, I decided to post this in 'Other' instead of 'GUIs'.
The main reason I did this was because I got bored of writing GUIs and decided to take a break from Far OS.
Tell me what you think. :) | 2008-08-22 | 5:22 PM |
ksr | Re:TM-DOSI have thought about making a filesystem. I might end up creating one for Reflow (although it would be embedded within FAT, in a single file), similar to how Novix worked.
What were your ideas for an fs? | 2008-08-22 | 5:33 PM |
aguma | Re:TM-DOSI just decided to make one; I didn't have any idea in mind. In fact, right now I'm planning ideas for it. :laugh:
Good luck with reflow! | 2008-08-22 | 5:35 PM |
ksr | Re:TM-DOSThe problem with FAT (and probably others) is that because files are constantly changing in size, they can't reside in memory as a whole block - they have to be split into smaller blocks, which point to each other. To make this worthwhile, the blocks have to be quite large (it's 4KB in FAT32 iirc). But this causes wasted space (not an awful lot of it, but its there) - I right-clicked CONFIG.SYS on my XP setup, which is a 30 byte file, but on disk it uses 4KB (1 block). Now think how many little sub-4KB files you have sitting around, for configuration and such.
Then there's the dreaded defrag - when files get so scattered that the drive is spending more time searching around for blocks instead of actually reading them.
If you could solve any of these problems I'd love to know! :D | 2008-08-22 | 5:44 PM |
aguma | Re:TM-DOS...I was hoping you would have some ideas; that's what I was thinking about lol
I have a sort of lame and pointless idea: when you add data to a file, you move everything else up, and then you write your data. (LOL) That would take up more time than just searching for pointers! | 2008-08-22 | 5:48 PM |
Brandon | Re:TM-DOS*
:)
Your file system is * and you are :). | 2008-08-22 | 6:09 PM |
ksr | Re:TM-DOSOver our heads? :D | 2008-08-22 | 6:10 PM |
Todd | Re:TM-DOSYou could try ext3. | 2008-08-22 | 6:13 PM |
Brandon | Re:TM-DOSYep kyle. Yeah Todd, they should make a DOS ext3 driver!! | 2008-08-22 | 6:20 PM |
jasonwoodland | Re:TM-DOSAin't that for Linux? | 2008-08-22 | 6:25 PM |
aguma | Re:TM-DOSToo late; I already started making one.
Here's a sample of the hard drive file:
00030009FILE1.TXT0009FILE2.TXT0009FILE3.TXT
obviously I'm not done yet, but it's going to be as simple as that. | 2008-08-22 | 6:26 PM |
Todd | Re:TM-DOSYou might be able to find code for a file system from looking at the original Linux kernel or from code on FreeDOS. | 2008-08-22 | 6:27 PM |
ksr | Re:TM-DOSIf you're serious, you might want to read up on this:
http://en.wikipedia.org/wiki/B%2B_tree
"If nodes of the B+ tree are organised as arrays of elements, then it may take a considerable time to insert or delete an element as half of the array will need to be shifted on average. To overcome this problem elements inside a node can be organized in a binary tree or a B+ tree instead of an array." | 2008-08-22 | 6:34 PM |
aguma | Re:TM-DOSI read that somewhere. :) | 2008-08-22 | 6:35 PM |
aguma | Re:TM-DOSAnnouncement: TM-DOS will be written in C! | 2008-08-25 | 1:42 PM |
Todd | Re:TM-DOSC! The way to go! It's WAY faster in DOS and does more in terms of lower-level language capabilities versus QuickBASIC. | 2008-08-25 | 2:08 PM |
aguma | Re:TM-DOSweird, I can't get Dev-cpp to work.
Does anybody know a good C compiler / IDE? | 2008-08-25 | 2:13 PM |
Todd | Re:TM-DOSTurbo C++ works fine for me. Dev-C++ is tricky to get working. Try using MinGW and Visual MinGW as your IDE. That works okay. | 2008-08-25 | 2:59 PM |
aguma | Re:TM-DOSWell, I don't know C very much (only basic stuff like arrays n' switches), so I think I'll just stick to BASIC for this version. :P | 2008-08-25 | 3:49 PM |
SonicBrit | Re:TM-DOSI find basic is the best prototyping language, whilst it is slower, you are able to be more productive in producing code that works the way it should, its usually logic flaws when something doesn't work right (if conditions with an and instead of an or for example). | 2008-08-25 | 10:43 PM |
rCX | Re:TM-DOSThere's [url=http://www.delorie.com/djgpp/]DJGPP[/url] which is also free. | 2008-08-26 | 9:35 AM |
Todd | Re:TM-DOSDJGPP is pretty good. It's the DOS port of GCC which compiles pretty well but it can fight you when making your programs if you don't know what you're doing. You compile using "make" like in GCC. | 2008-08-26 | 9:57 AM |
Brandon | Re:TM-DOSI find that FreeBASIC fullfills my needs. | 2008-08-26 | 6:34 PM |
Todd | Re:TM-DOSFreeBASIC's base compiler is Assembly so it just translates BASIC code into Assembly. | 2008-08-26 | 8:49 PM |
Brandon | Re:TM-DOSso that means its fast?
tonight I had catfish and grits for the 1st time.
I have thought about Fun500 and will have announcements as soon as I on a real PC. | 2008-08-26 | 10:04 PM |
Other
2021 Brandon Cornell