Subject: Re: sound in scheme
From: (Rob Warnock)
Date: 19 Jan 2001 07:10:36 GMT
Newsgroups: comp.lang.scheme
Message-ID: <948p9c$gh7q$>
<> wrote:
| (Shriram Krishnamurthi) wrote:
| > You don't need to jump to Guile just to write an extension.
| Sounds like an interesting idea, do you have any pointers to some
| more information?

contains detailed information about writing extensions to MzScheme,
the engine underneath DrScheme. Once you're written your extension
(in C) and compiled it as explained there, you can load it into the
currently running MzScheme (or DrScheme) with:

    (load-extension "/path/to/my/")  ; or ".dll", on Windows

Several more-extended examples of writing extensions are in the
"plt/collects/mzscheme/examples" directory of the PLT distribution.


p.s. My personal MzScheme extension library contains routines for doing
"mmap()", "malloc()", "mpin()", peeking/poking memory & I/O locations,
and other dirty little low-level hacks. [I've found it quite useful when
bringing up new networking hardware from a user-mode test harness, but
that's another story...]

Rob Warnock, 31-2-510
SGI Network Engineering
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA