backported fixes from 256boss:
[bootcensus] / src / vbe.h
2018-05-02 John Tsiombikasinitial hasty attempt at porting over my VBE code