chtype - change file type command for Apple II ProDOS
Go to file
2021-06-09 20:20:16 -07:00
.gitignore Add package script and CHTIME utility 2020-03-12 20:39:49 -07:00
.travis.yml Travis-CI: Build using linux 2021-03-07 16:40:19 -08:00
chtime.s Add package script and CHTIME utility 2020-03-12 20:39:49 -07:00
chtype.s Fix showing current values 2019-03-02 17:51:07 -08:00
LICENSE Create LICENSE 2020-11-08 12:42:37 -08:00
Makefile Travis-CI: Build using linux 2021-03-07 16:40:19 -08:00
package.sh Add package script and CHTIME utility 2020-03-12 20:39:49 -07:00
README.md travis-ci.org -> .com 2021-06-09 20:20:16 -07:00

chtype - change file type command for ProDOS

Build Status

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 file - 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: