-
Notifications
You must be signed in to change notification settings - Fork 70
N: SIO Command 'T' Set Translation
delysio edited this page Nov 19, 2021
·
3 revisions
Set the aux1 and aux2 parameters for a given channel. This has the effect of setting translation for a given Network protocol, and is overridden by a subsequent OPEN command.
DCB | Value |
---|---|
DDEVIC | $71 |
DUNIT | $01 - $04 |
DCOMND | $54 'T' |
DSTATS | $00 |
DBUF | NULL |
DTIMLO | $0F |
DBYT | 0 |
DAUX1 | new aux1 value (see below) |
DAUX2 | new aux2 value (see below) |
aux1 | description |
---|---|
4 | READ |
8 | WRITE |
12 | READ/WRITE |
These values change how incoming CR/LF characters are translated into EOL, and translate how EOL characters are turned back into CR or CR/LF, respectively:
aux2 | description |
---|---|
0 | No Translation |
1 | CR to EOL, EOL to CR |
2 | LF to EOL, EOL to LF |
3 | CR/LF to SPACE/EOL, EOL to CR/LF |
OS.dcb.ddevic=0x71;
OS.dcb.dunit=1;
OS.dcb.dcomnd='T';
OS.dcb.dstats=0x00;
OS.dcb.dbuf=NULL;
OS.dcb.dtimlo=0x0f;
OS.dcb.dbyt=0;
OS.dcb.daux1=12;
OS.dcb.daux2=3; // Set to CR/LF.
siov();
XIO ASC('T'),#1,0,3,"N:":REM SET TRANSLATION CR/LF to SPACE/EOL, EOL to CR/LF
Put other related command links here.
Copyright 2024 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD
- Home
- What is FujiNet?
- The Definition of Done
- Board bring up for FujiNet Platform.IO code
- The Complete Linux CLI Guide
- The Complete macOS CLI Guide
- Development Env for Apps
- FujiNet-Development-Guidelines
- System Quickstarts
- FujiNet Flasher
- Setting up a TNFS Server
- FujiNet Configuration File: fnconfig.ini
- AppKey Registry - SIO Command $DC Open App Key
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine