1
0
mirror of https://github.com/fachat/xa65.git synced 2024-07-14 06:28:59 +00:00
xa65/xa/tests/line/test1.a65

21 lines
716 B
Plaintext
Raw Normal View History

2012-08-17 10:33:22 +00:00
/*
* tests the internal line presentation getting over 128
*/
#define MAX_ENDPOINTS 4
*=$c000
txmax .dsb MAX_ENDPOINTS, 0 ; max transfer length per endpoint
txpos .dsb MAX_ENDPOINTS, 0 ; endpoint buffer position per endpoint, calculated at usbd_start
txlen .dsb MAX_ENDPOINTS, 0 ; endpoint buffer length, set per transaction
/*
* tests the internal line presentation getting over 256
*/
txpos2 .byt MAX_ENDPOINTS, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ; endpoint buffer position per endpoint, calculated at usbd_start and even more comments, but the many values alone use 5 byte per value internally...