mirror of
https://github.com/fachat/xa65.git
synced 2024-12-28 16:31:08 +00:00
tests for long lines
This commit is contained in:
parent
1399e1071c
commit
73299e33a5
6
xa/tests/line/Makefile
Normal file
6
xa/tests/line/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
all: test1
|
||||
|
||||
%:%.a65
|
||||
../../xa $<
|
||||
|
20
xa/tests/line/test1.a65
Normal file
20
xa/tests/line/test1.a65
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
/*
|
||||
* 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...
|
||||
|
Loading…
Reference in New Issue
Block a user