Fixed UI for kill command showing processes.
Forgot to commit from the start, I'm an idiot. Did a lot. Added priority scheduling and the get scheduler commands. Created a priority queue to handle the priority scheduling algorithm.
Forgot to commit from the start, I'm an idiot. Did a lot. Added priority scheduling and the get scheduler commands. Created a priority queue to handle the priority scheduling algorithm.
Added setscheduler command and functionality.
Added harddrive class and harddrive manager class wrote methods for get, set, reset, initialize, etc. Have yet to test the functionality. So far it does not appear to be working.
Got my HDD to display some of the values are screwed up so my looping and functionality needs to be corrected, that is the next step.
Fixed the initialization of the HDD and hwo it is displayed.
Fixed initialization so that the MBR is accounted for in the HDD and its in use bit is set to 1.
Added functionality for HDD display update and resets, all seem to be working. This also handles the session storage update and resets.
Started implementing read, write, format, create, etc. Using kernel interupt isr to handle the functionality by calling the HDD driver class.
Added the commands to the command list. Started adding functionality to certain commands, format is done, still have to test.
Changed css layout for HDD and console because help has too many commands now to fit on one scroll page, so I increased the height of the console to fully show all commands.
Added ls command and now made sure that the console appropriately displays all commands when help is entered.
Fixed up some shell command responses and check constraints for bad entries such as entering a scheduling algorithm that is not of rr, fcfs, or priority. Also fixed some CSS and tested that format works.
Added functionality to create, format and currently working on the user write.
Working on write method, have functionality there, just needs more testing. I also need to change the ascii chars to hex and handle them that way.
Fixed wrapping of writing files in HDD if they go over 60 bits worth of content they have to transfer to the next block.
Finally got the damn write to work. Wow, idk why but soooooo many little buggy things this was ridiculous anytime I changed something needed like converting the content to hex and from hex, it would mess up the working parts. Took hours of testing. Now, create, makes a file and stored it after the MBR in the first freespace. Write then checks if the filename exists, finds it in the HDD, changes the address pointer of the file to the first available block in track 1. Then it converts the write contents to hex and stores them in that block in the HDD, if there is any overflow it puts it in the next available space and changes the previous address pointer bits to the new block.
Fixed ls command to show ALL files stored on disk.
Added functionality to read function and fixed other little things, next is testing and delete logic.