Mon Jun 1 16:50:48 CEST 2009
problem was incorrectly initialized buffer descriptors (swapped CNT
and STAT) and not setting UEP0 to #x16 (had #x14) to enable
Next: handling transactions. Get the PID from the buffer ID. This
can only be
\ 0001 OUT
\ 1001 IN
\ 1101 SETUP
Ok, the next step is to handle all the requests. What needs to be
done is to make a simple interface that maps the requests to Forth
functions. How to make this readable?
This makes for some incredibly boring code...
The SETUP buffer contains the following values: