Atari XL manual Loading Macros

Models: XL

1 77
Download 77 pages 13.49 Kb
Page 39
Image 39

The Last Word 3.0 Reference Manual

7 MACROS

LW’s Macro facility is among the most powerful of any Atari 8-bit word processor. Macros allow you to automate frequent tasks, redefine the keyboard layout, call up passages of text with a single keystroke, create interactive menu systems, and construct entirely new commands by combining existing features of the program. What’s more, macros can now be attached to standard command keystrokes, so they can work like built-in features of the program. Macros can even disable screen updates and prompts while they work, so all you see is the end result.

LW’s macro commands are really a superset of the commands found in the Public Domain word processor TextPro, and any users familiar with the way macros work in that program will have little difficulty in understanding how they are implemented in LW. Macros are written as plain text files (NOT .DOC document files) containing one macro definition after another. A macro is defined as follows:

<Macro ID><Macro Definition>

Where Macro ID is the keystroke the macro is called with, the equate symbol is an inverse equals sign, and Macro Definition is simply the string of characters and commands the macro issues. Macros are NOT terminated with <Return>. The end of a macro definition is merely marked by another definition following it or by the end of the macro file.

Macro files can be up to 4K in length when using “Banked” memory, otherwise the size limit is 1K. Macros can “chain” other macro files, and even selectively run macros in the target macro file.

7.1 LOADING MACROS

Macros are loaded with the <Shift+Ctrl+M> Load Macros command. If the file contains a macro attached to the “&” character, this “autoexec” macro will be run immediately after the macro file has loaded, unless you add the “/N” switch after the macro filename on the input line.

When the macro load command is issued from within a running macro, it’s possible to pre-select a different macro to run instead of the “&” macro. See the pre-select macro command later in this chapter for details.

When LW first starts, it looks for the macro file LW.MAC and tries to run the “@” macro if one exists. This “start-up” macro is only ever run when the program first loads LW.MAC. SpartaDOS X users can disable the start-up macro from the command line or even select a different macro in LW.MAC to execute at start-up. Users of other DOS packages can disable autoexec and start-up macros by holding down the <Option> key during the loading process.

7-39

Page 39
Image 39
Atari XL manual Loading Macros

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.