chtype - change file type command for Apple II ProDOS
Go to file
Joshua Bell ad5ff3502f typo
2019-01-02 18:25:11 -08:00
chtype.s Make T optional, with neither arg shows current 2019-01-02 10:42:52 -08:00
Makefile Snapshot: BEEPSLOT from ProDOS TRM 2018-12-31 12:21:38 -08:00
README.md typo 2019-01-02 18:25:11 -08:00

chtype - change file type command for ProDOS

Build with ca65

Installation:

  • Copy target to ProDOS disk
  • From BASIC.SYSTEM prompt, run: -CHTYPE from STARTUP (or by hand)

Usage:

CHTYPE pathname[,Ttype][,Aauxtype][,S#][,D#]

Examples:

  • CHTYPE - show current type/auxtype
  • CHTYPE pic,T$08 - set just type
  • CHTYPE file,A$0640 - set just auxtype
  • CHTYPE now_basic,TBAS,A$801 - set both type and auxtype
  • CHTYPE /root/was_bin,TSYS - works with absolute paths
  • CHTYPE as_text,TTXT,S6,D1 - can use slot/drive arguments too

Notes:

  • Allocates a 1 page buffer to store the code
  • Relative or absolute paths can be used
  • Can be invoked as lower case (e.g. chtype ...)

Resources: