Changeset 76 for trunk/bootcode/regular


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

Removed the ancient 'ReleaseCode' conditional [v1.1.1-testing]

This was used in pre v1.07 versions to create a DOS .COM executable
for debugging. It has never been used in v1.07+ versions and debugging
is now done using the serial port from native AirBoot. Time to get rid
of this unused stuff.

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

Location:
trunk/bootcode/regular
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/regular/other.asm

    r67 r76  
    348348    INT13X_Supported:
    349349
    350     IFNDEF ReleaseCode
    351         ret
    352     ENDIF
    353 
    354350
    355351        ;
  • trunk/bootcode/regular/partmain.asm

    r73 r76  
    595595        call    PART_SearchFileSysHiddenID    ; Put on =STEALTH=
    596596        mov     bptr es:[di+LocBRPT_SystemID], al
    597     IFDEF ReleaseCode
    598         call    DriveIO_SavePartition      ; Saves Partition-Table
    599     ENDIF
     597        call    DriveIO_SavePartition         ; Saves Partition-Table
    600598        ret
    601599PART_HidePartition              EndP
     
    10961094
    10971095
    1098     IFDEF ReleaseCode
    10991096        ;
    11001097        ; Save configuration on HDD boots (save CFG_PartLast)
    11011098        ;
    11021099        call    DriveIO_SaveConfiguration
    1103     ENDIF
    11041100
    11051101
     
    12011197
    12021198
    1203     IFDEF ReleaseCode
    12041199        ;
    12051200        ; Save the Partition Table.
    12061201        ;
    12071202        call    DriveIO_SavePartition     ; Saves the Partition-Table    [SAVE]
    1208     ENDIF
    12091203
    12101204
     
    13431337        call    DriveIO_LoadPartition      ; Load Primary Partition Table
    13441338        call    PART_MarkFirstGoodPrimary
    1345 
    1346     IFDEF ReleaseCode
    13471339        call    DriveIO_SavePartition       ; Saves the Partition-Table
    1348     ENDIF
    13491340
    13501341
     
    22082199        ; # JUMP TO THE PBR LOADER CODE #
    22092200        ; ###############################
    2210         IFDEF ReleaseCode
    2211             db      0EAh
    2212             dw      StartBasePtr
    2213             dw      StartBaseSeg
    2214         ENDIF
     2201        db      0EAh
     2202        dw      StartBasePtr
     2203        dw      StartBaseSeg
    22152204
    22162205
  • trunk/bootcode/regular/partscan.asm

    r57 r76  
    222222
    223223        call    PARTSCAN_ScanPartition
    224     IFDEF ReleaseCode
     224
    225225        call    DriveIO_SavePartition
    226     ENDIF
     226
    227227        call    PARTSCAN_ScanPartitionForExtended
    228228        jc      PSSDFP_LoadThisPartition
     229
    229230    PSSDFP_InvalidPartition:
    230231        ret
     
    304305        ; Clearing the boot-flags on other disks would prevent booting them
    305306        ; from the BIOS. (TRAC ticket #6)
    306         cmp     dl, 080h                            ; See if this is boot-disk 
     307        cmp     dl, 080h                            ; See if this is boot-disk
    307308        jne     PSSP_Skip_Clear_BootFlag            ; Nope, skip clear flag
    308309        and     byte ptr [si+LocBRPT_Flags], 7Fh    ; Reset the Active-Flag
     
    704705    PCCTP_CompareFailed:
    705706        mov     ch, ah
    706         ; Default Flags hinzufgen...
     707        ; Insert Default Flags...
    707708        mov     cl, LocIPT_DefaultFlags
    708709
Note: See TracChangeset for help on using the changeset viewer.