Hi, On Mon, Aug 27, 2012 at 9:08 PM, Zoltán Bacskó <zbac...@gmail.com> wrote: > >> P.S. TSCDOS sounds cool, has TASM sources, but I'm not sure how >> accurate it is. Some processors (e.g. early Pentiums) eventually >> reset, and later ones were wonky (non-atomic??) on SMP machines. I >> guess that doesn't matter for us (and still seems to work correctly >> here). You should probably check for CPUID and check it first for >> availability, before blindly trying, though!! (You might even check >> for RDTSCP if available.) > > Thanks for the suggestions, I modified TSCDOS according to them. But I > did not integrate RDTSCP support, because I cannot see it useful in a > single tasking environment like DOS.(code is only executed on > bootstrap processor).
I'm not sure, just wanted to mention it anyways. > Serializing is handled by cpuid. > Anyway the codes are free to modify or improve, so If it was not clear > my offer included this permission too :). I'm sure Jim Hall will be happy to hear it. :-) > I think you are much more > experienced than me so I would be glad if you would improve the code. Not really, no. It's way beyond the days where a single person could adequately understand the internals of IBM PCs. Nowadays so much stuff is incompatible, undocumented, buggy, or new (or deprecated) that no one person or small group can cover it all. It's quite a mess! I was just trying to suggest that maybe it could be a bit more airtight. (Glad you added check for and use of CPUID. Though you still here assume 386+, heh.) ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel