mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-15 08:27:41 +00:00
Re-arrange the file layout a bit
This commit is contained in:
20
Makefile
20
Makefile
@@ -3,7 +3,8 @@ CFLAGS = -O2 -Wall
|
||||
LFLAGS =
|
||||
|
||||
all: dos33 asoft_detoken mkdos33fs make_b tokenize_asoft \
|
||||
dos33_text2ascii integer_detoken char2hex pcx2hgr
|
||||
dos33_text2ascii integer_detoken char2hex pcx2hgr \
|
||||
asoft_presenter
|
||||
|
||||
|
||||
|
||||
@@ -13,6 +14,12 @@ asoft_detoken: asoft_detoken.o
|
||||
asoft_detoken.o: asoft_detoken.c
|
||||
$(CC) $(CFLAGS) -c asoft_detoken.c
|
||||
|
||||
asoft_presenter: asoft_presenter.o
|
||||
$(CC) $(LFLAGS) -o asoft_presenter asoft_presenter.o
|
||||
|
||||
asoft_presenter.o: asoft_presenter.c
|
||||
$(CC) $(CLFAGS) -c asoft_presenter.c
|
||||
|
||||
integer_detoken: integer_detoken.o
|
||||
$(CC) $(LFLAGS) -o integer_detoken integer_detoken.o
|
||||
|
||||
@@ -25,7 +32,6 @@ tokenize_asoft: tokenize_asoft.o
|
||||
tokenize_asoft.o: tokenize_asoft.c
|
||||
$(CC) $(CFLAGS) -c tokenize_asoft.c
|
||||
|
||||
|
||||
pcx2hgr: pcx2hgr.o
|
||||
$(CC) $(LFLAGS) -o pcx2hgr pcx2hgr.o
|
||||
|
||||
@@ -56,7 +62,6 @@ 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
|
||||
|
||||
@@ -65,8 +70,13 @@ mkdos33fs.o: mkdos33fs.c dos33.h
|
||||
|
||||
|
||||
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:
|
||||
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 presenter_demo && make clean
|
||||
|
||||
|
55
README
55
README
@@ -1,4 +1,6 @@
|
||||
%%%%%%%%%%%%
|
||||
dos33fsprogs
|
||||
%%%%%%%%%%%%
|
||||
|
||||
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
|
||||
I've written over the years while doing Apple 2 hacking.
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
make_b : take a machine language blob and give it the size/offset
|
||||
header needed to BLOAD it from DOS3.3
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
asoft_detoken: takes an applesoft file obtained with dos33
|
||||
and converts it to an ASCII text file
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
tokenize_asoft: takes an ASCII text file and converts it
|
||||
into a tokenized applesoft file
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
dos33: a tool for manipulating dos33 .dsk images
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
dos33_text2ascii: convert a dos33 text file to ASCII
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
integer_detoken: detokenize an Apple Integer BASIC program
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
|
||||
pcx2hgr: converts a 140x160 (or 140x192) PCX image file
|
||||
into an Apple II HGR graphics file that can
|
||||
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.
Reference in New Issue
Block a user