3 .word HEX(00eb), HEX(00eb) // jmp $+2, jmp $+2
5 cmp al, HEX(0ff) // legacy-free machine without keyboard
6 jz Empty8042_ret // controllers on Intel Macs read back 0xFF
15 mov al, HEX(0D1) // command write
18 mov al, HEX(0DF) // A20 on
26 * si = pointer to zero terminated string
36 jmp short writestr_top
44 * al = character to output
57 // writehex[248]: Write a hex number in (AL, AX, EAX) to the console
64 jmp short writehex_common
70 jmp short writehex_common
98 /* Set the word at location 40h:72h to 0 (cold reboot) */
99 mov word ptr ds:[HEX(0472)], HEX(0)
101 /* and jump to location F000h:FFF0h in ROM */
102 ljmp16 HEX(0F000), HEX(0FFF0)
105 ChainLoadBiosBootSectorCode:
106 /* Load segment registers */
116 /* Jump to the bootsector code */
117 ljmp16 HEX(0000), HEX(7C00)