Kevin O'Connor wrote:
]Yeah. One can call malloc_low() during the init phase to allocate ]this buffer. Ideally, though, there would be some way to share buffer ]space with the other users (eg, cdemu, ide dma, usb). ] ]-Kevin
Hello Kevin,
The attached patch used a malloc_low disk sector buffer when the caller's buffer is not aligned. The read handling is tested with DOS and the write handling is untested.
There is another problem. The same DOS image as eltorito CD-ROM causes the same problem, but with atapi. So maybe a shared 2048 byte buffer is needed.
Thanks, Scott