• Filetype change in Applesoft

    From Duhast@21:1/5 to All on Tue Apr 8 23:22:10 2025
    Is there a way to change the filetype from Applesoft? Or is there a way
    to get BLOAD to load any file regardless of type without specifying the
    T parameter?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hugh Hood@21:1/5 to Duhast on Wed Apr 9 11:02:27 2025
    On 4/8/25 10:22 PM, Duhast wrote:
    Is there a way to change the filetype from Applesoft? Or is there a
    way to get BLOAD to load any file regardless of type without
    specifying the T parameter?


    In addition to ProCMD as Kelvin suggested, in the ProDOS 8 environment ProTERM 3.1 allows file type and aux type changes.

    Also, stock AppleWorks 5.1 has a file type changer, and if you add the InitPack, also allows aux type changes.




    Hugh Hood

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Duhast@21:1/5 to Hugh Hood on Mon Apr 14 18:57:18 2025
    On 4/9/2025 12:02 PM, Hugh Hood wrote:
    On 4/8/25 10:22 PM, Duhast wrote:
    Is there a way to change the filetype from Applesoft?  Or is there a
    way to get BLOAD to load any file regardless of type without
    specifying the T parameter?


    In addition to ProCMD as Kelvin suggested, in the ProDOS 8 environment ProTERM 3.1 allows file type and aux type changes.

    Also, stock AppleWorks 5.1 has a file type changer, and if you add the InitPack, also allows aux type changes.




    Hugh Hood


    I want the filetype change to be done under Applesoft if possible.

    I want to BSAVE a file, and when I type BSAVE test,a$2000,l100,T$FF as
    an example, I get a file type mismatch error. Does the T parameter not
    work with BSAVE?

    Can you BLOAD any file without the T parameter?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hugh Hood@21:1/5 to Duhast on Mon Apr 14 23:38:02 2025
    It's been a while since I've done this, but I think you may have to delete the existing file first before attempting to BSAVE with a filetype.

    Try BSAVING with a slightly different name. The error you're seeing may be because the filetypes don't match.

    To be sure, I'd need to check my ProDOS tech reference manual.





    Hugh Hood



    On 4/14/2025 5:57 PM, Duhast wrote:

    I want to BSAVE a file, and when I type BSAVE test,a$2000,l100,T$FF as
    an example, I get a file type mismatch error. Does the T parameter not
    work with BSAVE?

    Can you BLOAD any file without the T parameter?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kent Dickey@21:1/5 to duhast@123gmail.com on Thu Apr 17 02:45:02 2025
    In article <vtk41r$2b01e$1@dont-email.me>, Duhast <duhast@123gmail.com> wrote: >On 4/9/2025 12:02 PM, Hugh Hood wrote:
    On 4/8/25 10:22 PM, Duhast wrote:
    Is there a way to change the filetype from Applesoft?  Or is there a
    way to get BLOAD to load any file regardless of type without
    specifying the T parameter?


    In addition to ProCMD as Kelvin suggested, in the ProDOS 8 environment
    ProTERM 3.1 allows file type and aux type changes.

    Also, stock AppleWorks 5.1 has a file type changer, and if you add the
    InitPack, also allows aux type changes.




    Hugh Hood


    I want the filetype change to be done under Applesoft if possible.

    I want to BSAVE a file, and when I type BSAVE test,a$2000,l100,T$FF as
    an example, I get a file type mismatch error. Does the T parameter not
    work with BSAVE?

    Can you BLOAD any file without the T parameter?

    You cannot create a new file with BSAVE with a new type. You must CREATE it first.

    CREATE test,t$ff
    BSAVE test,a$2000,l100,t$ff

    You can then BLOAD it as well, but you'll almost certainly need to give the address:

    BLOAD test,a$2000,t$ff

    I'm not really sure what you're up to, you may run into other problems.

    Kent

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Duhast@21:1/5 to Kent Dickey on Thu Apr 17 18:04:34 2025
    On 4/16/2025 10:45 PM, Kent Dickey wrote:

    You cannot create a new file with BSAVE with a new type. You must CREATE it first.

    CREATE test,t$ff
    BSAVE test,a$2000,l100,t$ff

    You can then BLOAD it as well, but you'll almost certainly need to give the address:

    BLOAD test,a$2000,t$ff

    I'm not really sure what you're up to, you may run into other problems.

    Kent

    I'm fooling with the SHR page, I want to load $C1 types, but then they
    get saved as BIN and I just want to make it all the $C1 so that I don't
    have to check filetype on every operation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)