[dev kernel, will check stable shortly]
It was brought to my attention by Eric that in config.sys read() returns an unsigned count or 0xFFFF on error but we were checking as though it returned a signed value (-1 or less than requested count). I committed the change that makes these tests check instead for != requested count (ie less than requested count or 0xFFFF; also greater than requested count is an error, but can only be seen if the kernel is already corrupted).

I also committed some code lying around in my tree, it is very simple code that allows DebugPrintfs to be sent to a COM port (hard coded as to which one, so a recompile is needed if you want to use another one). Note really the most robust stuff, but works well for debugging apps that don't mess with the serial ports. All conditional, so won't show up unles explicitly requested, also I think its OW only.

Jeremy




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to