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
100 /* Set the word at location 40:72 to 1234h */
101 mov word ptr [si], HEX(1234)
103 /* and jump to location FFFF:0 in ROM */
104 ljmp16 HEX(0FFFF), HEX(0000)
107 ChainLoadBiosBootSectorCode:
109 /* Load segment registers */
119 /* Jump to the bootsector code */
120 ljmp16 HEX(0000), HEX(7C00)