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