home *** CD-ROM | disk | FTP | other *** search
- name fast
- title 'Fast.Com -- puts board into turbo mode (reset from slow.com)'
-
- 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, 0e5h ; value for turbo mode
- out cmnd, al ; write to command port
-
- mov dx, offset turbo ; 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
-
- turbo db cr,lf,'Fast.Com -- now running in turbo mode.',cr,lf,'$'
-
- code ends
- end start