2 ** test program for ANTIC instructions as defined in "_antic.h"
4 ** 23-Feb-2017, Christian Krueger
10 // code is only for testing purposes, as screen and display list are not aligned,
13 unsigned char DummyScreen[400];
26 DL_HSCROL(DL_CHR40x10x1),
27 DL_VSCROL(DL_CHR40x8x4),
29 DL_LMS(DL_HSCROL(DL_VSCROL(DL_DLI(DL_CHR20x8x2)))),
45 /* We know that the sizeof expression is constant; don't tell us. */
47 #pragma warn (const-comparison, off)
52 int returnValue = (sizeof DisplayList != 28); // assure only one byte per instruction!
56 cputs("Test FAILED!");
58 cputs("Test passed.");
60 cputs("\n\rHit any key to exit...");