mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-06-02 19:42:23 +00:00
Re-arrange the file layout a bit
This commit is contained in:
parent
a7669baf08
commit
878872476f
106
Makefile
106
Makefile
|
@ -3,70 +3,80 @@ CFLAGS = -O2 -Wall
|
||||||
LFLAGS =
|
LFLAGS =
|
||||||
|
|
||||||
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \
|
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \
|
||||||
dos33_text2ascii integer_detoken char2hex pcx2hgr
|
dos33_text2ascii integer_detoken char2hex pcx2hgr \
|
||||||
|
asoft_presenter
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
asoft_detoken: asoft_detoken.o
|
asoft_detoken: asoft_detoken.o
|
||||||
$(CC) $(LFLAGS) -o asoft_detoken asoft_detoken.o
|
$(CC) $(LFLAGS) -o asoft_detoken asoft_detoken.o
|
||||||
|
|
||||||
asoft_detoken.o: asoft_detoken.c
|
asoft_detoken.o: asoft_detoken.c
|
||||||
$(CC) $(CFLAGS) -c asoft_detoken.c
|
$(CC) $(CFLAGS) -c asoft_detoken.c
|
||||||
|
|
||||||
integer_detoken: integer_detoken.o
|
|
||||||
$(CC) $(LFLAGS) -o integer_detoken integer_detoken.o
|
|
||||||
|
|
||||||
integer_detoken.o: integer_detoken.c
|
asoft_presenter: asoft_presenter.o
|
||||||
$(CC) $(CFLAGS) -c integer_detoken.c
|
$(CC) $(LFLAGS) -o asoft_presenter asoft_presenter.o
|
||||||
|
|
||||||
tokenize_asoft: tokenize_asoft.o
|
|
||||||
$(CC) $(LFLAGS) -o tokenize_asoft tokenize_asoft.o
|
|
||||||
|
|
||||||
tokenize_asoft.o: tokenize_asoft.c
|
|
||||||
$(CC) $(CFLAGS) -c tokenize_asoft.c
|
|
||||||
|
|
||||||
|
asoft_presenter.o: asoft_presenter.c
|
||||||
|
$(CC) $(CLFAGS) -c asoft_presenter.c
|
||||||
|
|
||||||
pcx2hgr: pcx2hgr.o
|
integer_detoken: integer_detoken.o
|
||||||
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
$(CC) $(LFLAGS) -o integer_detoken integer_detoken.o
|
||||||
|
|
||||||
pcx2hgr.o: pcx2hgr.c
|
integer_detoken.o: integer_detoken.c
|
||||||
$(CC) $(CFLAGS) -c pcx2hgr.c
|
$(CC) $(CFLAGS) -c integer_detoken.c
|
||||||
|
|
||||||
char2hex: char2hex.o
|
tokenize_asoft: tokenize_asoft.o
|
||||||
$(CC) $(LFLAGS) -o char2hex char2hex.o
|
$(CC) $(LFLAGS) -o tokenize_asoft tokenize_asoft.o
|
||||||
|
|
||||||
char2hex.o: char2hex.c
|
tokenize_asoft.o: tokenize_asoft.c
|
||||||
$(CC) $(CFLAGS) -c char2hex.c
|
$(CC) $(CFLAGS) -c tokenize_asoft.c
|
||||||
|
|
||||||
dos33: dos33.o
|
pcx2hgr: pcx2hgr.o
|
||||||
$(CC) $(LFLAGS) -o dos33 dos33.o
|
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
||||||
|
|
||||||
dos33.o: dos33.c dos33.h
|
|
||||||
$(CC) $(CFLAGS) -c dos33.c
|
|
||||||
|
|
||||||
dos33_text2ascii: dos33_text2ascii.o
|
pcx2hgr.o: pcx2hgr.c
|
||||||
$(CC) $(LFLGAS) -o dos33_text2ascii dos33_text2ascii.o
|
$(CC) $(CFLAGS) -c pcx2hgr.c
|
||||||
|
|
||||||
dos33_text2ascii.o: dos33_text2ascii.c
|
|
||||||
$(CC) $(CFLAGS) -c dos33_text2ascii.c
|
|
||||||
|
|
||||||
make_b: make_b.o
|
char2hex: char2hex.o
|
||||||
$(CC) $(LFLAGS) -o make_b make_b.o
|
$(CC) $(LFLAGS) -o char2hex char2hex.o
|
||||||
|
|
||||||
make_b.o: make_b.c
|
char2hex.o: char2hex.c
|
||||||
$(CC) $(CFLAGS) -c make_b.c
|
$(CC) $(CFLAGS) -c char2hex.c
|
||||||
|
|
||||||
|
dos33: dos33.o
|
||||||
mkdos33fs: mkdos33fs.o
|
$(CC) $(LFLAGS) -o dos33 dos33.o
|
||||||
$(CC) $(LFLAGS) -o mkdos33fs mkdos33fs.o
|
|
||||||
|
dos33.o: dos33.c dos33.h
|
||||||
mkdos33fs.o: mkdos33fs.c dos33.h
|
$(CC) $(CFLAGS) -c dos33.c
|
||||||
$(CC) $(CFLAGS) -c mkdos33fs.c
|
|
||||||
|
dos33_text2ascii: dos33_text2ascii.o
|
||||||
|
$(CC) $(LFLGAS) -o dos33_text2ascii dos33_text2ascii.o
|
||||||
|
|
||||||
|
dos33_text2ascii.o: dos33_text2ascii.c
|
||||||
|
$(CC) $(CFLAGS) -c dos33_text2ascii.c
|
||||||
|
|
||||||
|
make_b: make_b.o
|
||||||
|
$(CC) $(LFLAGS) -o make_b make_b.o
|
||||||
|
|
||||||
|
make_b.o: make_b.c
|
||||||
|
$(CC) $(CFLAGS) -c make_b.c
|
||||||
|
|
||||||
|
mkdos33fs: mkdos33fs.o
|
||||||
|
$(CC) $(LFLAGS) -o mkdos33fs mkdos33fs.o
|
||||||
|
|
||||||
|
mkdos33fs.o: mkdos33fs.c dos33.h
|
||||||
|
$(CC) $(CFLAGS) -c mkdos33fs.c
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b dos33_text2ascii integer_detoken /usr/local/bin
|
cp dos33 asoft_detoken mkdos33fs tokenize_asoft make_b \
|
||||||
|
dos33_text2ascii integer_detoken /usr/local/bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs tokenize_asoft dos33_text2ascii integer_detoken char2hex pcx2hgr
|
rm -f *~ *.o asoft_detoken dos33 make_b mkdos33fs \
|
||||||
|
tokenize_asoft dos33_text2ascii integer_detoken \
|
||||||
|
char2hex pcx2hgr asoft_presenter
|
||||||
cd tests && make clean
|
cd tests && make clean
|
||||||
|
cd presenter_demo && make clean
|
||||||
|
|
||||||
|
|
57
README
57
README
|
@ -1,4 +1,6 @@
|
||||||
|
%%%%%%%%%%%%
|
||||||
dos33fsprogs
|
dos33fsprogs
|
||||||
|
%%%%%%%%%%%%
|
||||||
|
|
||||||
http://www.deater.net/weave/vmwprod/apple/dos33fs.html
|
http://www.deater.net/weave/vmwprod/apple/dos33fs.html
|
||||||
|
|
||||||
|
@ -8,21 +10,74 @@ dos33fsprogs
|
||||||
These are some tools for manipulating Apple II disk files that
|
These are some tools for manipulating Apple II disk files that
|
||||||
I've written over the years while doing Apple 2 hacking.
|
I've written over the years while doing Apple 2 hacking.
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
make_b : take a machine language blob and give it the size/offset
|
make_b : take a machine language blob and give it the size/offset
|
||||||
header needed to BLOAD it from DOS3.3
|
header needed to BLOAD it from DOS3.3
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
asoft_detoken: takes an applesoft file obtained with dos33
|
asoft_detoken: takes an applesoft file obtained with dos33
|
||||||
and converts it to an ASCII text file
|
and converts it to an ASCII text file
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
tokenize_asoft: takes an ASCII text file and converts it
|
tokenize_asoft: takes an ASCII text file and converts it
|
||||||
into a tokenized applesoft file
|
into a tokenized applesoft file
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
dos33: a tool for manipulating dos33 .dsk images
|
dos33: a tool for manipulating dos33 .dsk images
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
dos33_text2ascii: convert a dos33 text file to ASCII
|
dos33_text2ascii: convert a dos33 text file to ASCII
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
integer_detoken: detokenize an Apple Integer BASIC program
|
integer_detoken: detokenize an Apple Integer BASIC program
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
pcx2hgr: converts a 140x160 (or 140x192) PCX image file
|
pcx2hgr: converts a 140x160 (or 140x192) PCX image file
|
||||||
into an Apple II HGR graphics file that can
|
into an Apple II HGR graphics file that can
|
||||||
be loaded with "BLOAD IMAGE,A$2000"
|
be loaded with "BLOAD IMAGE,A$2000"
|
||||||
|
|
||||||
|
To get it to work, create an image with the GIMP.
|
||||||
|
Scale to 140x160. Save as indexed with the
|
||||||
|
included "hgr.pal" palette.
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
|
||||||
|
mkdos33fs: create an Apple ][ DOS 3.3 filesystems
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
|
asoft_presenter:
|
||||||
|
|
||||||
|
creates a slide presentation disk image for use on apple II
|
||||||
|
|
||||||
|
|
||||||
|
ARGH programming in C too long can't handle things that start
|
||||||
|
numbering with "1" rather than "0".
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
CC = gcc
|
|
||||||
CFLAGS = -O2 -Wall
|
|
||||||
LFLAGS =
|
|
||||||
|
|
||||||
|
|
||||||
all: test.dsk
|
|
||||||
|
|
||||||
test.dsk: TEST VINCE.IMG
|
|
||||||
../dos33 test.dsk SAVE A TEST
|
|
||||||
../dos33 test.dsk SAVE B VINCE.IMG
|
|
||||||
|
|
||||||
|
|
||||||
VINCE.IMG: vince.pcx ../pcx2hgr
|
|
||||||
../pcx2hgr vince.pcx > VINCE.IMG
|
|
||||||
|
|
||||||
TEST: test.bas
|
|
||||||
../tokenize_asoft < test.bas > TEST
|
|
||||||
|
|
||||||
test.bas: generate_presentation
|
|
||||||
./generate_presentation test > test.bas
|
|
||||||
|
|
||||||
generate_presentation: generate_presentation.o
|
|
||||||
$(CC) $(LFLAGS) -o generate_presentation generate_presentation.o
|
|
||||||
|
|
||||||
generate_presentations.o: generate_presentation.c
|
|
||||||
$(CC) $(CFLAGS) -c generate_presentation.c
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f *~ *.o generate_presentation
|
|
||||||
|
|
23
presenter_demo/Makefile
Normal file
23
presenter_demo/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
CC = gcc
|
||||||
|
CFLAGS = -O2 -Wall
|
||||||
|
LFLAGS =
|
||||||
|
|
||||||
|
all: presenter_demo.dsk
|
||||||
|
|
||||||
|
presenter_demo.dsk: TEST VINCE.IMG
|
||||||
|
../dos33 presenter_demo.dsk SAVE A TEST
|
||||||
|
../dos33 presenter_demo.dsk SAVE B VINCE.IMG
|
||||||
|
|
||||||
|
|
||||||
|
VINCE.IMG: vince.pcx ../pcx2hgr
|
||||||
|
../pcx2hgr vince.pcx > VINCE.IMG
|
||||||
|
|
||||||
|
TEST: test.bas
|
||||||
|
../tokenize_asoft < test.bas > TEST
|
||||||
|
|
||||||
|
test.bas: ../asoft_presenter
|
||||||
|
../asoft_presenter . > test.bas
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ *.IMG *.bas
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user