1
0
mirror of https://github.com/fachat/xa65.git synced 2024-06-08 07:29:39 +00:00
xa65/xa/tests/line/test1.a65
2012-08-17 12:33:22 +02:00

21 lines
716 B
Plaintext

/*
* 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...