wok diff BootProg/stuff/bootex.asm @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 9a714ac859a3
children 81fc994927a6
line diff
     1.1 --- a/BootProg/stuff/bootex.asm	Tue Sep 27 16:21:52 2022 +0000
     1.2 +++ b/BootProg/stuff/bootex.asm	Wed Sep 28 08:10:35 2022 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  ;; - Loads a 16-bit executable file in the MS-DOS .COM or .EXE format       ;;
     1.5  ;;   from the root directory of a disk and transfers control to it          ;;
     1.6  ;;   (the "ProgramName" variable holds the name of the file to be loaded)   ;;
     1.7 -;;   Its maximum size can be up to 636KB without Extended BIOS Data area.   ;;
     1.8 +;;   Its maximum size can be up to 637KB without Extended BIOS Data area.   ;;
     1.9  ;;                                                                          ;;
    1.10  ;; - Prints an error if the file isn't found or couldn't be read            ;;
    1.11  ;;   ("File not found" or "Read error")                                     ;;
    1.12 @@ -48,10 +48,10 @@
    1.13  ;;                 |      Loaded Image      |                               ;;
    1.14  ;;                 +------------------------+ nnnnnH                        ;;
    1.15  ;;                 |    Available Memory    |                               ;;
    1.16 -;;                 +------------------------+ A0000H - 2KB                  ;;
    1.17 +;;                 +------------------------+ A0000H - 1KB                  ;;
    1.18  ;;                 |       Boot Sector      |                               ;;
    1.19 -;;                 +------------------------+ A0000H - 1.5KB                ;;
    1.20 -;;                 |    1.5KB Boot Stack    |                               ;;
    1.21 +;;                 +------------------------+ A0000H - 0.5KB                ;;
    1.22 +;;                 |    0.5KB Boot Stack    |                               ;;
    1.23  ;;                 +------------------------+ A0000H                        ;;
    1.24  ;;                 |        Video RAM       |                               ;;
    1.25  ;;                                                                          ;;
    1.26 @@ -86,7 +86,7 @@
    1.27  [CPU 386]
    1.28  
    1.29  ImageLoadSeg            equ     60h
    1.30 -StackSize               equ     1536
    1.31 +StackSize               equ     512
    1.32  
    1.33  [SECTION .text]
    1.34  [ORG 0]
    1.35 @@ -140,8 +140,7 @@
    1.36  
    1.37          int     12h             ; get conventional memory size (in KBs)
    1.38          mov     cx, 106h
    1.39 -        dec     ax
    1.40 -        dec     ax              ; reserve 2K bytes for the code and the stack
    1.41 +        dec     ax              ; reserve 1K bytes for the code and the stack
    1.42          shl     ax, cl          ; and convert it to 16-byte paragraphs
    1.43  
    1.44  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;