Mail Archives: djgpp/1998/08/19/14:31:00
Sorry, rather impolite to follow up one own post, however, there is a 'bug' in
the term program in bcserio. The help page implies that
term -com:308,3:....
Would use IRQ 3, address 0x308. However, as it stands, the code will try and
read the address as decimal _unless_ it is prefixed with 0x. I have edited
mine to assume that it is hex by changing the line
if (sscanf(com,":%d,%d:%d,%c,%d,%d",&base,&irq,&baud,&parity,&bits,&stop)!=6)
to
if (sscanf(com,":%x,%d:%d,%c,%d,%d",&base,&irq,&baud,&parity,&bits,&stop)!=6)
cheap and nasty, but it does the trick,
Neil
--
Neil Townsend +44 (1865) 273121 neil AT robots DOT ox DOT ac DOT uk
- Raw text -