]> 4ch.mooo.com Git - 16.git/blobdiff - 16/wf3d8086/c0.asm
got 8086 port of wolf3d to work and sod to work
[16.git] / 16 / wf3d8086 / c0.asm
index f93f921392225c3696ad89a2d821e7a1a8fb7b7c..8adb36b116b779d82a2001a21debb43e9ccebaa6 100755 (executable)
@@ -204,14 +204,14 @@ IFDEF     __BOSS__
 ;              JNE     InRealMode\r
 \r
                .286P\r
-IFE    LDATA                                   \r
+IFE    LDATA\r
                mov     dx, ds                  ;\r
 ;              LSL     AX, DX                  ;\r
 ;              DEC     AX                      ;\r
                MOV     AX, 0FFFEh              ;\r
                MOV     SP, AX                  ;\r
                MOV     SS, DX                  ;\r
-ENDIF                                          \r
+ENDIF\r
                .8086\r
 ;              JMP     BossSkip\r
 \r
@@ -236,7 +236,7 @@ IFDEF __BOSS__
 InitFailed:     jmp     near ptr _abort\r
 InitOK:\r
 ENDIF\r
-     \r
+\r
                 inc     bx              ; BX = Nb environment variables\r
                 cmp     es:[di], al\r
                 jne     @@EnvLoop       ; Next variable ...\r
@@ -410,7 +410,7 @@ ENDIF
                mov     es,ax                   ;  at 40:70\r
                mov     bx,70h\r
                mov     byte ptr es:[bx],1\r
-                       \r
+\r
 @@NotMidnight:\r
                 xor     bp,bp                   ; set BP to 0 for overlay mgr\r
 \r
@@ -565,9 +565,9 @@ SaveVectors     ENDP
 ;--------------------------------------------------------------------------\r
 ;       _restorezero() puts back all the vectors that SaveVectors took.\r
 ;\r
-;NOTE : TSRs must BE AWARE that signal() functions which take these \r
+;NOTE : TSRs must BE AWARE that signal() functions which take these\r
 ;       vectors will be deactivated if the keep() function is executed.\r
-;       If a TSR wants to use the signal functions when it is active it \r
+;       If a TSR wants to use the signal functions when it is active it\r
 ;       will have to save/restore these vectors itself when activated and\r
 ;       deactivated.\r
 ;--------------------------------------------------------------------------\r
@@ -607,7 +607,7 @@ ENDIF
                 ENDP\r
 \r
 ;------------------------------------------------------------------\r
-;  Loop through a startup/exit (SE) table, \r
+;  Loop through a startup/exit (SE) table,\r
 ;  calling functions in order of priority.\r
 ;  ES:SI is assumed to point to the beginning of the SE table\r
 ;  ES:DI is assumed to point to the end of the SE table\r
@@ -750,12 +750,12 @@ lgth_no286MSG     equ             $ - no286MSG
 \r
 ;\r
 ;                       Interrupt vector save areas\r
-;       \r
+;\r
 ;       Interrupt vectors 0,4,5 & 6 are saved at startup and then restored\r
 ;       when the program terminates.  The signal/raise functions might\r
 ;       steal these vectors during execution.\r
 ;\r
-;       Note: These vectors save area must not be altered \r
+;       Note: These vectors save area must not be altered\r
 ;             without changing the save/restore logic.\r
 ;\r
 PubSym@         _Int0Vector     <dd     0>,             __CDECL__\r
@@ -764,7 +764,7 @@ PubSym@         _Int5Vector     <dd     0>,             __CDECL__
 PubSym@         _Int6Vector     <dd     0>,             __CDECL__\r
 ;\r
 ;                       Miscellaneous variables\r
-;       \r
+;\r
 PubSym@         _C0argc,        <dw     0>,             __CDECL__\r
 dPtrPub@        _C0argv,        0,                      __CDECL__\r
 dPtrPub@        _C0environ,     0,                      __CDECL__\r