In some of the int21 routines it says that we should use DOSDEV_Peek/Read/Write. Should we also use the functions in the devices.c to implement all functions on devices like ioctls etc.?
nog.
György 'Nog' Jeney a écrit :
In some of the int21 routines it says that we should use DOSDEV_Peek/Read/Write.
it seems to be related to console only functions in that case, you could use directly the console functions
Should we also use the functions in the devices.c to implement all functions on devices like ioctls etc.?
for the other int21 (disk read/write for instance), yes ioctl are the way to go A+
Should we also use the functions in the devices.c to implement all functions on devices like ioctls etc.?
for the other int21 (disk read/write for instance), yes ioctl are the way to go
I don't quite understand your english here, are you saying that ioctls in int21 _should_ be implemented using functions from devices.c (like DOSDEV_IoctlRead/DOSDEV_IoctlWrite)?
nog.
György 'Nog' Jeney a écrit :
Should we also use the functions in the devices.c to implement all functions on devices like ioctls etc.?
for the other int21 (disk read/write for instance), yes ioctl are the way to go
I don't quite understand your english here,
please excuse my French ;-)
are you saying that ioctls in int21 _should_ be implemented using functions from devices.c (like DOSDEV_IoctlRead/DOSDEV_IoctlWrite)?
I was referring to DeviceIoControl calls (if you really want to only use exported functions from kernel in order to implement int 21h and device related traps)
A+