Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!orsvax1!pyrnj!caip!seismo!ut-sally!pyramid!amiga!bart From: bart@amiga.UUCP (Barry A. Whitebook) Newsgroups: net.micro.amiga Subject: "C" source to "fish" animation demo released to net.sources Message-ID: <799@amiga.amiga.UUCP> Date: Tue, 4-Mar-86 17:57:05 EST Article-I.D.: amiga.799 Posted: Tue Mar 4 17:57:05 1986 Date-Received: Fri, 7-Mar-86 05:37:44 EST Reply-To: bart@cloyd.UUCP (Barry A. Whitebook) Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 153 Keywords: C animation demos < eat this line - please! > A demo program which runs an AnimOb in a double buffered screen with sequence cycled animation has been posted to net.sources. (1699 lines, 51717 chars) This demo program was orginally written here at Commodore-Amiga by Catherine J. Wagner and has been stripped down from 6 animation objects to 1 in the interest of clarity. It has been compiled, linked loaded and run under v1.1 software using Lattice C v3.03. It works. This source code is provided for non-commercial use only and no warranties, express or implied are made for it by myself or by commodore-amiga. here are the makefiles that were used to test this build locally: /***************************************************************/ makefish /***************************************************************/ stack 20000 execute make atest execute make init execute make start execute make fish execute atomize fish execute link fish echo "makefish: DONE..." /***************************************************************/ fish.with /***************************************************************/ from df1:lib/Lstartup.obj+* df1:examples/atest.o+* df1:examples/init.o+* df1:examples/start.o+* df1:examples/fish.o library df1:lib/lc.lib+* df1:lib/amiga.lib+* df1:lib/debug.lib /***************************************************************/ make /***************************************************************/ .Key file ; Compile a C program Version 1.02 failat 65535 if not exists df1:examples/.c echo "File examples/.c does not exist. Try again." skip END endif copy df1:examples/.c ram:.c if not exists ram:.c echo "File .c not copied to ram: Error..." skip END endif echo "-- compiling ..." df1:c/lc1 -oram: -idf1:include/ -idf1:include/lattice/ ram: df1:c/lc2 -oram: ram: delete ram:.c if not exists ram:.o echo "File ram:.o does not exist. Error..." skip END endif copy ram:.o df1:examples/.o if not exists df1:examples/.o echo "File ram:.o not copied to df1:examples/ skip END endif delete ram:.o LAB END /***************************************************************/ link /***************************************************************/ .Key file ; Compile a C program Version 1.02 failat 65535 echo "-- Linking ..." df1:c/alink with .with to ram: if not exists ram: echo "Link failed: ERROR..." skip END endif if exists df1: delete df1: endif copy ram: df1: if not exists df1: echo "Could not copy ram: to df1:..." skip END endif echo "-- done linking ''. --" LAB END /***************************************************************/ atomize /***************************************************************/ .Key file ; Atomizes a C program Version 1.02 failat 65535 if not exists df1:examples/.o echo "File examples/.o does not exist. Try again." skip END endif copy df1:examples/.o ram:.o if not exists ram:.o echo "File .o not copied to ram: Error..." skip END endif echo "-- atomizing ..." df1:c/atom ram:.o ram:.o.TMP -cdb -pc if not exists ram:.o.TMP echo "File ram:.o.TMP does not exist. Error..." skip END endif delete df1:examples/.o copy ram:.o.TMP df1:examples/.o if not exists df1:examples/.o echo "File ram:.o not copied to df1:examples/ copy ram:.o df1:examples/.o skip END endif delete ram:.o LAB END /***************************************************************/ have fun! bart