This broke chainbooting FreeBSD at least.
* New MBR which can boot from logical partitions.
* SYSLINUX: Fix bug in detecting special extensions which was
introduced in 3.35 :(
+ * PXELINUX: Unbreak chainbooting FreeBSD (and possibly others.)
Changes in 3.35:
* MEMDISK: New "safeint" mode.
mov [es:di+12],esi ; New ESI
mov [es:di+6],bx ; New DS
+%ifndef IS_PXELINUX
+ ; DON'T DO THIS FOR PXELINUX...
+ ; For PXE, ES:BX -> PXENV+, and this would corrupt
+ ; that use.
+
; Hunt for $PnP header if one exists
mov ax,0F000h
mov fs,ax
; Found a valid $PnP header, point ES:DI to it
mov [es:di+8], bx ; New DI
mov [es:di+4], fs ; New ES
+%endif
.donepnp:
pop ax ; Copy list count