mlb
mlb copied to clipboard
Disk Address Packet
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
Thanks. I was going to rewrite the loading code a bit to make it smaller anyway.