Jeff Hanson has a problem with MODE:
http://www.jhanson.com/aquajack.shtml (FreeDOS arkade machine :-))
It seems that setting to 19200 N 8 1 either fails (could it be that
int 14.4/5 are not supported by modern BIOSes?) or at least MODE
should raise DTR/RTS. He reports that Win9x MODE does this:
http://fd-doc.sourceforge.net/faq/cgi-bin/viewfaq.cgi?faq=incoming/213

Jeff (BCCing him), could you try if 9600 baud works better?
I have added BAUDHARD to MODE today (use: BAUDHARD=192 in your case)
but it seems that reading the current baud rate fails (BAUDHARD=1 mode).
Using BAUDHARD will raise RTS/DTR (or regbase+4 with value 3) for now
but I doubt that this is a really useful function.

Please let me know if MS MODE really raises DTR/RTS...

Eric.

PS: I do not trust the BAUDHARD=1 mode for now, always seems to read
2400 baud, but register is documented as read/write!
Should I add code to wait until send queue is empty before accessing
baud rate? I googled that some UARTs might crash otherwise, but I
fear the code would inflate MODE (UPXed) to > 16384 bytes X-).

[ http://www.coli.uni-sb.de/~eric/stuff/soft/ mode-23apr2004.zip ]



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Freedos-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to