• Filetype change in Applesoft

    From Duhast@duhast@123gmail.com to comp.sys.apple2 on Tue Apr 8 23:22:10 2025
    From Newsgroup: comp.sys.apple2

    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?

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Kelvin Sherlock@email@domain.com to comp.sys.apple2 on Wed Apr 9 10:13:05 2025
    From Newsgroup: comp.sys.apple2

    On 2025-04-09 03:22:10 +0000, Duhast said:

    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?

    I think you'll need some outside help, eg, SETINFO from ProCMD, or
    something similar.


    The syntax of this command is

    SETINFO pathname [,T type, A auxtype, @ access]

    All three parameters are optional. This allows changing a
    file's type (except for DIR files), auxtype, and access.

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Hugh Hood@hughhood@earthlink.net to comp.sys.apple2 on Wed Apr 9 11:02:27 2025
    From Newsgroup: comp.sys.apple2

    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

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Duhast@duhast@123gmail.com to comp.sys.apple2 on Mon Apr 14 18:57:18 2025
    From Newsgroup: comp.sys.apple2

    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?-a 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?

    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Hugh Hood@hughhood@earthlink.net to comp.sys.apple2 on Mon Apr 14 23:38:02 2025
    From Newsgroup: comp.sys.apple2

    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?


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From kegs@kegs@provalid.com (Kent Dickey) to comp.sys.apple2 on Thu Apr 17 02:45:02 2025
    From Newsgroup: comp.sys.apple2

    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?-a 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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Duhast@duhast@123gmail.com to comp.sys.apple2 on Thu Apr 17 18:04:34 2025
    From Newsgroup: comp.sys.apple2

    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.


    --- Synchronet 3.21d-Linux NewsLink 1.2