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
- Atari FujiNet Quickstart Guide
- Virtual FujiNet Quickstart Guide
- ADAM FujiNet Quickstart Guide
- Apple II & III FujiNet Quickstart Guide
- Color Computer Quickstart Guide
- Commodore FujiNet Quickstart Guide
- S100 FujiNet Quickstart Guide
- Mac68k Quickstart Guide
- RS232 Quickstart Guide
- Atari 5200 Owner's Manual
- Arcadia 2001 Owner's Manual
- 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
- NES Programming
- Atari 7800 Programming
- RCA Studio II Programming
- Atari 5200 Programming
- Testing Plan
- Hacker List
- FujiNet VirtualMachine
Copyright 2026 Contributors to the FujiNetWIFI project.
Join us on Discord: https://discord.gg/7MfFTvD