Ignore:
Timestamp:
Apr 11, 2014, 10:42:11 PM (11 years ago)
Author:
Ben Rietbroek
Message:

JWasm version working [2012-02-16]

WARNING!!

All commits upto and including the commit of [2012-05-13] contain
a severe bug!! Building from these sources and then disabling
the 'force LBA' feature while also using the drive-letter feature or
editing the label can DESTROY THE MBR on ALL ATTACHED DISKS!!
DO NOT DISABLE 'FORCE LBA USAGE' WHEN BUILT FROM THE THESE COMMITS!!

Info

o DOS linkage calculates correct offsets
o RAW linkage calculates relative offsets (no fixups)

Problem

o Something goes wrong between the end of the image and the BSS.

Moving the BSS just after the image gives corruption.
(all floppy entries, FFH)
So, the start of the BSS gets overwrittenby something...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/AIR-BOOT.ASM

    r40 r42  
    580580; time.
    581581;
    582 ;SEGMENTED   EQU 1
     582SEGMENTED   EQU 1
    583583
    584584IFDEF   SEGMENTED
     
    638638
    639639                ; ID String, Date (DD,MM,CC,YY), Version Number, Language ID
    640                 db      'AiRBOOT', 15h, 02h, 20h, 12h, 01h, 08h, TXT_LanguageID
     640                db      'AiRBOOT', 16h, 02h, 20h, 12h, 01h, 08h, TXT_LanguageID
    641641
    642642                ; Total Sectors Count.
     
    19961996                            ; with segment-concatenated layout.
    19971997                            ;
    1998                             org 0A000h                         ; Uninitialized
     1998                            ; What happens before this space ??
     1999                            ; If org 0 corruption occurs.
     2000                            ;
     2001                            org 02400h                         ; Uninitialized
    19992002
    20002003
Note: See TracChangeset for help on using the changeset viewer.