View Full Version : Bell 202 modem object how to change the start bit detection

10-15-2011, 07:14 PM
How I can change the start and stop bit detection?
Actually the object detect a Low (1200Hz) as start bit and High(2200hz) as stop bits
I want to detect inverted data start bit as high(2200Hz) and data stop bit as Low(1200Hz)

how I can change it?

Phil Pilgrim (PhiPi)
10-15-2011, 07:43 PM
It's a kludge, but I think this will work. In the start_explicit method there are these two lines:

frq1200 := 268_520_632
frq2200 := 492_287_824

Just swap the two values assigned. Please come back and let us know if it worked.


10-16-2011, 03:20 AM
It work fine, thanks a lot Phil

11-17-2011, 11:35 PM
Dear Phil,

Related to Bell 202 modem, there is a way to clean the receive buffer before to put the modem in receive mode?


Phil Pilgrim (PhiPi)
11-18-2011, 12:18 AM
That's really easy, and I'm not sure why I didn't think to include it. Just add the following method to the Bell 202 object:

PUB clrinp

{ Clear the input character buffer }

rdeq := renq


11-21-2011, 07:18 PM
Thanks phil I wil try wit it