XL Code 1.0

BASIC,
the easy way.

Write Atari BASIC programs in 80 columns on any Atari XL or XE: lines sort themselves, numbers come by themselves, and one key runs your program in the real Atari BASIC and brings you back to the line with the error.

Download free

A separate product. XL Code comes on its own disk and works by itself: you do not need XL Office to use it.

See it run a program.

Every frame comes from XL Code running on an Atari 800XL with the BASIC of the ROM: a sample opened and edited, the rainbow it draws in GRAPHICS 7, a division by zero, the error with its line and a renumber. Turn the sound on.

Write

An editor made for BASIC.

Eighty columns and seventeen lines of program on screen. Type a line with its number and it goes to its place; press RETURN and the next number is already there.

The RAINBOW sample with a new line that sorted itself

Lines in order. A line with the same number replaces the old one, as in BASIC.

Capitals by themselves. Outside quotes, as BASIC needs them.

Find and go to a line. ^F and ^G, in programs of up to 8 KB.

Run

The real Atari BASIC.

XL Code does not imitate BASIC: ^R hands your program to the Atari BASIC of the ROM, so graphics, sound and joystick work exactly as always. Press a key at the end and you are back in the editor.

The rainbow that the Atari BASIC drew

Every program works. It is the original BASIC that runs it.

Open and save .BAS. BASIC itself loads and saves them for XL Code.

Or stay in BASIC. With your program loaded, to type commands.

Fix

Errors with their line.

When a program fails, XL Code comes back with the error number, what it means and the cursor on the line. Renumber when the program grows, and every GOTO and GOSUB follows.

A division by zero, with its line

27 errors explained. In English and Spanish.

BREAK and STOP. Back on the line where it stopped.

Renumber. With GOTO, GOSUB, THEN, RESTORE and TRAP.

What it takes.

Computer
Any Atari XL or XE with 64 KB and the built-in Atari BASIC: 800XL, 65XE, 130XE, 800XE and XEGS. The 1200XL needs the BASIC cartridge. NTSC or PAL.
Disk
One disk with DOS 2.5, XL Code and four sample programs. Keep it in drive 1: XL Code comes back from it.
Programs
Listings .LST (the format of LIST and ENTER) up to 8 KB, and .BAS programs through BASIC.
Emulators
Turn on the internal BASIC: in atari800, -basic; in Altirra, the BASIC option of the system.
Languages
English and Spanish, chosen from the Help menu.

Take it home.

One small download: the bootable disk with four sample programs, the manual in English and Spanish, the keyboard shortcuts and the license.

XL Code 1.0

544 KB zip file with the disk image and the manual

Download free

Freeware. Free to use and to share with anyone, as long as the files go unchanged.

All files
  • XLCode-1.0.zipEverything in one package: the disk, the guide, the license and the manual
    544 KB7d4bcc96abb6d0f0205a5ee096e64657290fedd3096191dec6020ed1bc693263
  • XLCode-1.0.atrThe disk on its own, ready for FujiNet, SDrive or an emulator
    90 KB1a0ef269f967f6e3ee482e5997f1d588213c2a5d0d4daa995a690d8d8e84a8d9
  • XLCode-Keys-EN.pdfKeyboard shortcuts on one page, for printing
    287 KB2db84fcb2ca9094a892b6fa6d0927d8c1e105a126fc8b3cabcfdd409f4e6fad5

Check your copy against the SHA-256 sums, also in SHA256SUMS.txt. On a Mac or Linux run shasum -a 256 -c SHA256SUMS.txt.

In Altirra

Choose an 800XL or a 130XE with the internal BASIC on, open Boot Image from the File menu and choose XLCode-1.0.atr.

In atari800

Run atari800 -xl -basic XLCode-1.0.atr. The numeric keypad works as the joystick.

On a real Atari

Copy the disk image to a FujiNet, SIO2PC or SDrive, or write it to a floppy, and switch the computer on.

Questions, answered.

Do I need XL Office?

No. XL Code is a separate product with its own disk. It shares the look and the menus of XL Office, so if you know one you know the other, but each works on its own.

Is it a new BASIC?

No, and that is the point: your programs run in the Atari BASIC of the ROM, the one built into your computer. XL Code is the editor around it, and brings you back with the result.

Can I open my old programs?

Yes. Listings saved with LIST open directly; programs saved with SAVE open with File > Open .BAS, which asks BASIC to load and list them. Up to 8 KB of listing.

What about Turbo BASIC XL?

Version 1.0 works with the Atari BASIC of the ROM (revisions A, B and C). Other BASICs may come in a later version.

Back to XL Office