Atari XL manual LW.SYS File, Configuration Using a Supported DOS, Banks 1,2,3,4

Page 53

The Last Word 3.0 Reference Manual

8.3 THE LW.SYS FILE

The LW.SYS file is read once when LW first starts up. The information in the file is used to set-up LW’s memory configuration and other settings that can’t be changed once the program has finished setting itself up. LW.SYS must be written as a plain text file in the editor. Most of the time, the memory configuration commands in LW.SYS will be unnecessary, since the settings it affects are usually automatically configured. However, there may be occasions when it’s desirable to override these settings. LW.SYS is also necessary if you wish to manually disable LW’s built-in keyboard buffer or remap the keyboard, or define the LW search path on non-SpartaDOS X systems.

LW.SYS may contain the following instructions:

Instruction

Arguments

Comments

Default

BANKED

ON¦OFF

Turn banked memory usage on

ON (with

 

 

or off

supported

 

 

 

DOSes)

BANKS

n,n,n,n…

Specify banks to be used (from

Depends on

 

 

LW’s internal list)

available

 

 

 

memory

RESERVE

n

Reserve # banks for extensions

0

EXTPAGES

n

Reserve # pages for extension

0

 

 

code

 

BUFFER

ON¦OFF

Turn internal keyboard buffer on

ON (unless

 

 

or off

SDX buffer

 

 

 

installed)

PATH

Dn:<path>

Set LW search path

none

KEY

code,atascii

Attach code “atascii” to keycode

none

 

 

“code”

 

8.3.1 CONFIGURATION USING A SUPPORTED DOS

When using LW with a supported DOS (DOS 2.5, MyDOS, and SpartaDOS X), the program will automatically detect any extended memory on the machine and avoid those banks used by DOS/RAMdisks (providing the default RAMdisk drivers are used with DOS 2.5 and MyDOS). While manual configuration of the memory banking scheme should be unnecessary under these circumstances, it’s still possible to override the default settings.

Using a supported DOS, LW will scan the hardware to establish how many extended memory banks are installed in the system, then subtract from the resulting list those banks used by DOS (the only exception is SpartaDOS X, which helpfully provides its own built-in list of unused banks). The result is a list of the free banks on the system, rather than a list of all the banks installed on the machine. You may specify a selection of banks from this list as follows:

BANKS 1,2,3,4

Under DOS 2.5, MyDOS or SDX, this line will tell LW to use the first four banks from the list of free banks the program generated when it first initialized (the banks are ordered numerically according to the PORTB banking value, and are numbered beginning at 1). If there aren’t enough free banks to fulfil the amount requested by “BANKS”, as many as are available will be allocated. In the above example –

8-53

Image 53
Contents Last Word Contents Macros Configuring LW for Your PrinterConfiguring LW Print Formatting Commands LW Command SummaryDOS Packages and LW Programmers Technical NotesOverview of the Last Word IntroductionLoading LW from Spartados About the ManualStarting LW Edit Screen Basic OperationLW LETTER.TXT SHIFT+CTRL+WLast Word 3.0 Reference Manual Saving and Loading Text Text BanksSHIFT+CTRL+? Filename exists Overwrite / ?Last Word 3.0 Reference Manual File Selector Basic ConfigurationCTRL+X Leaving the ProgramText Entry Modes Editor CommandsCursor Movement Delete ord, ine, entence, aragraph? Inserting and Deleting TextMoving and Copying with Text Blocks Hange, ll, To nd, kip? Finding and Replacing TextFind Change to Searching with WildcardsFindTH S Edited Text Indicator Additional Editor FeaturesCounting Words TabulationCTRL+B BookmarksText and Document Modes Wildcards Y User OptionsEditing Multiple Files LoadREPORT.DOC/C Handling Large Files2DTHESIS.TXT2 Save AsDREPORT.DOC/ADisk Operations from the Editor Disk OperationsDisk Menu CTRL+JOpy PecIew Vail OckOrmat Subdirectory Features Additional CommandsCTRL+H SHIFT+CTRL+ DownPrinting with LW Editor Print CommandsPreviewing Text Keeping Track of PaginationStage 1 Commands Embedded CommandsL20Return L20r60helloReturnLast Word 3.0 Reference Manual Set the left margin. The default is Left header/footer margin, default 10. This works like Stage 2 Commands Creating Hanging Indents Other Print FeaturesInternational Characters SHIFT+CTRL+SPACEConfiguring the Print Formatter Creating a Printer Driver Configuring LW for Your PrinterPrinter Drivers Init Print TogglesControl Strings Style 1,27,45,8 Style 2,27,83,2 Code 1,129International on 27,82,12 International OFF 27,82,0 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 Rint Oad AveOad Special Characters Disabling the Screen from MacrosKeyboard Conventions for Macros Entering Other Commands from MacrosSpecial Macro Font 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 DriveBanks 1,2,3,4 Configuration Using a Supported DOSLW.SYS File Extpages Reserve Configuration Using Other DOS PackagesBanked on Reserve ExtpagesPath D8D1LW Search PathBanks 5,6,7,8,9,10,11,12 Keyboard Buffer Using Multipe Text BuffersCustom Fonts KEY n,n Customising the KeyboardKeyboard Table Invalid KEY 150,3 Remapping Commands Using MacrosKEY 10,97 3 1200 XL Keys Memory Requirements DOS Packages and LWAtari DOS XE MemloSpartados DISK-BASED SpartadosLW files /Mc /Ppath /Q /X LW TEST.DOC /M% /PD1LWSpartados X Lwpath Environment Variable Spartados X Memory ConfigurationsKEY OFF LW.EXE KEY on SET LWPATH=D8D1\LWLast Word 3.0 Reference Manual Command Function Macro Equivalent LW Command SummaryEditor Commands SHIFT+CTRL W See SET CommandInverse Ctrl W Ctrl YKEY Function Special KeysCommand Function Macro CommandsINV Ctrl INV CTRL+LCommand Function Default Value Print Formatting CommandsUP Arrow Down ArrowRight Arrow Left ArrowMemory Usage Assembly Language ADD-INSProgrammers Technical Notes 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.