Weekly Update (5/1/20) - Progress on Version 0.0.2

Setup Is Almost Done

One of the big things I was wanting to work on for 0.0.2 was a setup program. On startup, DremDOS will check if the file at 0:\dremdos\done.txt exists. If it doesn't, it will run the setup program.
The setup program currently does the following:
  • Delete all files on the hard disk
    • Although implemented this is disabled at this point in time. It doesn't work due to a bug in the current user kit that isn't present in the current dev kit. I'll fix it once I have a new machine in (hopefully) under a week.
  • Create new folders
    • 0:\dremdos\ - holds important stuff for DremDOS (configs and stuff). Currently only used for done.txt
    • 0:\home\ - holds user information (multiuser not yet implemented)
  • Write the done.txt file
    • This file serves two functions
      • Tell DremDOS not to run setup again
      • Tell DremDOS what user account to log in to (currently only automagically changes directory to user's home directory. This will be changed once multiuser is implemented.)

Current Bugs in Setup

Currently, the directories created by setup are bugged. For some reason, using the dir command in the directories it creates crashes DremDOS (aFirstCluster). For now, I'll assume that this is an issue with the current user kit so I can move on to the next feature. It also doesn't yet create the user folder. This was probably caused my a typo or something weird that I haven't cared to look for at this time.

Crash Handler

I also started work on a crash handler. However, it currently only works with directly initiating a crash (InitiateCrash(int id)). Not sure how else to do this, though. I expect developers to incorporate crashes into their own project, and only when necessary.
(I forgot to get a screen capture of the actual crash screen so I'll add it on Sunday)

Comments

Popular posts from this blog

Hacking a SMART Response XE

Hacking a Smart Response XE (Pt.2)

Changes to The Collective