home *** CD-ROM | disk | FTP | other *** search
- Easy method
- -----------
- Change the first line of code ("#include <curses.h>") to #include <curses.c>
- (curses.c includes all the appropiate files). #define the appropiate synth.
- Compile. Link without using aesbind or vdibind (if you are *really* lazy,
- you can link with them, but it takes longer). That's it!
-
- Slightly Less Easy method (but the way I do it)
- -------------------------
- If you like the stuff in curses.c and think you may want to use it in other
- programs you write then.... Don't change the code (except #define your synth).
- Compile and assemble curses.c resulting in curses.o . Compile patch.c . Link
- patch without aesbind or vdibind but *with* curses.o . That's it!
-
- Notes
- -----
- This is Alcyon C code (v4.14). If you are using Megamax C (with the 32K limit)
- I hope you have some way of getting around that limit for large arrays because
- the code depends vitally on the 'voices' and 'v_names' arrays and they are
- *large*. If you could live with a much smaller limit on the number of voices
- in a single library you could change the preprocessor variable VOICES from 1000
- to 100 or whatever.
-
- If your osbind.h file doesn't already include it, you may have to:
- #define Vsync() xbios(37)
-