support.lazy: implement.
by whitequark 6 years 10 months
794b521e
applet.benchmark: hint reads to use total length.
by whitequark 6 years 10 months
applet.benchmark: hint reads to use total length.

When making very large reads, it is often possible to either predict
the total length exactly (e.g. the shugart-floppy applet) or to use
a "sufficiently large" buffer (e.g. the lpc applet). Thus, it seems
that a benchmark should not use an artificially small hint.
950d2f63
firmware: add Device Qualifier request.
by whitequark 6 years 10 months
firmware: add Device Qualifier request.

Necessary for USB compliance.
bfcb376a
access.direct.demultiplexer: use ChunkedFIFO.
by whitequark 6 years 10 months
access.direct.demultiplexer: use ChunkedFIFO.

This significantly improves `benchmark sink`:

(before)
I: glasgow.applet.benchmark: mode sink: 1.454 MiB/s
(after)
I: glasgow.applet.benchmark: mode sink: 16.420 MiB/s

On my system the sink rate asymptotically approaches around 20 MiB/s.
16 MiB/s is an approx 10x improvement, and uses 1/32 of the Linux
usbdevfs memory limit, which is acceptable for now.

Fixes #79.
48aefee4
support.chunked_fifo: fix bool() with partial read...
by whitequark 6 years 10 months
support.chunked_fifo: fix bool() with partial reads.
2ebe314d
support.chunked_fifo: implement.
by whitequark 6 years 10 months
support.chunked_fifo: implement.

Required for #79.
fed42691
support.pyrepl: do not crash if _ is not defined.
by whitequark 6 years 10 months
support.pyrepl: do not crash if _ is not defined.

This happens e.g. if the first entered statement is `import foo`.
c39afbf8
pyrepl→support.pyrepl
by whitequark 6 years 10 months
05de0439
internal_test: remove.
by whitequark 6 years 10 months
internal_test: remove.

Outdated, bitrotted, not very useful, and confusing since it shows
up in --help.
6d5c2ece
arch.lpc: new definitions.
by whitequark 6 years 10 months
a91aa095
Report a bug