NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: alexBishop on February 06, 2011, 05:33:55 AM

Title: pmode cdrom read
Post by: alexBishop on February 06, 2011, 05:33:55 AM
Can anyone please show me how to read from a cdrom in protection mode, (without switching to real mode or v86 mode), is there a set of io ports for doing this and if so how are they used.
Title: Re: pmode cdrom read
Post by: Frank Kotler on February 06, 2011, 02:30:18 PM
Hi Alex,

This may help...

http://wiki.osdev.org/ATAPI

My understanding is that not all cd roms follow the ATAPI spec. Older ones, in particular, may use a different interface. I think some of 'em used to masquerade as an IDE drive (I think I've got some code to read an IDE drive via ports... but rmode).

Best,
Frank