Changeset 30 for trunk/BOOTCODE/SPECIAL


Ignore:
Timestamp:
May 6, 2011, 4:25:19 AM (15 years ago)
Author:
Ben Rietbroek
Message:

AiR-BOOT v1.07 -- As released with eCS v2.1. [2011-05-06]
Signature-date: 2006-03-13. (incorrect)
Trunk contains buildable v1.07 version as distributed with eCS v2.1.
Directory 'tags' contains v1.06 & v1.07 reference versions
built for all languages. Note that language ID for 'Dutch' changed
from 'DT' to 'NL' in v1.07 and that the v1.06 reference version also
uses 'NL' for 'Dutch'.
Also note that helper programs like the installer and setaboot are
are only modified for the OS/2 versions in v1.07.
The signature-date for v1.07 incorrectly states the same
date as for v1.06. The signature-version is correct.
Removed other binaries. (cd-rom images, old releases, etc.)
The tags serve as reference versions:

  • v1.06: rebuilt from source. (tags/v1.06r)
  • v1.07: built as released with eCS v2.1. (tags/v1.07r)
Location:
trunk/BOOTCODE/SPECIAL
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/BOOTCODE/SPECIAL/APM.ASM

    r29 r30  
    2020;---------------------------------------------------------------------------
    2121
     22IFDEF ModuleNames
     23DB 'APM',0
     24ENDIF
     25
    2226; Here is APM Code to turn off the computer
    2327
  • trunk/BOOTCODE/SPECIAL/F00K/BILLSUXX.ASM

    r29 r30  
    2727; Here is code to change Extended Partition to Type 05h or 0Fh depending
    2828;  on the partition's P-flag including the overall M$hack-Enable Flag.
     29
     30IFDEF ModuleNames
     31DB 'BILLSUXX',0
     32ENDIF
     33
    2934MSHACK_ProcessPartTables        Proc Near  Uses ax dx di
    3035   ; Check Overall M$-Hack Enable
  • trunk/BOOTCODE/SPECIAL/FAT16.ASM

    r29 r30  
    2020;---------------------------------------------------------------------------
    2121
     22IFDEF ModuleNames
     23DB 'FAT16',0
     24ENDIF
     25
    2226; Here is access code for accessing FAT-16 partitions. It's not a complete
    2327;  File-API and only for simple readonly-access.
     
    2731;        I did not want to code silly cylinder stuff here. I have also used
    2832;        i386 code in here, because Linux requires so as well. Please note that
    29 ;        I don't use i386 code anywhere (!) else in AiR-BOOT.
    30 ;
     33;        I don't use i386 code anywhere (!) else in AiR-BOOT.                    ; Rousseau: yes you did, movezx is 386-only :-)
     34;                                                                                ; Replaced by 286 instructions.
    3135; Initialize FAT-16 access on specified partition (required for following xs)
    3236;        In: DS:SI - IPT-Entry that contains a FAT-16 partition
     
    131135      mov    ax, dx
    132136      sub    ax, 2                       ; Everything starts at Cluster 2
    133       movzx  bx, FAT16_SecsPerCluster
     137      ;movzx  bx, FAT16_SecsPerCluster
     138      mov   bl,FAT16_SecsPerCluster
     139      mov   bh,0
     140
    134141      mul    bx
    135142      shl    edx, 16
     
    145152   add    di, ax
    146153   ; Finally, look for next Cluster following to this one...
    147    movzx  bx, dl
     154   ;movzx  bx, dl
     155   mov   bl,dl
     156   mov   bh,0
     157
    148158   shl    bx, 1                          ; BX - Offset within FAT-Table
    149159   shr    dx, 8                          ; DX - FAT-Sector
     
    259269         pop       ax
    260270         mov    dx, si
    261          movzx  cx, ah
     271         ;movzx  cx, ah
     272         mov   cl,ah
     273         mov   ch,0
     274
    262275         rep    movsb
    263276         mov    si, dx                   ; Restore SI
  • trunk/BOOTCODE/SPECIAL/FX.ASM

    r29 r30  
    1919;                                                            AiR-BOOT / F/X
    2020;---------------------------------------------------------------------------
     21
     22IFDEF ModuleNames
     23DB 'FX',0
     24ENDIF
    2125
    2226; There you go. Some nice old-school demo coder effects :)
     
    268272      cmp     di, FX_MaxScanLine
    269273      jb      FX_MCS_VerticalLoop
    270  
     274
    271275      mov     ax, FX_CooperBarsTimer
    272276      dec     ax
     
    386390     FX_CC_ActiveState:
    387391      ; increment SinusPos by 1
    388       movzx   bx, bptr ds:[FX_SinusPos+si]
     392      ;movzx   bx, bptr ds:[FX_SinusPos+si]
     393      mov   bl,bptr ds:[FX_SinusPos+si]
     394      mov   bh,0
     395
    389396      inc     bx
    390397      mov     bptr ds:[FX_SinusPos+si], bl
     
    409416FX_CalculateWideScroller        Proc Near   Uses
    410417   mov     bx, FX_WideScrollerCurPos
    411    movzx   cx, FX_WideScrollerSpeed
     418   ;movzx   cx, FX_WideScrollerSpeed
     419   mov   cl,FX_WideScrollerSpeed
     420   mov   ch,0
     421
    412422   test    FX_WideScrollerAbsDirection, 1
    413423   jnz     FXCWS_RIGHT
  • trunk/BOOTCODE/SPECIAL/FXTABLES.ASM

    r29 r30  
    2020;---------------------------------------------------------------------------
    2121
     22IFDEF ModuleNames
     23DB 'FXTABLES',0
     24ENDIF
     25
    2226; Sinus-Table - 128xWORD = 256 Bytes
    2327FX_SinusTab dw 00101h, 00102h, 00103h, 00105h, 00107h, 0010Ah, 0010Dh, 00111h
  • trunk/BOOTCODE/SPECIAL/LINUX.ASM

    r29 r30  
    4040;  some nice menus, setup, text, cyrillic support, demo-coder effects, easy
    4141;  handling, help, auto-detection and plenty of other stuff INTO AROUND 25k.
    42 ; 
     42;
    4343; Oh, why is this code here? Because of 2 friends of mine. Otherwise I wouldnt
    4444;  have done it as well as fat16.asm.
     45
     46IFDEF ModuleNames
     47DB 'LINUX',0
     48ENDIF
    4549
    4650Linux_TranslateBase     db '/dev/hd'
     
    217221   mov     dx, ds:[si+LocIPT_LocationBegin]
    218222   ; from now on, we don't need si anymore
    219    
     223
    220224   ; Linux has 1 'BR' (which is crap) and some setup sectors
    221225   ; we load them at 9000:0, what a luck, we are at 8000:0 :-))
     
    342346   jz      LLL_LoadNormalKernel
    343347   jmp     LLL_LoadBigKernel
    344          
     348
    345349  LLL_LoadNormalKernel:
    346350   ; NORMAL KERNEL
     
    458462                        dw          0
    459463                        dw          0FFFFh
    460 MBR_Linux_GDT_Dst       db          0, 0, 10h    ; Dest is "10000:0" 
     464MBR_Linux_GDT_Dst       db          0, 0, 10h    ; Dest is "10000:0"
    461465                        db          093h
    462466                        dw          0
  • trunk/BOOTCODE/SPECIAL/LVM.ASM

    r29 r30  
    1919;                                                            AiR-BOOT / LVM
    2020;---------------------------------------------------------------------------
     21
     22IFDEF ModuleNames
     23DB 'LVM',0
     24ENDIF
    2125
    2226LVM_InitCRCTable                Proc Near   Uses
     
    2529   mov    di, offset LVM_CRCTable
    2630  LVM_ICRCT_Loop:
    27       movzx  ax, cl
     31      ;movzx  ax, cl
     32      mov   al,cl
     33      mov   ah,0
     34
    2835      xor    dx, dx                      ; DX:AX - CRC-Value
    2936      mov    ch, 8
     
    8693   test    [CFG_IgnoreLVM], 1            ; We are supposed to ignore LVM, so
    8794   jnz     LVMCSS_InvalidSignature       ;  any sector is bad!
    88    cmp     wptr [si+LocLVM_SignatureStart], 5202h
     95   cmp     wptr [si+LocLVM_SignatureStart], 5202h                                ; Rousseau: identify LVM sector
    8996   jne     LVMCSS_InvalidSignature
    9097   cmp     wptr [si+LocLVM_SignatureStart+2], 'BM'
  • trunk/BOOTCODE/SPECIAL/SOUND.ASM

    r29 r30  
    1919;                                                  AiR-BOOT / SOUND SUPPORT
    2020;---------------------------------------------------------------------------
     21
     22IFDEF ModuleNames
     23DB 'SOUND',0
     24ENDIF
    2125
    2226; Here is some sound code. Requested by Hex1753.
     
    108112   ret
    109113SOUND_WaitToSilence            EndP
     114
     115
     116
     117; Rousseau: added
     118SOUND_Beep                     PROC Near
     119   pushf
     120   pusha
     121
     122   mov      al, 7
     123   mov      bh, 0
     124   mov      bl, 7
     125   mov      ah, 0eh
     126   int      10h
     127
     128   popa
     129   popf
     130   ret
     131SOUND_Beep                     ENDP
  • trunk/BOOTCODE/SPECIAL/VIRUS.ASM

    r29 r30  
    2323; system will get halted. On Non-Real-Mode this will only save Interrupt Vectors.
    2424; Segment Registers preserved
     25
     26IFDEF ModuleNames
     27DB 'VIRUS',0
     28ENDIF
     29
    2530VIRUS_CheckForStealth      Proc Near  Uses ds si es di
    2631   xor     al, al
     
    154159   mov     bx, BootBasePtr
    155160   mov     dx, 0080h
    156    mov     cx, 003Ch                     ; First Harddrive, Sector 60
     161   ;mov     cx, 003Ch                     ; First Harddrive, Sector 60
     162   mov     cx, image_size / sector_size  ; Harddisc 0, Sector 60 (or 62 for extended version)
    157163   mov     ax, 0301h                     ; Write 1 Sector
    158164   int     13h
     
    166172   mov     bx, offset TmpSector
    167173   mov     dx, 0080h
    168    mov     cx, 003Ch                     ; Harddisc 0, Sector 60
     174   ;mov     cx, 003Ch                     ; Harddisc 0, Sector 60
     175   mov     cx, image_size / sector_size  ; Harddisc 0, Sector 60 (or 62 for extended version)
    169176   mov     ax, 0201h                     ; Load 1 Sector
    170177   pushf
Note: See TracChangeset for help on using the changeset viewer.