Atari XL Spartados X Lwpath Environment Variable, Spartados X Memory Configurations, USE Banked

Page 63

The Last Word 3.0 Reference Manual

OFF” at the SDX command prompt before loading the program. You could write a batch file as follows:

KEY OFF

XLW.EXE KEY ON

The above will ensure the SDX key buffer is off, run LW, then turn the key buffer on again.

9.6.1 THE SPARTADOS X “LWPATH” ENVIRONMENT VARIABLE

SpartaDOS X users may be familiar with that operating system’s PATH environment variable. LW has its own path, and under SpartaDOS X this path is defined using the LWPATH environment variable. LWPATH can contain multiple paths, just like the SDX PATH, is this path is searched every time an LW system file is loaded unless a different path is explicitly provided by the user. This means LW fonts, macros, printer drivers, etc, can all be stored in the same folder and accessed without typing any path names or drive identifiers. To set up the LWPATH variable, you would include a line similar to the following in your CONFIG.SYS:

SET LWPATH=D8:;D1:\LW

This will cause LW to first search the current directory of drive 8 followed by the folder “LW” on drive 1 when loading fonts, macros, etc, when no other path has been supplied. Note that if the file is not found by searching the paths in LWPATH, the default drive will ALWAYS be searched last. Note also that LW’s default drive is not necessarily the same as DOS’s default drive (usually “D:”). LW’s default drive specifier is the same as the disk menu drive number and is prepended to all filenames for which no device identifier has been explicitly provided. If for any reason you want to ensure that the default DOS drive is searched, include “D:” (without quotes) as an entry in

LWPATH.

Another point to note about the search path is that since it is also part of the config (CFG) file, it’s possible that the path defined via a PATH command in LW.CFG might immediately overwrite the path defined via the LWPATH environment variable when LW loads. Careful synchronisation of configuration files is clearly required. If you want to make sure only the path in LWPATH is used, remove all PATH lines from you CFG files.

9.6.2 SPARTADOS X MEMORY CONFIGURATIONS

LW 3.0 requires that SpartaDOS X is using “BANKED” memory. This is because the program loads under the operating system (making a “USE OSRAM” configuration unusable), and if SpartaDOS X uses conventional (LOW) memory, MEMLO will be too high for LW to load. So, unless you have more than 128K fitted to your machine, you must boot SDX with a CONFIG.SYS which contains the following line:

USE BANKED

If your Atari has more than 128K, SDX will automatically use BANKED RAM unless you tell it otherwise.

9-63

Image 63
Contents Last Word Contents Configuring LW for Your Printer Configuring LWMacros Programmers Technical Notes LW Command SummaryPrint Formatting Commands DOS Packages and LWOverview of the Last Word IntroductionAbout the Manual Starting LWLoading LW from Spartados SHIFT+CTRL+W Basic OperationEdit Screen LW LETTER.TXTLast Word 3.0 Reference Manual Filename exists Overwrite / ? Text BanksSaving and Loading Text SHIFT+CTRL+?Last Word 3.0 Reference Manual File Selector Basic ConfigurationCTRL+X Leaving the ProgramEditor Commands Cursor MovementText Entry Modes Delete ord, ine, entence, aragraph? Inserting and Deleting TextMoving and Copying with Text Blocks Hange, ll, To nd, kip? Finding and Replacing TextSearching with Wildcards FindTH SFind Change to Tabulation Additional Editor FeaturesEdited Text Indicator Counting WordsBookmarks Text and Document ModesCTRL+B User Options Editing Multiple FilesWildcards Y LoadREPORT.DOC/C Handling Large Files2DTHESIS.TXT2 Save AsDREPORT.DOC/ACTRL+J Disk OperationsDisk Operations from the Editor Disk MenuPec IewOpy Ock OrmatVail SHIFT+CTRL+ Down Additional CommandsSubdirectory Features CTRL+HKeeping Track of Pagination Editor Print CommandsPrinting with LW Previewing TextL20r60helloReturn Embedded CommandsStage 1 Commands L20ReturnLast Word 3.0 Reference Manual Set the left margin. The default is Left header/footer margin, default 10. This works like Stage 2 Commands SHIFT+CTRL+SPACE Other Print FeaturesCreating Hanging Indents International CharactersConfiguring the Print Formatter Configuring LW for Your Printer Printer DriversCreating a Printer Driver Print Toggles Control StringsInit Code 1,129 International on 27,82,12 International OFF 27,82,0Style 1,27,45,8 Style 2,27,83,2 Last Word 3.0 Reference Manual Loading Macros MacrosAutorun Macros Running MacrosWriting and Editing Macros Special Macro CommandsField. To actually get input from the user, you Must include Oad Ave OadRint Special Characters Disabling the Screen from MacrosEntering Other Commands from Macros Special Macro FontKeyboard Conventions for Macros Creating and Editing Macros Font Set Example MacrosTranspose Characters Last Word 3.0 Reference Manual Configuration Options in the Editor Configuring LWCFG Configuration Files Drive D1 Default DriveConfiguration Using a Supported DOS LW.SYS FileBanks 1,2,3,4 Reserve Extpages Configuration Using Other DOS PackagesExtpages Reserve Banked onSearch Path Banks 5,6,7,8,9,10,11,12Path D8D1LW Using Multipe Text Buffers Custom FontsKeyboard Buffer Customising the Keyboard Keyboard TableKEY n,n Invalid Remapping Commands Using Macros KEY 10,97KEY 150,3 3 1200 XL Keys Memlo DOS Packages and LWMemory Requirements Atari DOS XELW TEST.DOC /M% /PD1LW DISK-BASED SpartadosSpartados LW files /Mc /Ppath /Q /XSET LWPATH=D8D1\LW Spartados X Memory ConfigurationsSpartados X Lwpath Environment Variable KEY OFF LW.EXE KEY onLast Word 3.0 Reference Manual LW Command Summary Editor CommandsCommand Function Macro Equivalent Ctrl Y See SET CommandSHIFT+CTRL W Inverse Ctrl WKEY Function Special KeysINV CTRL+L Macro CommandsCommand Function INV CtrlDown Arrow Print Formatting CommandsCommand Function Default Value UP ArrowRight Arrow Left ArrowAssembly Language ADD-INS Programmers Technical NotesMemory Usage SEC Program DesignWHY LW Came Into Being Development and Testing12-74 12-75 Development Correspondence

XL specifications

The Atari XL series, launched in 1982, represented a significant evolution in home computing, building upon the foundation laid by the Atari 400 and 800 systems. This line of computers included popular models such as the Atari 600XL and 800XL, both of which combined affordability with robust capabilities, making them attractive options for home users, educators, and enthusiasts alike.

One of the standout features of the Atari XL series was its color display capabilities. The systems supported a resolution of 320x192 pixels with a vibrant palette of 128 colors, which enabled rich graphics for games and applications. This was complemented by the system's powerful Antic graphics chip that allowed for advanced video display modes, making the Atari XL series particularly popular for gaming and multimedia applications.

Another key technology driving the Atari XL series was its use of the 6502 processor, which delivered efficient performance and allowed for smooth multitasking. The systems typically came with 64KB of RAM, expandable to 128KB, providing ample memory for running multiple applications simultaneously, a notable feature in comparison to other microcomputers of the time.

The Atari XL series also introduced a new, user-friendly operating system known as Atari DOS. This improved disk management capabilities, making it easier for users to manage files and applications on floppy disks. The systems were equipped with built-in BASIC programming language, enabling users to dive into programming and coding, fostering a generation of hobbyists and developers.

Each model in the Atari XL series came with a distinctive keyboard design, offering both a chic and functional layout. The keyboards were known for their tactile feel, making them suitable for typing and coding over extended periods.

Additionally, the Atari XL computers were compatible with a wide range of peripherals, such as printers, modems, and disk drives, enhancing their versatility. Users could also take advantage of a rich library of software, including educational programs, productivity tools, and an ever-growing selection of games.

The Atari XL series not only boasted solid technology and capabilities but also garnered a devoted community. The systems contributed to a vibrant culture of gaming and computing in the early 1980s, which remains fondly remembered by enthusiasts today. With their combination of innovative technology, user-centric design, and a diverse software library, the Atari XL series played a crucial role in the evolution of home computing.