Jump to content
IGNORED

Atari 800- Disk directory listing from Atari BASIC... How?


Recommended Posts

I know I'm going to feel REALLY silly for asking this, but no one has scanned in *any* of the original Atari manuals, and the books that are scanned in don't have this answer for me....

 

I know there's a way to check the file listing on a floppy from Atari BASIC (NOT DOS; I know how to do that). My question is, how? What is the command? It's been *so* long that I've totally forgotten, and my searches have turned up nothing.

 

Any help offered would be appreciated.

 

Brian

Link to comment
Share on other sites

Found it...

http://www.atarimagazines.com/v8n1/atariba...hancements.html

 

Those files can be viewed in Notepad (since they are in LISTed format).

Save them to a disk or the Ramdisk by using that command to create them, and use them by simply ENTER"D:COMMAND.NAM"

 

Like ENTER"D:DIR" to read a directory :)

Link to comment
Share on other sites

Oh...I believe that those short programs can be written to a disk by using DOS itself to "copy" the editor channel (E:)...the way that works is to select the copy option, and enter this on the from,to? prompt:

E:,D:{filename}

Everything you type will be written directly to the file (including the enter key). Press the Break key to close the file :)

Link to comment
Share on other sites

No, the program is there. These pages are just the articles, the programs are found in the archives. But they are small enough to type in quickly anyway. The individual command one-liners can be found at the bottom of that page.

(be sure to use the enter key in place of the "boxes" that show up in Notepad)

 

The entire tokenized program that creates those files...

http://www.atarimagazines.com/software/89-...05a/ENHANCE.BAS

(for use with emulators or SIO2PC)

 

But I find it easier just to use the DOS copy method to create them.

Link to comment
Share on other sites

Ummm.... :ponder:

 

You don't run the Basic program when you need to use one of the routines...you use the ENTER command with one of the routines it creates (which uses no memory and will not erase any program in memory). The routines are written to the disk without line numbers, so they are executed in "immediate" mode (going directly into the keyboard buffer, just as if you'd typed them yourself). Much quicker than using the MEM.SAV method if all you want to do is pull up a directory or something. And the Hex conversion routine came in handy for POKE/PEEK arguments, since memory maps generally used Hex notation.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...