Category : Assembly Language Source Code
Archive   : ASMSUB2.ZIP
Filename : INITMEM.ASM
;----------------------------------------------------------
;
; FUNCTION: This program initializes memory from
; 544k to 576k.
;
; Author: Malcolm McCorquodale III
; 3470 Locke Lane
; Houston, Texas 77027
; 713 - 626 -4979
;
;----------------------------------------------------------
cseg segment 'code'
assume cs:cseg
initmem proc far
push ds ; Linkage.
xor ax,ax
push ax
cld ; Set auto incr for string ops.
mov cx,544*1024/16
mov es,cx ; ES = 544kb.
mov cx,32*1024 ; Initialize 32kb.
xor di,di ; Offset into ES at which to start.
rep stosb ; Init memory.
ret ; Return to caller.
initmem endp
cseg ends
end
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/