mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-08-13 11:25:14 +00:00
fac: trying something new
This commit is contained in:
32
fac/Makefile
Normal file
32
fac/Makefile
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
include ../Makefile.inc
|
||||||
|
|
||||||
|
DOS33 = ../utils/dos33fs-utils/dos33
|
||||||
|
TOKENIZE = ../utils/asoft_basic-utils/tokenize_asoft
|
||||||
|
LINKERSCRIPTS = ../linker_scripts
|
||||||
|
EMPTYDISK = ../empty_disk/empty.dsk
|
||||||
|
|
||||||
|
all: fac.dsk
|
||||||
|
|
||||||
|
fac.dsk: HELLO ADD
|
||||||
|
cp $(EMPTYDISK) fac.dsk
|
||||||
|
$(DOS33) -y fac.dsk SAVE A HELLO
|
||||||
|
$(DOS33) -y fac.dsk BSAVE -a 0xC00 ADD
|
||||||
|
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
HELLO: hello.bas
|
||||||
|
$(TOKENIZE) < hello.bas > HELLO
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
ADD: add.o
|
||||||
|
ld65 -o ADD add.o -C $(LINKERSCRIPTS)/apple2_c00.inc
|
||||||
|
|
||||||
|
add.o: add.s
|
||||||
|
ca65 -o add.o add.s -l add.lst
|
||||||
|
|
||||||
|
###
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ *.o *.lst ADD HELLO
|
7
fac/README
Normal file
7
fac/README
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Code attempting to use the floating point routines from the
|
||||||
|
Applesoft ROMs
|
||||||
|
|
||||||
|
In theory could help create lookuptables in not much code
|
||||||
|
|
||||||
|
Best reference for this seems to be Wagner's Assembly Lines book?
|
||||||
|
|
2
fac/hello.bas
Normal file
2
fac/hello.bas
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
5 HOME
|
||||||
|
10 PRINT CHR$(4)"BRUN PLASMAG_TINY"
|
Reference in New Issue
Block a user