Changeset 76 for trunk/bootcode/setup


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/setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootcode/setup/main.asm

    r65 r76  
    5959      or      ax, ax
    6060      jz      SSTSI_NoItemPack
    61       add     si, LocMENU_LenOfItemPack  ; ItemPack bergehen
     61      add     si, LocMENU_LenOfItemPack  ; Add ItemPack size
    6262     SSTSI_NoItemPack:
    6363      add     si, LocMENU_LenOfMenuPtrBlock ; Skip Ptr-Block (+3 deshalb, weil danach INC!)
     
    8888   mov     al, [SETUP_KeysOnEntry]
    8989   test    al, Keys_Flags_EnterSetup
    90 IFDEF ReleaseCode
    9190   jz      SCES_NoEnterSETUP
    92 ENDIF
    9391  SCES_ForceEnter:
    9492   call    SETUP_Main
     
    672670ENDIF
    673671
    674 ; Zeichnet die Men Hilfe aufn Bildschirm
     672; Display the Help Menu
    675673;        In: SI - Pointer to 4 HelpStrings...
    676674; Destroyed: None
     
    11271125   add     word ptr [CFG_LastTimeEditLow], 1
    11281126   adc     word ptr [CFG_LastTimeEditHi], 0         ; Update Time-Stamp
    1129    IFDEF ReleaseCode
    1130       call    DriveIO_SaveConfiguration
    1131    ENDIF
     1127   call    DriveIO_SaveConfiguration
    11321128   mov     byte ptr [SETUP_ExitEvent], 1            ; Exit and continue boot process
    11331129  SEMSAES_UserAbort:
     
    11451141
    11461142  SEMEWS_DoThis:
    1147    IFDEF ReleaseCode                     ; Loads basic configuration...
    1148       call    DriveIO_LoadConfiguration  ; This is *NOT* IPT nor HideConfig
    1149    ENDIF
     1143   ; Loads basic configuration...
     1144   ; This is *NOT* IPT nor HideConfig
     1145   call    DriveIO_LoadConfiguration
    11501146   mov     byte ptr [SETUP_ExitEvent], 1            ; Exit and continue boot process
    11511147  SEMEWS_UserAbort:
  • trunk/bootcode/setup/part_set.asm

    r67 r76  
    879879        mov     si, offset LVMSector
    880880        call    LVM_UpdateSectorCRC
    881         IFDEF ReleaseCode
    882           call    DriveIO_SaveLVMSector      ; Save sector
    883         ENDIF
     881
     882        call    DriveIO_SaveLVMSector      ; Save sector
     883
    884884        jmp     PSCPN_AllDone
    885885
     
    892892          rep     movsb                      ; Copy IPT-name to Boot-Record
    893893        pop     si
    894         IFDEF ReleaseCode
    895           call    DriveIO_SavePartition      ; Saves Boot-Record
    896         ENDIF
     894
     895        call    DriveIO_SavePartition        ; Saves Boot-Record
    897896
    898897    ; And reset VIBR-CRC, otherwise virus-warning and system-halt
     
    10491048   mov     cx, bx
    10501049   call    VideoIO_Locate
    1051    mov     al, 'µ'
     1050   mov     al, 0b5h
    10521051   call    VideoIO_PrintSingleChar
    10531052
     
    10811080   mov     cx, CLR_PART_HIDE_WINDOW_BASE                     ; Lila on lila
    10821081   call    VideoIO_Color
    1083    mov     al, 'Æ'
     1082   mov     al, 0c6h
    10841083   call    VideoIO_PrintSingleChar
    10851084   ; --- Make Window-Footer - "State when booting..." at bottom right frame-line
     
    11191118;   inc     cl
    11201119;   call    MBR_Locate                    ; Location 16, HiddenX
    1121 ;   mov     al, 'µ'
     1120;   mov     al, 0b5h
    11221121;   call    MBR_PrintSingleChar
    11231122;   mov     cx, 0E05h                     ; Yellow on Lila
     
    11341133;   mov     cx, 0D05h                     ; Lila on lila
    11351134;   call    MBR_Color
    1136 ;   mov     al, 'Æ'
     1135;   mov     al, 0c6h
    11371136;   call    MBR_PrintSingleChar
    11381137
     
    17761775      mov     cx, bx
    17771776      call    VideoIO_Locate
    1778       mov     al, 'µ'
     1777      mov     al, 0b5h
    17791778      call    VideoIO_PrintSingleChar
    17801779
     
    18081807      mov     cx, CLR_PART_DL_WINDOW_BORDER2                 ; Lila on lila
    18091808      call    VideoIO_Color
    1810       mov     al, 'Æ'
     1809      mov     al, 0c6h
    18111810      call    VideoIO_PrintSingleChar
    18121811   pop     bx
Note: See TracChangeset for help on using the changeset viewer.