Code that controls basic hardware operations, such as interactions with diskette drives, hard disk drives, and the keyboard.