N: SIO Command SET TRANSLATION ($54) ['T']
This is a command for Devices $71-$78 - The N: Device (see SIO-Commands-for-Device-IDs-$71-to-$78).
Description
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.
Parameters
| 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 values
| aux1 | description |
|---|---|
| 4 | READ |
| 8 | WRITE |
| 12 | READ/WRITE |
Aux2 values
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 |
Examples
CC65
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();
Atari BASIC
XIO ASC('T'),#1,0,3,"N:":REM SET TRANSLATION CR/LF to SPACE/EOL, EOL to CR/LF
See Also
Put other related command links here.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
- 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 - AppKey-Registry-Page
- CP-M Support
- BBS
- Official Hardware Versions
- Prototype Board Revisions
- FujiNet Development Guidelines
- The Network Protocol Handbook
- Atari Programming
- Apple Programming
- C64 Programming
- ADAM Programming
- Intellivision Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine
Copyright 2026 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD