mlb icon indicating copy to clipboard operation
mlb copied to clipboard

Disk Address Packet

Open Roxxik opened this issue 8 years ago • 1 comments

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

Roxxik avatar Mar 11 '16 11:03 Roxxik

Thanks. I was going to rewrite the loading code a bit to make it smaller anyway.

wikkyk avatar Mar 31 '16 19:03 wikkyk