X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fdisplay4.S;h=87eff633f9d8217a4f093fba613e67a1177678e1;hb=f574e1127a225e2de2e77a6b9e46a65986789f1f;hp=7b7244f20cb790e038c90da3ebbf1601f37a55c5;hpb=0a7ead9db7967764f0d93d30f9a83c94cb6fc358;p=rrq%2Fmaintain_lilo.git diff --git a/src/display4.S b/src/display4.S index 7b7244f..87eff63 100644 --- a/src/display4.S +++ b/src/display4.S @@ -1,12 +1,13 @@ -/* display4.S is - - Copyright 2001-2005 John Coffman. - All rights reserved. - - Licensed under the terms contained in the file 'COPYING' in the - source directory. +; display4.S +; +; Copyright 2001-2005 John Coffman +; Copyright 2009-2013 Joachim Wiedorn +; All rights reserved. +; +; Licensed under the terms contained in the file 'COPYING' +; in the source directory. +; -*/ ; ; Static Name Aliases ; @@ -587,10 +588,10 @@ _display4: cmp WORD (bx+14+2),#0 ; hi-order part of DWORD jne d4_I573 seg es - cmp WORD (bx+14),#40 ; Windows/OS2 bitmap header + cmp WORD (bx+14),#40 ; Windows bitmap header je d4_I574 seg es - cmp WORD (bx+14),#12 ; OS2 bitmap header + cmp WORD (bx+14),#12 ; OS2 bitmap header (obsolete) je d4_I574 ; Line 297 d4_I573: @@ -616,7 +617,7 @@ d4_I574: cmp BYTE (bx),#40 ; Windows je d4_I575 -; OS2 bitmaps +; OS2 bitmaps (obselete) seg es mov ax,WORD (bx+8) seg es @@ -643,7 +644,7 @@ d4_I574: jne d4_I576 jmp d4_I575a -; Windows/OS2 bitmaps +; Windows bitmaps d4_I575: seg es mov ax,WORD (bx+12) @@ -891,13 +892,13 @@ d4_F581: les bx,(bp-22) ;bmh ;; seg es ;; mov ax,WORD (bx+8) ; 480 - mov ax,#480 ; Windows or OS2 + mov ax,#480 ; Windows ;; seg es ;; mov dx,WORD (bx+4) ; 640 - mov dx,#640 ; Windows or OS2 + mov dx,#640 ; Windows seg es - cmp BYTE (bx),#13 ; OS2 - sbb cx,cx ; OS2 = -1, Win = 0 + cmp BYTE (bx),#13 ; OS2 (obsolete) + sbb cx,cx ; Win = 0 OS2 = -1 (obsolete) not cx seg es and cx,WORD (bx+16) ; compression