You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

usbdisk.S 680B

12345678910111213141516171819202122232425262728293031323334
  1. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )
  2. .text
  3. .arch i386
  4. .section ".prefix", "awx", @progbits
  5. .code16
  6. .org 0
  7. #include "mbr.S"
  8. /* Partition table: 64 heads, 32 sectors/track (ZIP-drive compatible) */
  9. .org 446
  10. .space 16
  11. .space 16
  12. /* Partition 3: log partition (for CONSOLE_INT13) */
  13. .byte 0x00, 0x01, 0x01, 0x00
  14. .byte 0xe0, 0x3f, 0x20, 0x00
  15. .long 0x00000020
  16. .long 0x000007e0
  17. /* Partition 4: boot partition */
  18. .byte 0x80, 0x00, 0x01, 0x01
  19. .byte 0xeb, 0x3f, 0x20, 0x02
  20. .long 0x00000800
  21. .long 0x00001000
  22. .org 510
  23. .byte 0x55, 0xaa
  24. /* Skip to start of log partition */
  25. .org 32 * 512
  26. .ascii "iPXE LOG\n\n"
  27. /* Skip to start of boot partition */
  28. .org 2048 * 512