Apple II program editing issue.

15 posts / 0 new
Last post
smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Apple II program editing issue.

When I go to edit a programming error when entering a program in the built in language on the //e platinum, it won't let me arrow back more than a few characters to fix my mistakes...are there any other options on how to fix mistakes?

Thanks!

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

Also, could I work with that same program in something such as Diversi Dos?

Offline
Last seen: 9 months 19 hours ago
Joined: Dec 13 2005 - 08:40
Posts: 265
Re: Apple II program editing issue.

Not being a programmer. I think you can type the line number and retype the line having it replace the bad line. There might be an easier way. But I am sure some one will post about it.

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

Thanks! So the line that I type in (Regardless of location) in the program will cancel out the bad line, even if it is out of order? (Because it starts scrolling down wildly if I begin to arrow back more than a few characters)

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

I just found out I can go back and edit by pressing escape, and moving the cursor!

EDIT:

What is the longest amount of time you have left your Apple II powered on for?

Offline
Last seen: 9 months 19 hours ago
Joined: Dec 13 2005 - 08:40
Posts: 265
Re: Apple II program editing issue.

A few days. But you should be able to save your work to disk By putting a formatted disk in the drive and typing save or bsave. It has been awhile.

speedyG's picture
Offline
Last seen: 5 years 6 months ago
Joined: Nov 16 2011 - 07:45
Posts: 2493
Re: Apple II program editing issue.

Also, could I work with that same program in something such as Diversi Dos?

Hello smileyranger,

this question requests some thoughts.... lets think about it....

at the one side you talk about Applesoft.... and the task of writing a program in Applesoft (which is resident in the ROM-chips ) .... when starting at the Prompt that contents are used from out of the ROM ( Read only Memory )... - this means by name, that the content is written in a chip only once and can´t be modified ( except you change the chips and replace them with modified Basic )....

at the other side you talk about the differences between DOS 3.3 and Diversi-DOS or any other kind of DOS loaded from a Disk .... and DOS is what ? The "Disk Operation System" .... that tells by name that it controls the accesses of reading and writing to the flopydisk.... none of the disk-tasks are performed while editing or programming ... except you decide to load a program or save it to disk.... there the DOS becomes active.... there you will recognize the difference - mostly by the speed of the use of the disksystem ( that´s the reason for the different DOS-systems: different modifications to speed up diskaccess.... )

so i guess the answer was given by yourself... just think about it....

sinceely yours
speedyG

P.S. if writing a lot with programs the topic i wrote about the Basic Page to keyswitches might be interesting to you - specially if i remember that we had some talk several weeks ago on the topic about keyboards.... the part related to this thread is within the ( second ) part2 about the keyboard decoder chips, where i talk about custom chips and custom keyboards.....
http://www.harrowalsh.de/Elektronik/APPLEBOX/appleboxldecoderpage.htm

And just beside another thing about programming......
probably you might take a look at the gamportadaptorpage too and specially to the pages related to programming....
i´ve commented the programming extensivly and explained the way of programming with modules and showing basics about modular programming there and explaining about the benefits of using that technic..... it might be usefull......
http://www.harrowalsh.de/Elektronik/APPLEBOX/appleboxgameport.htm

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

Thank you for your help on the topic! I will bookmark this thread for future reference when programming, and when I have a question about this topic, so that I don't go and repeat myself somewhere on the forum, as I have done previously.

Currently I don't have any spare disks to store information to from my //e. Do any of you have recommendations on other alternatives? I wish to find a good way of storing mass amount of Apple II programs, and I know many of you are major supporters of the CFFA cards, and I've heard things in the past about CD drives.

Thanks!

Also, I know this is probably a very obvious question, but do I push "return" after each line of code, in order to start a new one? Thank you all so much for helping me in my Apple II adventures.

speedyG's picture
Offline
Last seen: 5 years 6 months ago
Joined: Nov 16 2011 - 07:45
Posts: 2493
Re: Apple II program editing issue.

hello smileyranger,
yes every line of code is completed by a return.

I don´t want to force any recommendations, but just explain some points of dicision to think about when thinking about storage and specialy if you think about large amounts of storage.....

1. cost of drives.... for a good 5,25 drive with 140 kb the avarage price will be something about 40 U.S. Dollars if you hit lucky a offer at ebay with few bidders ....

2. If you are lucky you can get 5,25 floppydisks by some 10 U.S. Dollars per 10 disks if you get a offer with some 50 disks as used items.... new disks will be more expensive...

3. If you use CFFA card you have choice of a bunch of 10 CF-Cards 1GB each for together about 35 U.S. Dollars or using a USB-Stick 4 GB amounting to something about 5 U.S.Dollars.....

4. 1 GB CF Card is 1.000.000.000 Byte ( 1024 Byte is 1 kb ) so 1 GB is 1.000.000 kB and 140 kb per floppydisk then 1 CF-card replaces 7142 floppydisks .... so 1 CF-card out of a bundle of 10 is something like $3 and 50 cent for more than 7000 floppy disks and you don´t have the mess with floppydisks that turn bad or are bad due to age and heavy usage or wrong storage....

5. If you take a bundle of CF-cards you can make diferent cards for different systems .... some for CPM, some for proDOS, some for DOS and some for UCSD Apple Pascal System....

6. If you compare with other storage system like SCSI-harddisks:
a good SCSI-controller will cost at least 100 U.S.Dollars and you will have to hunt for working SCSI-drives with 360 MB because larger disks cause problems and those with that size are close to end of life if you get one... and such a drive will cost at least something like 70 to 90 U.S. Dollars and 360 MB is only third part of the size of one CF-card...

and CF-Card will amount to something about 160 U.S. Dollars with transportation....

so just take a calculator and do some math and then think it all over again and make your dicision

sincerely speedyG

mmphosis's picture
Offline
Last seen: 5 days 4 hours ago
Joined: Aug 18 2005 - 16:26
Posts: 442
Re: Apple II program editing issue.

7. serial interface card


8. plug a recorder/player device (an iPod?) into the cassette ports

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

7. serial interface card

8. plug a recorder/player device (an iPod?) into the cassette ports

How would I go about using an iPod as a storage device? Also, would it work with an iPod touch?
What about an old Shuffle....if it was a shuffle, could the files be accessed through the Apple //, since the iPod shuffle has no real interface?

@SpeedyG,

Thank you! I will definitely keep your post in mind.

Offline
Last seen: 9 months 19 hours ago
Joined: Dec 13 2005 - 08:40
Posts: 265
Re: Apple II program editing issue.

Hi,
A few disks could hold lots of program. Just busy at the moment. If you would like some, I can drop them in the mail. Both sides notched and formatted.

Take Care

smileyranger's picture
Offline
Last seen: 4 years 4 months ago
Joined: Mar 21 2011 - 20:50
Posts: 167
Re: Apple II program editing issue.

Sorry for the slow response! I found a cassette recorder and empty tapes, so I think that should suffice. Thanks for the offer though Smile

Offline
Last seen: 9 months 19 hours ago
Joined: Dec 13 2005 - 08:40
Posts: 265
Re: Apple II program editing issue.

Volume settings, and setting where to load the memory with FFFFs was not always fun for me.

Offline
Last seen: 12 years 1 month ago
Joined: Aug 21 2012 - 21:42
Posts: 19
Re: Apple II program editing issue.

When you use the ESC trick, be sure to press ESC again when you reach the letter you want to edit, to lock the cursor in place (the ESC trick actually lets you edit a lot of things).

Also, backspace and the left arrow key does the same thing.

On a normal Apple II system, if you press backspace or the left arrow key again at the first letter of a line, it cancels the line and goes to the next line.

So, if you press the left arrow key and it goes down wildly, it probably means that when you press the key once, it actually goes back like 20 times. Try pressing it softly. If it still goes like that, the key's probably malfunctioning (too sensitive key)

Log in or register to post comments