mirror of https://github.com/a2stuff/chtype
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.
|
4 weeks ago | |
---|---|---|
.github/workflows | 4 weeks ago | |
.gitignore | 3 years ago | |
LICENSE | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
chtime.s | 3 years ago | |
chtype.s | 4 years ago | |
package.sh | 3 years ago |
README.md
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 file
- show current type/auxtypeCHTYPE pic,T$08
- set just typeCHTYPE file,A$0640
- set just auxtypeCHTYPE now_basic,TBAS,A$801
- set both type and auxtypeCHTYPE /root/was_bin,TSYS
- works with absolute pathsCHTYPE 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: