Category : Assembly Language Source Code
Archive   : ASMDEVEL.ZIP
Filename : TONESET.ASM

 
Output of file : TONESET.ASM contained in archive : ASMDEVEL.ZIP
; ROUTINE TO SELECT TONE
;
;--------------------------- code segment starts ------------------------------
codes segment
;--------------------------- public declarations starts -----------------------
; PUBLIC DECLARATIONS
public toneset
;--------------------------- public declarations ends -------------------------
assume cs:codes
;
toneset proc far
;
push ax ; save registers
;
; turn off timer 2 and speaker
mov al,cl ; lower byte
out 42h,al ; out to timer
mov al,ch ; upper byte
out 42h,al ; out to timer
;
pop ax ; restore registers
ret
;
toneset endp
;--------------------------- code segment ends --------------------------------
codes ends
end



  3 Responses to “Category : Assembly Language Source Code
Archive   : ASMDEVEL.ZIP
Filename : TONESET.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/