Jump to content
Sign in to follow this  
Brian D. Deuel

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

Share this post


Link to post
Share on other sites

By use of the XIO command...I'll see if I can track down the list of super-handy little one-liners that can be executed from a disk via the ENTER statement (not erasing the memory).

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

Thanks! It appears that enhance.bas is missing from that page, though :(

 

Not a big deal, though. I can use the info there to write my own routine now :)

 

Brian

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

I wrote that same program a looooooong time ago :)

 

PRoblem is you lose your Basic program to run it just like going to DOS, buts its a few sectors less to load :)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...