XC-BASIC
XC-BASIC copied to clipboard
Suggestion: Communications ability with the userport
It is possible to add userport communications ability for use in creating a terminal program or BBS system in the near future? Enhanced communication routines with supported 2400 or even 9600 baud would be icing the cake.
The extension system is on the way, hopefully it will be ready for testing in a few days. Once it works, any kind of extensions can be added. If you request a new extension, please write a brief description with the following:
- What new constants should the extension define (if any)?
- What new commands should the extension define?
- Command name and arguments
- What does the command actually do?
- What new functions should the extension define (if any)?
- Function name, arguments and return type
- What does the function do?
Preferably write some examples, for example how would you implement each functionality in CBM BASIC or assembly?
Need the following "like" commands: (Hope this makes sense)
OPEN {speed,parity,bit,stop} OPEN 9600,N,8,1 GET #{port},A$ GET#1,A$ (Does not wait for A$ <> "") PRINT #{port},A$ STAT #{port},A (CONNECT,DCD,DTR)
Thanks. I admit I'll have to do some reading in the topic. Is there an existing code library that could be included in the project and we could get its routines wired to the new commands?
There may be some useful code which could be pulled from CCGMS 19 https://csdb.dk/release/?id=173065