chtype - change file type command for Apple II ProDOS
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Joshua Bell 12d6499789 Workflows: bump ca65 action to v2 4 weeks ago
.github/workflows Workflows: bump ca65 action to v2 4 weeks ago
.gitignore Add package script and CHTIME utility 3 years ago
LICENSE Create LICENSE 2 years ago
Makefile Workflows: Use actions for cadius and ca65, package and deploy on tag 2 years ago
README.md Migrate from Travis-CI to GitHub Actions 2 years ago
chtime.s Add package script and CHTIME utility 3 years ago
chtype.s Fix showing current values 4 years ago
package.sh Add package script and CHTIME utility 3 years ago

README.md

chtype - change file type command for ProDOS

build

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: