On Sat, 5 Feb 2011, Philip Pemberton wrote:
Can you
elaborate just a wee bit on how the
script talks to hardware?
The script doesn't talk to hardware directly. Libdiscferret provides the
hardware interface layer, in the form of bit-twiddling (actually register
POKEs and PEEKs). The Lua script takes a parameter set from the application
(current head, track and sector, etc.) and converts these into a pin state.
I presume Lua has a C/C++ API to create the necessary bindings, though,
right?
--