Ignore:
Timestamp:
May 6, 2011, 4:25:19 AM (14 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)
File:
1 edited

Legend:

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

    r29 r30  
    2020;---------------------------------------------------------------------------
    2121
     22IFDEF ModuleNames
     23DB 'TIMER',0
     24ENDIF
     25
    2226; This here is one of the rare cases that I'm using DIV and MUL opcodes. I
    2327;  could have coded around them in here as well, but I was too lazy. Most of
     
    3943;       Out: Nothing
    4044TIMER_WaitTicCount              Proc Near   Uses ax bx dx
    41    movzx   bx, al
     45   ;movzx   bx, al
     46   mov   bl,al
     47   mov   bh,0
     48
    4249   call    TIMER_GetTicCount
    4350   add     bx, ax                        ; BX - Required lower Tic
     
    6269   mul     bl                            ; Result * 91
    6370   mov     dx, ax
    64    movzx   ax, bh
     71   ;movzx   ax, bh
     72   mov   al,bh
     73   mov   ah,0
     74
    6575   mov     bl, 18
    6676   mul     bl                            ; Remainder * 18
     
    8090   div     dl                            ; Tics : 91
    8191   mov     dh, al
    82    movzx   ax, ah
     92   ;movzx   ax, ah
     93   mov   al,ah
     94   mov   ah,0
     95
    8396   mov     dl, 18
    8497   div     dl                            ; Remainder : 18
     
    87100   mov     bl, 5
    88101   mul     bl                            ; Result * 5
    89    movzx   dx, dh
     102   ;movzx   dx, dh
     103   mov   dl,dh
     104   mov   dh,0
     105
    90106   add     ax, dx                        ; Add both together...
    91107   ret
Note: See TracChangeset for help on using the changeset viewer.