1309 Commits

Author SHA1 Message Date
Baptiste Wicht
3664d4f6a0 Move kernel to the hard disk image 2013-12-31 16:37:47 +01:00
Baptiste Wicht
b12599e147 Read FAT32 informations, start reading root directory 2013-12-31 16:37:23 +01:00
Baptiste Wicht
61159fffd9 Cleanup 2013-12-31 16:36:56 +01:00
Baptiste Wicht
35ba77cb0f Start migrating from floppy to hard disk
Move stage1 into the MBR boot code
Move stage2 into the second sector of the hard disk
2013-12-31 15:16:04 +01:00
Baptiste Wicht
3f6bc4270a Cleanup 2013-12-31 14:12:17 +01:00
Baptiste Wicht
dd81953be3 Cleanup the bootloader
Clear the screen
Check for BIOS extensions
2013-12-31 14:10:00 +01:00
Baptiste Wicht
fbeca4a004 Fix debug comment 2013-12-31 13:52:32 +01:00
Baptiste Wicht
71035bb942 Implement some ATA device identification support 2013-12-30 22:59:29 +01:00
Baptiste Wicht
9051154be5 Finish rm implementation 2013-12-30 21:03:56 +01:00
Baptiste Wicht
1d64c7458f Implement removal of file 2013-12-29 22:50:09 +01:00
Baptiste Wicht
d00135b26b Finish support for dates 2013-12-28 19:43:50 +01:00
Baptiste Wicht
5701daabc9 Move RTC support in its own file 2013-12-28 19:25:38 +01:00
Baptiste Wicht
431529937d Add support for date and time in ls 2013-12-28 17:38:04 +01:00
Baptiste Wicht
47c44e7e4d Complete mkdir and touch support 2013-12-28 16:50:32 +01:00
Baptiste Wicht
375413505a Improve a bit ls 2013-12-28 13:41:33 +01:00
Baptiste Wicht
a900f42a2c Fix the order of LFN entries 2013-12-27 21:48:12 +01:00
Baptiste Wicht
17947390fb FAT32 says that if .. points to root, cluster number must be 0 2013-12-27 21:25:05 +01:00
Baptiste Wicht
8dfaeffe0d Fix sequence size and null terminate long file name 2013-12-27 21:20:45 +01:00
Baptiste Wicht
11dfdafbed No need to register a cluster for an empty file 2013-12-27 21:03:47 +01:00
Baptiste Wicht
98c78f1d2d Implementation of long file name support in mkdir/touch 2013-12-27 21:02:36 +01:00
Baptiste Wicht
db8ac66b1b Add touch support 2013-12-27 17:19:03 +01:00
Baptiste Wicht
75981482f8 Security 2013-12-27 14:32:21 +01:00
Baptiste Wicht
13e5d34fe8 Cleanup 2013-12-26 18:11:50 +01:00
Baptiste Wicht
6721ef6c55 Improve mkdir 2013-12-26 17:45:05 +01:00
Baptiste Wicht
b6337900af Optimize read to only read the hierarchy once 2013-12-26 17:25:17 +01:00
Baptiste Wicht
6e7f1b588d Add support for long file names 2013-12-26 17:12:58 +01:00
Baptiste Wicht
1b7b3eb0b2 Store the cluster number inside file representation 2013-12-26 16:49:51 +01:00
Baptiste Wicht
8c9bba966d Check for the number of params before using them 2013-12-26 16:21:39 +01:00
Baptiste Wicht
72793717c4 Fix infinite loop when file does not exist 2013-12-26 15:55:59 +01:00
Baptiste Wicht
7e0c6e3f28 Add support for long file names in listing 2013-12-26 15:30:51 +01:00
Baptiste Wicht
16099225a5 Optimize reading of FAT 2013-12-26 14:20:10 +01:00
Baptiste Wicht
474a939201 Implement mkdir 2013-12-26 14:00:49 +01:00
Baptiste Wicht
0964256880 Force char to be unsigned 2013-12-26 13:55:25 +01:00
Baptiste Wicht
4b1656aa37 Write the directory cluster back to the disk 2013-12-24 15:00:01 +01:00
Baptiste Wicht
970796ed6b Add support for writing to disk 2013-12-24 14:50:50 +01:00
Baptiste Wicht
a13eb82e0e Modify the directory entry 2013-12-24 14:38:10 +01:00
Baptiste Wicht
e43326a2c0 Add support for displaying signed numbers 2013-12-24 14:19:42 +01:00
Baptiste Wicht
ef38a9a260 Search for an empty entry in the cluster 2013-12-24 14:00:00 +01:00
Baptiste Wicht
ce86d48d6b Prepare prototypes for mkdir command 2013-12-24 13:45:38 +01:00
Baptiste Wicht
4a3910fe05 Cleanup 2013-12-23 23:30:49 +01:00
Baptiste Wicht
af989e150f Finalize multi cluster directory support 2013-12-23 23:26:17 +01:00
Baptiste Wicht
5ca56b60e2 Add support for multi cluster directory 2013-12-23 23:07:59 +01:00
Baptiste Wicht
05f73b312c Set the correct size of directories 2013-12-23 23:03:43 +01:00
Baptiste Wicht
c95608489d Refactor 2013-12-23 23:02:35 +01:00
Baptiste Wicht
a027ca4592 Reuse the memory 2013-12-23 22:40:27 +01:00
Baptiste Wicht
c2c4e465a2 Fix empty() 2013-12-23 22:33:44 +01:00
Baptiste Wicht
eb00439ffc Refactor 2013-12-23 22:33:39 +01:00
Baptiste Wicht
96f806dc4c Add support for multi-cluster files 2013-12-23 22:03:29 +01:00
Baptiste Wicht
040b949980 Merge branch 'master' of github.com:wichtounet/thor-os 2013-12-22 19:24:55 +01:00
Baptiste Wicht
c0679aedab Use correct namespace 2013-12-22 19:24:43 +01:00