wok diff BootProg/stuff/boot32.asm @ rev 25705

fusecloop/extract_compressed_fs: can convert to v0.68 or v1.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 22 12:48:49 2024 +0000 (14 months ago)
parents 0af8df0b46fc
children ac7aeefa3415
line diff
     1.1 --- a/BootProg/stuff/boot32.asm	Tue Jun 04 16:09:04 2024 +0000
     1.2 +++ b/BootProg/stuff/boot32.asm	Sat Jun 22 12:48:49 2024 +0000
     1.3 @@ -20,7 +20,7 @@
     1.4  ;;   Its maximum size can be up to 637KB without Extended BIOS Data area.   ;;
     1.5  ;;                                                                          ;;
     1.6  ;; - Prints an error if the file isn't found or couldn't be read            ;;
     1.7 -;;   ("File not found" or "Read error")                                     ;;
     1.8 +;;   ("No bootfile" or "Read error")                                        ;;
     1.9  ;;   and waits for a key to be pressed, then executes the Int 19h           ;;
    1.10  ;;   instruction and lets the BIOS continue bootstrap.                      ;;
    1.11  ;;                                                                          ;;
    1.12 @@ -191,7 +191,9 @@
    1.13  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1.14  
    1.15          mov     es, ax                  ; cs:0 = ds:0 = ss:0 -> top - 512 - StackSize
    1.16 -%if ExtraBootSector == 0
    1.17 +%if ExtraBootSector != 0
    1.18 +        add     al, 32
    1.19 +%else
    1.20          mov     ss, ax
    1.21          mov     sp, 512+StackSize ; bytes 0-511 are reserved for the boot code
    1.22  %endif
    1.23 @@ -229,7 +231,6 @@
    1.24  %if ExtraBootSector != 0
    1.25  %macro MovedCode 0
    1.26  main:
    1.27 -        add     dl, 32
    1.28          push    dx
    1.29  %else
    1.30  main:
    1.31 @@ -321,7 +322,7 @@
    1.32          jnc     RootDirReadContinue     ; continue to the next root dir cluster
    1.33  ErrFind:
    1.34          call    Error                   ; end of root directory (dir end reached)
    1.35 -        db      "File not found."
    1.36 +        db      "No bootfile."
    1.37  %if ExtraBootSector != 0
    1.38  %endm
    1.39  %macro BootFileName 0