home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
microcrn
/
issue_45.arc
/
TECHTP45.ARC
/
TECHTIPS.3
< prev
next >
Wrap
Text File
|
1988-03-23
|
928b
|
20 lines
; Micro Cornucopia Magazine Issue #45 Figure 3
; DEBUG session to alter floppy step rate
C>debug
-a ; invoke DEBUG's assembler
????:0100 xor ax,ax ; zero the AX register
????:0102 mov ds,ax ; DS = 0
????:0104 mov bx,522 ; offset of DPT
????:0107 mov byte ptr [bx],ef ; new step rate (ef = 4 msec) to DPT
????:010A int 13 ; reset FDC (AH still = 0 from above)
????:010C int 20 ; return to DOS
????:010E ; <cr> here exits assembler
-nfaststep.com ; name file and set up FCB
-rcx ; cx register gets file length
CX 0000 ; current value of cx
:e ; change to e, length of file
-w ; write the file to disk
Writing 000E bytes
-q ; quit DEBUG