> No way !!! The IO-permission mechanism in Windows uses the CPU hardware, so > it does not depend on the language (ASM vs Pascal). When the user (not "ring > 0") program executes the "in" or "out" operation, an exception occures, the > kernel check wether this port is "virtualized" and either performs the > standard in/out or executes the dedicated procedure provided by the > appropriate VxD driver... That works to some extent on Win95 and Win98. NT and Win2000 (really NT 5) will just crap your program if you try to access protected memory. As you mentioned, this is the way most "real" operating systems that have to deal with security work. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens Massachusetts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu