Overview

HTTPS SSH

MILESTONES:

  1. Set up environment, makefile
  2. Write program which prints to output, compile, load on BOCHS
  3. Create bootloader which loads above program
  4. Create output function, call that function
  5. Create FAT disk builder, in makefile
  6. Create file allocation table lookup function
  7. Create program loader function
  8. Set resident program to use FAT lookup to load print program
  9. Write keyboard input function
  10. Write echo program.
  11. Write user-level header file.
  12. Make user programs to test OS
    1. Age-guessing program
    2. Graphing program

OVERVIEW:

Memory is going to be a total of 64k. This makes it easy, because we never need to use segments.
The kernel will be loaded starting from the 32k mark (0x8000).
The kernel's entry point will be 0x8000.
The kernel will then load from 0x500 to 0x5ff with jumps into functions.
New programs will be loaded starting from 0x600.
The stack grows down from 0x7FFF. Can safely grow all the way down to 0x7E00.

Memory map:

0x500-0x5FF: Transient program area -- a set of long jumps, every 8 bytes
0x600-??: Program working area -- programs get loaded into this space, and then are executed by jumping to 0x600
0x7A00-0x7BFF: File lookup table
0x7C00-0x7DFF: Bootloader
0x7E00-0x7FFF: Stack
0x8000-0x8100: Copy of TPA
0x8100-??: The rest of the kernel