
I need help with interrupts
Quote:
> I'm writing a program that needs to check the contents of a floppy drive
> when that drive is accessed. At the moment I'm using the $0E int but my
> machine stalls when the interrupt tries to check the drive.
Perhaps you're a bit confused? Int 0eh, as it relates to the floppy
controller, is a hardware interrupt, not a software interrupt, generated
by the controller when an operation is completed.
Quote:
> Could it be that I can't use a dos function while i'm using the
> interrupt, if so how do I fix the problem???
Try simplifying, and not making it so {*filter*} yourself. If you just
want to see if the drive is accessible, call dos.findfirst(). A
non-zero value should indicate an error.
Quote:
> Thanks in advance
> mark
--
Scott Earnest | We now return you to our regularly |