A weird ATAPI problem
Posted: Wed Nov 09, 2005 3:16 am
I made a routine to eject the cd.
@Bochs: At first time the cd is ejecting properly. Then it doesn't ejects.
@VMWare: The CD is not at all ejected.
@Real Hardware: The CD is not ejected for the first time. Then it always ejects properly.
Why is this weirdness? Is this becoz of poor coding or improper configuration or anything else.
One thing i forgot to say. Everytime the IRQ fires properly in all the three cases.
In VMware how could i see the configurations like ioaddr1 & 2 as in case of Bochs.
config
------
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=cdrom, path=F:, status=inserted
@Bochs: At first time the cd is ejecting properly. Then it doesn't ejects.
@VMWare: The CD is not at all ejected.
@Real Hardware: The CD is not ejected for the first time. Then it always ejects properly.
Why is this weirdness? Is this becoz of poor coding or improper configuration or anything else.
One thing i forgot to say. Everytime the IRQ fires properly in all the three cases.
In VMware how could i see the configurations like ioaddr1 & 2 as in case of Bochs.
config
------
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=cdrom, path=F:, status=inserted