Changeset 97


Ignore:
Timestamp:
Apr 8, 2017, 12:26:47 AM (8 years ago)
Author:
Ben Rietbroek
Message:

New symbol 'resident_size' holds size of IMAGE + BSS [v1.1.1-testing]

CAUTION:
This is a testbuild !
AirBoot uses the BIOS to access disks and a small coding error can trash
partition tables or other vital disk structures. You are advised to make
backups of TRACK0 and EBRs before using this testbuild. More info at:
https://rousseaux.github.io/netlabs.air-boot/pdf/AirBoot-v1.1.0-manual.pdf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/airboot.asm

    r96 r97  
    20602060                ;
    20612061                ORIGIN  % (image_size)
    2062 
    2063 
     2062image_end:
    20642063
    20652064;
     
    24082407CurrentSS                   dw      ?
    24092408
    2410 
    2411 
    24122409;
    24132410; End of BSS segment.
    24142411;
    24152412eobss:
     2413
     2414;
     2415; Total RAM occupied, including BSS.
     2416; BASE is 8000:0000, LIMIT is 8000:FFFF.
     2417; Note that the LDRIMAGE is of constant size, 7C00h = 62 sectors of 512 bytes.
     2418;
     2419resident_size = (offset eobss + image_size)
    24162420
    24172421;
Note: See TracChangeset for help on using the changeset viewer.