Jump to content
IGNORED

HELLO not working


cbmeeks

Recommended Posts

I have this disk with a few BASIC programs I wrote (DOS3.3) and on it, I had two programs named "HELLO".  One was "HELLO" and the other was "HELLO CBMEEKS".

I wanted to replace both of them so I deleted them both and then wrote another small program.


I saved this program as HELLO.

 

I can run the program and it works.  I can manually load it and it works.  But when I reboot the computer with the disk in the drive, I get a "FILE NOT FOUND" error.

 

What am I doing wrong?

 

Thanks.

Link to comment
Share on other sites

Likely the DOS on the disk is looking for "HELLO CBMEEKS", or some other program whose name doesn't exist. It's easy to fix. Here are two methods.

 

You can either erase and reformat the disk with "INIT HELLO" (or whatever boot program name you want.)

You can also use Copy II+ to just change the boot program without reformatting.

ftp://ftp.apple.asimov.net/pub/apple_II/images/disk_utils/copy_ii/Copy ][+ 5.5.dsk

Link to comment
Share on other sites

22 hours ago, cbmeeks said:

I have this disk with a few BASIC programs I wrote (DOS3.3) and on it, I had two programs named "HELLO".  One was "HELLO" and the other was "HELLO CBMEEKS".

I wanted to replace both of them so I deleted them both and then wrote another small program.


I saved this program as HELLO.

 

 

 

 

Load the programme into BASIC first, then use INIT HELLO from DOS 3.3, on that disk. The INIT command tells DOS to set the initially loaded programme on the diskette during bootstrap. If the programme was named FOO, you would use INIT FOO. The format is:

 

INIT <FILENAME>, <SLOT>, <DRIVE> where <SLOT> and <DRIVE> are optional.

If the diskette was in drive 2, you would do INIT HELLO, D2, or specify the slot and drive as INIT HELLO, S5, D2 for slot 5, drive 2. 

 

Be sure to do this on a disk that you do not mind formatting! INIT formats the disk when it runs, and it writes the current loaded BASIC programme to the disk as the filename that you specify as param 1. 

 

The basic process that you will want is:
LOAD HELLO, <SLOT>, <DRIVE>
INIT HELLO, <SLOT>, <DRIVE>

 

The default for no slot param is slot 6, the default for no drive param is drive 1. 

 

Suggested Reading: The DOS 3.3 Manual, where these commands are defined. 

Edited by GameGeezer
Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

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...
  • Recently Browsing   0 members

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