Category : C Source Code
Archive   : MIKES40C.ZIP
Filename : BORDER.ASM

 
Output of file : BORDER.ASM contained in archive : MIKES40C.ZIP
page,132
title BORDER.ASM - SET SCREEN BORDER COLOR for MICROSOFT 'C' (4.0)
;
; border(int) Color text screen border 0=black 1=blue 2=green 3=red
; by Mike Elkins
;
;
_text segment byte public 'code'
assume cs:_text

public _border

arg struc
oldbp dw ?
retn dw ?
clr dw ?
arg ends

_border proc near

push bp
mov bp,sp
mov dx,3d9h
xor ax,ax ;set up for low memory stuff
mov ax,[bp].clr ;put color in di
out dx,al
pop bp
ret

_border endp
_text ends
end


  3 Responses to “Category : C Source Code
Archive   : MIKES40C.ZIP
Filename : BORDER.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/