Page 1 of 1

Help with HD seeks, reads & writes

Posted: Sun Apr 16, 2006 5:41 pm
by Pete
Hey guys, I'm busy writing a TV script....could you help this guy?
email: grobertson49@hotmail.com

name: David

Comments: Pete...nice site. I looked through your site but I'm looking for something specific. In the early '80's, I was a computer technician, and I used Basic in an interactive mode to operate a hard drive. I could write a very simple program on screen and get it to execute, making the hard drive do seeks, reads, writes, etc.

Is that possible with QBasic? I'd like to interact with my hard drive at a register level (1F0), etc., and send it commands in real time.

thanks,

David

Posted: Mon Apr 17, 2006 2:25 pm
by MystikShadows
under a Windows OS it's not very possible no...but if he has a DOS native machine, he may be able to accomplish this using ralf brown's interrupt list.

here's a link to the Disk related interrupts.
http://www.ctyme.com/intr/cat-008.htm

all he has to do is set the proper registers to the proper values he'll find on that page and and he should be good to go. with the classic call interrupt QB routines.