Ignore:
Timestamp:
Apr 12, 2014, 8:23:32 AM (11 years ago)
Author:
Ben Rietbroek
Message:

Various Changes [2012-04-14]

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

Changes

o Added BLDLEVEL support
o Enhanced Master Make
o Sanitized sources
o Support for Wasm and Masm6 (experimental)
o Renamed MBR_PROT.ASM to MBR-PROT.ASM
o Merged bitfield code Into Installer
o First steps for cross platform Installer
o More...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/REGULAR/OTHER.ASM

    r43 r46  
    9393        rep     stosw
    9494
    95         mov     VideoIO_Segment, VideoIO_Page0
     95        mov     word ptr [VideoIO_Segment], VideoIO_Page0
    9696
    9797        ; Don't use blinking attribute
     
    106106
    107107        ; Cursor to upper-left
    108         mov     TextPosX, 0
    109         mov     TextPosY, 0
     108        mov     byte ptr [TextPosX], 0
     109        mov     byte ptr [TextPosY], 0
    110110        call    VideoIO_CursorSet
    111111
     
    122122        ;call    SOUND_Beep
    123123
    124         ; Build Date
    125         mov     si, offset BUILD_DATE
    126         call    MBR_TeletypeNL
     124        ; Show build info
     125        call    VideoIO_PrintBuildInfo
    127126
    128127    IFDEF   AUX_DEBUG
     
    305304        ; Checks for MBR Virii :) I love that job
    306305        ; =======================================
    307         test    CFG_DetectStealth, 1
     306        test    byte ptr [CFG_DetectStealth], 1
    308307        jz      PCM_NoStealthDetection
    309308        call    VIRUS_CheckForStealth
    310309    PCM_NoStealthDetection:
    311         test    CFG_DetectVirus, 1
     310        test    byte ptr [CFG_DetectVirus], 1
    312311        jz      PCM_NoVirusDetection
    313312        call    VIRUS_CheckForVirus
     
    318317        ;  Delay for some time and get Strg/Alt State
    319318        ; ============================================
    320         test    CFG_CooperBars, 1
     319        test    byte ptr [CFG_CooperBars], 1
    321320        jnz     PCM_ShortDelay
    322321        mov     al, 27                        ; About 1.5 seconds
    323         test    CFG_FloppyBootGetName, 1
     322        test    byte ptr [CFG_FloppyBootGetName], 1
    324323        jz      PCM_LongDelay
    325324    PCM_ShortDelay:
     
    345344        mov     ah, 02h
    346345        int     16h
    347         mov     SETUP_KeysOnEntry, al
     346        mov     [SETUP_KeysOnEntry], al
    348347
    349348        ; Copy device-name to the ContBIOSbootSeq-IPT entry
     
    358357        ;  Now get volume label of FloppyDrive, if wanted...
    359358        ; ===================================================
    360         test    CFG_FloppyBootGetName, 1
     359        test    byte ptr [CFG_FloppyBootGetName], 1
    361360        jz      ACM_NoFloppyGetName
    362361        call    DriveIO_UpdateFloppyName
     
    381380        and     cx, 1
    382381        jz      PCCF13E_NotFound
    383         mov     CurIO_UseExtension, 1
     382        mov     byte ptr [CurIO_UseExtension], 1
    384383        ret
    385384PRECRAP_CheckFor13extensions    EndP
     
    406405        mov      cx,5
    407406
    408         mov     dx, CFG_CheckConfig
    409         mov     CFG_CheckConfig, bx
     407        mov     dx, [CFG_CheckConfig]
     408        mov     [CFG_CheckConfig], bx
    410409    PCCC_Loop:
    411410        call    MBR_GetCheckOfSector
     
    495494        mov     bh, 0
    496495        mov     ah, 02h
    497         mov     dh,[TextPosY]
    498         mov     dl,[TextPosX]
     496        mov     dh,byte ptr [TextPosY]
     497        mov     dl,byte ptr [TextPosX]
    499498        int     10h
    500499        popf
Note: See TracChangeset for help on using the changeset viewer.