[SeaBIOS] FreeBSD VESA console not working with SeaBIOS

Peter Stuge peter at stuge.se
Wed Apr 8 20:48:11 CEST 2015

Kevin O'Connor wrote:
> (Specifically, the "leal" instruction is not properly implemented.)
> Unfortunately, there isn't much that can be done about this on the vga
> bios side.

Really? Impossible to save flags, use other opcodes, and restore flags?

lea isn't used in vgasrc/ besides in the trap that triggers the fault.

In src/romlayout.S lea is used in two places to bump esp before calls.
If those code paths are used also by SeaVGABIOS then maybe they could
be rewritten with simpler instructions?


More information about the SeaBIOS mailing list