Subject: Re: Mathematica 7 compares to other languages
From: (Rob Warnock)
Date: Fri, 12 Dec 2008 21:03:44 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Rainer Joswig  <> wrote:
| For inspiration, here is some old Lisp driver code for an old
| 3com network card (Ethernet, not WLAN):

Heh. This looks a *lot* like the user-mode hardware bringup/debugging
code I was writing in CMUCL during the last few years (for a now-PPoE).  ;-}
Lots of bit- & byte-field definitions, peek & poke stuff, utilities
to encode/pack/unpack/decode hardware register fields from/to readable
symbols, etc. The main obvious difference I noticed was that instead
of using SYS:%NUBUS-READ & SYS:%NUBUS-WRITE to peek/poke at the
hardware, my code did an MMAP of "/dev/mem" and then used CMUCL's
SYSTEM:SAP-REF-{8,16,32} and SETFs of same [wrapped within suitable
syntactic sugar, of course]. Fun stuff!


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607