Skip to content

sys and boot sector improvements [TODO] #139

Description

@PerditionC
          Not yet included:
  • SYS should warn if /L is < 0x60 or > 0x200
  • SYS could detect kernel file (already present if /BOOTONLY or to be copied else) and cluster size and warn if load might fail
  • One of the FAT32 loaders doesn't contain a license header
  • The FAT12/FAT16 read buffer address can be accessed with +imm8 addressing now, drop the "word" to optimise this (some magic offsets will change)
  • Loaders should set up stack before relocating (magic offsets of the load segment will change)
  • Fix comments referring to 640 KiB as a kernel file size limit, this is wrong because we unconditionally relocate to 1FE0h:7C00h (27A00h) so the 640 KiB limit is not relevant
  • SYS could detect magic bytes by scanning for them rather than hardcoding magic offsets

Originally posted by @ecm-pushbx in #135 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions