Changeset 42


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...

Location:
trunk/BOOTCODE
Files:
4 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
  • trunk/BOOTCODE/BLDDATE.ASM

    r38 r42  
    11IFDEF   JWASM
    2     BUILD_DATE db 'Build Date: 15 Feb 2012 at 19:30:00                                 [JWasm]',0
     2    BUILD_DATE db 'Build Date: 16 Feb 2012 at 03:00:00                                 [JWasm]',0
    33ENDIF
    44IFDEF   TASM
    5     BUILD_DATE db 'Build Date: 15 Feb 2012 at 19:30:00                                  [Tasm]',0
     5    BUILD_DATE db 'Build Date: 16 Feb 2012 at 03:00:00                                  [Tasm]',0
    66ENDIF
  • trunk/BOOTCODE/Makefile

    r41 r42  
    380380#       @echo   FIXCODE
    381381        $(CP) $(BASENAME).COM $(TARGET)
     382        ndisasm $(BASENAME).COM > $(BASENAME).COM.NDA
     383        ndisasm $(TARGET) > $(TARGET).NDA
    382384#       @echo $(%BLD_LANG)>$^.
    383385        @if exist $^. @echo             $^. $(MSG_SUCCESS) - [$(%BLD_LANG) version]
     
    391393###############################################################################
    392394$(BASENAME).COM:        .MULTIPLE $(BASENAME).OBJ
    393 #       $(LNK) $(LNK_FLAGS) file $^&.OBJ name $^. sys dos com
    394         $(LNK) $(LNK_FLAGS) file $^&.OBJ name $^. form raw
     395        $(LNK) $(LNK_FLAGS) file $^&.OBJ name $^. sys dos com
     396#       $(LNK) $(LNK_FLAGS) file $^&.OBJ name $^. form raw
    395397#       @if exist $^. @echo             $^. $(MSG_SUCCESS)
    396398#       @echo.
  • trunk/BOOTCODE/REGULAR/STD_TEXT.ASM

    r40 r42  
    4242;Copyright             db ' AiR-BOOT v1.0.8 - (c) 2012 M. Kiewitz  <<Release Candidate 1>> (bld: 20120124)', 0
    4343;Copyright             db ' AiR-BOOT v1.0.8 - (c) 2012 M. Kiewitz  <<Release Candidate 2>> (bld: 20120214)', 0
    44 Copyright             db ' AiR-BOOT v1.0.8 - (c) 2012 M. Kiewitz   <<Internal Release 2b>> (bld: 20120215)', 0
     44Copyright             db ' AiR-BOOT v1.0.8 - (c) 2012 M. Kiewitz  <<Internal Release 2c>> (bld: 20120216)', 0
    4545;Copyright             db ' AiR-BOOT v1.0.8 - (c) 1998-2012 M. Kiewitz, Dedicated to Gerd Kiewitz', 0
    4646
Note: See TracChangeset for help on using the changeset viewer.