Help with HD seeks, reads & writes

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Pete
Site Admin
Posts: 890
Joined: Sun Dec 07, 2003 9:10 pm
Location: Candor, NY
Contact:

Help with HD seeks, reads & writes

Post 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
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post 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.
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
Post Reply