fac: trying something new
This commit is contained in:
parent
ee04e5f042
commit
c1832c84a1
|
@ -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
|
|
@ -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?
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
5 HOME
|
||||
10 PRINT CHR$(4)"BRUN PLASMAG_TINY"
|
Loading…
Reference in New Issue