home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
assemblr
/
library
/
slowdown
/
slow.asm
< prev
next >
Wrap
Assembly Source File
|
1989-04-15
|
998b
|
33 lines
name slow
title 'Slow.Com -- puts board into deburbo mode (simulated 8 Mhz)'
cr equ 0dh ; ASCII carriage return
lf equ 0ah ; ASCII line feed
cmnd equ 64h ; command register
code segment public
org 100h ; COM file
assume cs:code,ds:code
start:
mov ax, cs ; set ds equal to cs
mov ds, ax
mov al, 0eah ; value for deturbo mode
out cmnd, al ; write to command port
mov dx, offset deturbo ; tell user that switch happened
mov ah, 9 ; use DOS func 9 to
int 21h ; print the string
mov ax, 4c00h ; exit back to DOS with
int 21h ; a return code of zero
deturbo db cr,lf,'Slow.Com -- now running in deturbo mode.',cr,lf,'$'
code ends
end start