• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

DOS 3.3 Commands?

dcr

Well-known member
Okay, first, I am trying this in the Virtual ][ emulator and not on an actual Apple IIe. But, I think it should function pretty much the same.

I have a program on a (virtual) diskette. I can use "LOAD filename" to load the program into memory and then "LIST" will show the program. But, it scrolls through until the end with no pauses. Wasn't there a command that would fill the screen and then pause to wait for a keypress before showing the next portion? That way, you could go through the code one screen at a time instead of running through the whole thing and only seeing the end.

I've searched online but the sites I've found don't even show the LIST command.

Sad thing is that I used to have these things memorized and could fly through stuff with the keyboard commands.
 

dcr

Well-known member
Follow-up dumb question . . .

Can I load a program into memory, and then edit a specific line of the program (and then run it) without saving to disk? (I don't know if it can save to the virtual disk but I don't need to save it anyway.) If so, how?

I hate that I don't even remember any of this anymore.
 

dcr

Well-known member
Just type the line number you want to change and the revised line of code. You can list a specific section of your program by specifying the line number range ex: LIST 10-20.
THANK YOU!

I had obviously forgotten that.

Worked for what I needed, aside from cursing my teenage self for stuffing a bunch of code on the one line that was otherwise the easiest to edit to do what I needed.
 

NJRoadfan

Well-known member
The Apple II machines have "screen" editors like the C64 has, where you can LIST a line and edit it. You have to hit ESC and move the cursor to the line you want to change.
 

joevt

Well-known member
You can list basic programs to a text file:
https://stason.org/TULARC/pc/apple2...-save-a-BASIC-program-in-ASCII-text-form.html
Of course, the text file will be larger than the BASIC file because the tokens are converted to strings. You can use the EXEC command to enter the lines of the text file.

I wrote a classic Mac OS app to list BASIC files (AppleSoft BASIC or Integer BASIC). It can list a single BASIC file or all BASIC files in a directory. It checks starting address, line lengths and offsets, and looks for extra binary data. Unzip the attached file on a modern Mac. The .µ file is a CodeWarrior Pro 4 project file (there's also an older project file for earlier CodeWarrior versions). The .z file is a resource file containing STR# resources for all the AppleSoft and Integer Basic tokens. The .p files are Pascal.
 

Attachments

  • ListBasicProgram.zip
    92.9 KB · Views: 0
Top