Fix 'procnear' -> ' proc near'

Automatically done using:

    sed -i '' -e 's/procnear/ proc near/g' src/*.md
This commit is contained in:
Thomas Perl 2020-05-21 10:54:08 +02:00
commit 9373e5d2ee
10 changed files with 23 additions and 23 deletions

View file

@ -759,7 +759,7 @@ Parmsends
.model small
.code
public _ChecksumChunk
_ChecksumChunkprocnear
_ChecksumChunk proc near
push bp
mov bp,sp
push si ;save C's register variable

View file

@ -263,7 +263,7 @@ NoByteFoundMsg db 0dh,0ah
db Buffer exhausted with no match.', 0dh, 0ah, $'
.code
Startprocnear
Start proc near
mov ax,@data ;point to standard data segment
mov ds,ax
mov dx,offset Prompt
@ -306,7 +306,7 @@ Startendp
; byte is found
; Carry Flag = set if searched-for byte found, reset otherwise
SearchMaxLengthprocnear
SearchMaxLength proc near
cld
SearchMaxLengthLoop:
lodsb ;get the next byte

View file

@ -395,7 +395,7 @@ Parmsends
.model small
.code
public _FindString
_FindStringprocnear
_FindString proc near
push bp ;preserve caller's stack frame
mov bp,sp ;point to our stack frame
push si ;preserve caller's register variables
@ -492,7 +492,7 @@ Parmsends
.model small
.code
public _FindString
_FindStringprocnear
_FindString proc near
push bp ;preserve caller's stack frame
mov bp,sp ;point to our stack frame
push si ;preserve caller's register variables
@ -743,7 +743,7 @@ parmsends
.model small
.code
public _Div
_Divprocnear
_Div proc near
push bp ;preserve caller's stack frame
mov bp,sp ;point to our stack frame
push si ;preserve caller's register variables

View file

@ -202,7 +202,7 @@ Startendp
; Draws the image at offset DS:SI to the current image location in
; VGA memory.
;
DrawImageprocnear
DrawImage proc near
mov ax,VGA_SEGMENT
mov es,ax
call GetImageOffset ;ES:DI is the destination address for the
@ -518,7 +518,7 @@ Startendp
; Enables set/reset for all planes, and sets the set/reset color
; to AL.
;
SelectSetResetColorprocnear
SelectSetResetColor proc near
mov dx,GC_INDEX
push ax ;preserve color
mov al,SET_RESET
@ -636,7 +636,7 @@ COLOR_DONT_CARE EQU 7 ;Color Don't Care register index in GC
;
code segment word 'CODE'
assume cs:code
Startprocnear
Start proc near
;
; Select graphics mode 12h.
;

View file

@ -574,7 +574,7 @@ Data ends
;
Code segment
assume cs:Code, ds:Data
Start procnear
Start proc near
cld
mov ax,Data
mov ds,ax

View file

@ -328,7 +328,7 @@ Startendp
;
; Registers altered: AL, DX
;
WaitForVerticalSyncStartprocnear
WaitForVerticalSyncStart proc near
mov dx,INPUT_STATUS_0
WaitNotVerticalSync:
in al,dx
@ -349,7 +349,7 @@ WaitForVerticalSyncStart endp
;
; Registers altered: AL, DX
;
WaitForVerticalSyncEndprocnear
WaitForVerticalSyncEnd proc near
mov dx,INPUT_STATUS_0
WaitVerticalSync2:
in al,dx

View file

@ -491,7 +491,7 @@ WritePixelendp
;
; Registers altered: AX, CX, DX, SI, ES
;
ReadPixelprocnear
ReadPixel proc near
mov ax,VGA_SEGMENT
mov es,ax ;point to display memory
mov ax,SCREEN_WIDTH/4
@ -757,7 +757,7 @@ Start endp
;
; Output: none
;
Set320By400Modeprocnear
Set320By400Mode proc near
;
; First, go to normal 320x200 256-color mode, which is really a
; 320x400 256-color mode with each line scanned twice.
@ -853,7 +853,7 @@ Set320By400Mode endp
; make them slant down and to the left, 0 to make
; them vertical.
;
ColorBarsUpprocnear
ColorBarsUp proc near
mov ax,VGA_SEGMENT
mov es,ax ;point to display memory
sub bh,bh ;start with color 0
@ -891,7 +891,7 @@ ColorBarsUpendp
;
; Waits for the next key and returns it in AX.
;
GetNextKeyprocnear
GetNextKey proc near
WaitKey:
mov ah,1
int 16h

View file

@ -199,7 +199,7 @@ _TEXTsegment byte public CODE'
; Returns: nothing
;
public _Set360x480Mode
_Set360x480Modeprocnear
_Set360x480Mode proc near
push si ;preserve C register vars
push di
mov ax,12h ; start with mode 12h
@ -258,7 +258,7 @@ Color dw ? ;color in which to draw (in the
DParms ends
;
public _Draw360x480Dot
_Draw360x480Dotprocnear
_Draw360x480Dot proc near
push bp ;preserve caller's BP
mov bp,sp ;point to stack frame
push si ;preserve C register vars
@ -306,7 +306,7 @@ ReadY dw ? ;Y coordinate from which to read
RParms ends
;
public _Read360x480Dot
_Read360x480Dotprocnear
_Read360x480Dot proc near
push bp ;preserve caller's BP
mov bp,sp ;point to stack frame
push si ;preserve C register vars

View file

@ -199,7 +199,7 @@ SCparms ends
align ALIGNMENT
public -CosSin
-CosSinprocnear
-CosSin proc near
push bp ;preserve stack frame
mov bp,sp ;set up local stack frame

View file

@ -339,7 +339,7 @@ SCparms ends
alignALIGNMENT
public _CosSin
_CosSin procnear
_CosSin proc near
push bp ;preserve stack frame
mov bp,sp ;set up local stack frame
@ -597,7 +597,7 @@ FixedMulDone:
align ALIGNMENT
public _XformVec
_XformVecprocnear
_XformVec proc near
push bp ;preserve stack frame
mov bp,sp ;set up local stack frame
push si ;preserve register variables
@ -741,7 +741,7 @@ CXparms ends
align ALIGNMENT
public _ConcatXforms
_ConcatXformsprocnear
_ConcatXforms proc near
push bp ;preserve stack frame
mov bp,sp ;set up local stack frame
push si ;preserve register variables