From: Gerhard Sittig Date: Sat, 12 May 2018 20:18:01 +0000 (+0200) Subject: mcs48: Add test for binary output (ROM data, address and data bytes) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b6885f46c548d53e1d70a7886453f9bd6ef09e44;p=sigrok-test.git mcs48: Add test for binary output (ROM data, address and data bytes) --- diff --git a/decoder/test/mcs48/i8039_sample.bin_romdata b/decoder/test/mcs48/i8039_sample.bin_romdata new file mode 100644 index 0000000..8961aab --- /dev/null +++ b/decoder/test/mcs48/i8039_sample.bin_romdata @@ -0,0 +1,234 @@ +7-17 mcs48: 10 51 80 +28-38 mcs48: 10 52 23 +48-58 mcs48: 10 53 f0 +69-79 mcs48: 10 54 62 +89-99 mcs48: 10 55 55 +110-120 mcs48: 10 56 25 +130-140 mcs48: 10 57 d4 +151-161 mcs48: 10 58 9e +171-181 mcs48: 16 9e be +192-202 mcs48: 16 9f 00 +212-222 mcs48: 16 a0 97 +233-243 mcs48: 16 a1 bf +253-263 mcs48: 16 a2 00 +274-284 mcs48: 16 a3 14 +294-304 mcs48: 16 a4 fc +315-325 mcs48: 10 fc ff +335-345 mcs48: 10 fd a3 +356-366 mcs48: 10 00 85 +376-386 mcs48: 10 fe 7e +397-407 mcs48: 10 ff ae +417-427 mcs48: 11 00 ff +437-448 mcs48: 11 01 a3 +458-468 mcs48: 11 00 ff +478-489 mcs48: 11 02 7e +499-509 mcs48: 11 03 ae +519-530 mcs48: 11 04 44 +540-550 mcs48: 11 05 fc +560-571 mcs48: 12 fc ff +581-591 mcs48: 12 fd a3 +601-612 mcs48: 12 00 23 +622-632 mcs48: 12 fe 7e +642-653 mcs48: 12 ff ae +663-673 mcs48: 13 00 ff +683-694 mcs48: 13 01 a3 +704-714 mcs48: 13 00 ff +724-735 mcs48: 13 02 7e +745-755 mcs48: 13 03 ae +765-776 mcs48: 13 04 84 +786-796 mcs48: 13 05 fc +806-817 mcs48: 14 fc ff +827-837 mcs48: 14 fd a3 +847-858 mcs48: 14 00 27 +868-878 mcs48: 14 fe 7e +888-899 mcs48: 14 ff ae +909-919 mcs48: 15 00 ff +929-940 mcs48: 15 01 a3 +950-960 mcs48: 15 00 ff +970-980 mcs48: 15 02 7e +991-1001 mcs48: 15 03 ae +1011-1021 mcs48: 15 04 c4 +1032-1042 mcs48: 15 05 fd +1052-1062 mcs48: 16 fd ff +1073-1083 mcs48: 16 fe a3 +1093-1103 mcs48: 16 00 85 +1114-1124 mcs48: 16 ff 7e +1134-1144 mcs48: 17 00 ae +1155-1165 mcs48: 17 01 ff +1175-1185 mcs48: 17 02 a3 +1196-1206 mcs48: 17 00 ae +1216-1226 mcs48: 17 03 7e +1237-1247 mcs48: 17 04 ae +1257-1267 mcs48: 17 05 f5 +1278-1288 mcs48: 17 06 04 +1298-1308 mcs48: 17 07 fc +1319-1329 mcs48: 18 fc ff +1339-1349 mcs48: 18 fd a3 +1360-1370 mcs48: 18 00 9a +1380-1390 mcs48: 18 fe 7e +1401-1411 mcs48: 18 ff ae +1421-1431 mcs48: 19 00 ff +1442-1452 mcs48: 19 01 a3 +1462-1472 mcs48: 19 00 ff +1483-1493 mcs48: 19 02 7e +1503-1513 mcs48: 19 03 ae +1524-1534 mcs48: 19 04 44 +1544-1554 mcs48: 19 05 fc +1565-1575 mcs48: 1a fc ff +1585-1595 mcs48: 1a fd a3 +1605-1616 mcs48: 1a 00 ba +1626-1636 mcs48: 1a fe 7e +1646-1657 mcs48: 1a ff ae +1667-1677 mcs48: 1b 00 ff +1687-1698 mcs48: 1b 01 a3 +1708-1718 mcs48: 1b 00 ff +1728-1739 mcs48: 1b 02 7e +1749-1759 mcs48: 1b 03 ae +1769-1780 mcs48: 1b 04 84 +1790-1800 mcs48: 1b 05 fc +1810-1821 mcs48: 1c fc ff +1831-1841 mcs48: 1c fd a3 +1851-1862 mcs48: 1c 00 ff +1872-1882 mcs48: 1c fe 7e +1892-1903 mcs48: 1c ff ae +1913-1923 mcs48: 1d 00 ff +1933-1944 mcs48: 1d 01 a3 +1954-1964 mcs48: 1d 00 ff +1974-1985 mcs48: 1d 02 7e +1995-2005 mcs48: 1d 03 ae +2015-2026 mcs48: 1d 04 c4 +2036-2046 mcs48: 1d 05 fc +2056-2067 mcs48: 1e fc ff +2077-2087 mcs48: 1e fd a3 +2097-2108 mcs48: 1e 00 e5 +2118-2128 mcs48: 1e fe 7e +2138-2148 mcs48: 1e ff ae +2159-2169 mcs48: 1f 00 ff +2179-2189 mcs48: 1f 01 a3 +2200-2210 mcs48: 1f 00 ff +2220-2230 mcs48: 1f 02 7e +2241-2251 mcs48: 1f 03 ae +2261-2271 mcs48: 1f 04 e5 +2282-2292 mcs48: 1f 05 83 +2302-2312 mcs48: 1f 06 97 +2323-2333 mcs48: 16 a5 d4 +2343-2353 mcs48: 16 a6 e4 +2364-2374 mcs48: 16 e4 9a +2384-2394 mcs48: 16 e5 bf +2405-2415 mcs48: 16 e6 00 +2425-2435 mcs48: 06 e7 04 +2446-2456 mcs48: 06 e8 fc +2466-2476 mcs48: 00 fc ff +2487-2497 mcs48: 00 fd a3 +2507-2517 mcs48: 00 00 00 +2528-2538 mcs48: 00 fe 7e +2548-2558 mcs48: 00 ff ae +2569-2579 mcs48: 01 00 ff +2589-2599 mcs48: 01 01 a3 +2610-2620 mcs48: 01 00 ff +2630-2640 mcs48: 01 02 7e +2651-2661 mcs48: 01 03 ae +2671-2681 mcs48: 01 04 44 +2691-2702 mcs48: 01 05 fc +2712-2722 mcs48: 02 fc ff +2732-2743 mcs48: 02 fd a3 +2753-2763 mcs48: 02 00 f5 +2773-2784 mcs48: 02 fe 7e +2794-2804 mcs48: 02 ff ae +2814-2825 mcs48: 03 00 ff +2835-2845 mcs48: 03 01 a3 +2855-2866 mcs48: 03 00 ff +2876-2886 mcs48: 03 02 7e +2896-2907 mcs48: 03 03 ae +2917-2927 mcs48: 03 04 84 +2937-2948 mcs48: 03 05 fc +2958-2968 mcs48: 04 fc ff +2978-2989 mcs48: 04 fd a3 +2999-3009 mcs48: 04 00 23 +3019-3030 mcs48: 04 fe 7e +3040-3050 mcs48: 04 ff ae +3060-3071 mcs48: 05 00 ff +3081-3091 mcs48: 05 01 a3 +3101-3112 mcs48: 05 00 ff +3122-3132 mcs48: 05 02 7e +3142-3153 mcs48: 05 03 ae +3163-3173 mcs48: 05 04 c4 +3183-3194 mcs48: 05 05 fd +3204-3214 mcs48: 06 fd ff +3224-3235 mcs48: 06 fe a3 +3245-3255 mcs48: 06 00 a5 +3265-3275 mcs48: 06 ff 7e +3286-3296 mcs48: 07 00 ae +3306-3316 mcs48: 07 01 ff +3327-3337 mcs48: 07 02 a3 +3347-3357 mcs48: 07 00 ae +3368-3378 mcs48: 07 03 7e +3388-3398 mcs48: 07 04 ae +3409-3419 mcs48: 07 05 f5 +3429-3439 mcs48: 07 06 04 +3450-3460 mcs48: 07 07 fc +3470-3480 mcs48: 08 fc ff +3491-3501 mcs48: 08 fd a3 +3511-3521 mcs48: 08 00 8a +3532-3542 mcs48: 08 fe 7e +3552-3562 mcs48: 08 ff ae +3573-3583 mcs48: 09 00 ff +3593-3603 mcs48: 09 01 a3 +3614-3624 mcs48: 09 00 ff +3634-3644 mcs48: 09 02 7e +3655-3665 mcs48: 09 03 ae +3675-3685 mcs48: 09 04 44 +3696-3706 mcs48: 09 05 fc +3716-3726 mcs48: 0a fc ff +3737-3747 mcs48: 0a fd a3 +3757-3767 mcs48: 0a 00 07 +3778-3788 mcs48: 0a fe 7e +3798-3808 mcs48: 0a ff ae +3818-3829 mcs48: 0b 00 ff +3839-3849 mcs48: 0b 01 a3 +3859-3870 mcs48: 0b 00 ff +3880-3890 mcs48: 0b 02 7e +3900-3911 mcs48: 0b 03 ae +3921-3931 mcs48: 0b 04 84 +3941-3952 mcs48: 0b 05 fc +3962-3972 mcs48: 0c fc ff +3982-3993 mcs48: 0c fd a3 +4003-4013 mcs48: 0c 00 b8 +4023-4034 mcs48: 0c fe 7e +4044-4054 mcs48: 0c ff ae +4064-4075 mcs48: 0d 00 ff +4085-4095 mcs48: 0d 01 a3 +4105-4116 mcs48: 0d 00 ff +4126-4136 mcs48: 0d 02 7e +4146-4157 mcs48: 0d 03 ae +4167-4177 mcs48: 0d 04 c4 +4187-4198 mcs48: 0d 05 fc +4208-4218 mcs48: 0e fc ff +4228-4239 mcs48: 0e fd a3 +4249-4259 mcs48: 0e 00 8a +4269-4280 mcs48: 0e fe 7e +4290-4300 mcs48: 0e ff ae +4310-4321 mcs48: 0f 00 ff +4331-4341 mcs48: 0f 01 a3 +4351-4361 mcs48: 0f 00 ff +4372-4382 mcs48: 0f 02 7e +4392-4402 mcs48: 0f 03 ae +4413-4423 mcs48: 0f 04 e5 +4433-4443 mcs48: 0f 05 c4 +4454-4464 mcs48: 0f 06 e9 +4474-4484 mcs48: 06 e9 8a +4495-4505 mcs48: 06 ea 40 +4515-4525 mcs48: 06 eb 00 +4536-4546 mcs48: 16 ec 83 +4556-4566 mcs48: 16 ed 00 +4577-4587 mcs48: 16 a7 ef +4597-4607 mcs48: 16 a8 a3 +4618-4628 mcs48: 16 a3 14 +4638-4648 mcs48: 16 a4 fc +4659-4669 mcs48: 10 fc ff +4679-4689 mcs48: 10 fd a3 +4700-4710 mcs48: 10 ff ae +4720-4730 mcs48: 10 fe 7e +4741-4751 mcs48: 10 ff ae +4761-4771 mcs48: 11 00 ff +4782-4792 mcs48: 11 01 a3 diff --git a/decoder/test/mcs48/test.conf b/decoder/test/mcs48/test.conf index 6973dc2..fc6bfed 100644 --- a/decoder/test/mcs48/test.conf +++ b/decoder/test/mcs48/test.conf @@ -2,3 +2,4 @@ test i8039_sample protocol-decoder mcs48 channel a8=0 channel a9=1 channel a10=2 channel a11=3 channel a12=4 channel ale=5 channel psen=7 channel d0=8 channel d1=9 channel d2=10 channel d3=11 channel d4=12 channel d5=13 channel d6=14 channel d7=15 input mcs48/hp3478a/i8039_sample.sr output mcs48 annotation match i8039_sample.output + output mcs48 binary class romdata match i8039_sample.bin_romdata