Skip to content

Disk Address Packet #1

Description

@Roxxik

You could move the disk address packet onto the stack, to save some more bytes in the binary / allow a longer commandline. I saw that being done in the freebsd boot0 loader.

EDIT0: should save 16 Bytes, but needs two instructions to reserve and free stack space....
EDIT1: here's the link: https://github.com/freebsd/freebsd/blob/master/sys/boot/i386/boot0/boot0.S#L561

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions