Author Topic: pmode cdrom read  (Read 2981 times)

Offline alexBishop

  • Jr. Member
  • *
  • Posts: 10
pmode cdrom read
« 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.

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2358
  • Country: us
Re: pmode cdrom read
« Reply #1 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