126#define DLI_MODE( _list, _n ) \
127 *_list++ = ((unsigned char)( _n ));
129#define DLI_MODE_VSCROLL( _list, _n ) \
130 *_list++ = ((unsigned char)( 0x20 | _n ));
132#define DLI_MODE_VSCROLL_IRQ( _list, _n ) \
133 *_list++ = ((unsigned char)( 0x20 | 0x80 | _n ));
135#define DLI_MODE_VHSCROLL( _list, _n ) \
136 *_list++ = ((unsigned char)( 0x10 | 0x20 | _n ));
138#define DLI_MODE_VHSCROLL_IRQ( _list, _n ) \
139 *_list++ = ((unsigned char)( 0x10 | 0x20 | 0x80 | _n ));
141#define DLI_LMS( _list, _n, _addr ) \
142 *_list++ = ((unsigned char)( 0x40 | ( _n ) )); \
143 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
144 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
146#define DLI_LMS_IRQ( _list, _n, _addr ) \
147 *_list++ = ((unsigned char)( 0x40 | 0x80 | ( _n ) )); \
148 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
149 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
151#define DLI_LMS_VSCROLL( _list, _n, _addr ) \
152 *_list++ = ((unsigned char)( 0x20 | 0x40 | ( _n ) )); \
153 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
154 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
156#define DLI_LMS_VSCROLL_IRQ( _list, _n, _addr ) \
157 *_list++ = ((unsigned char)( 0x20 | 0x40 | 0x80 | ( _n ) )); \
158 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
159 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
161#define DLI_LMS_VHSCROLL( _list, _n, _addr ) \
162 *_list++ = ((unsigned char)( 0x10 | 0x20 | 0x40 | ( _n ) )); \
163 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
164 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
166#define DLI_LMS_VHSCROLL_IRQ( _list, _n, _addr ) \
167 *_list++ = ((unsigned char)( 0x10 | 0x20 | 0x40 | 0x80 | ( _n ) )); \
168 *_list++ = ((unsigned char)( ( _addr ) & 0xff )); \
169 *_list++ = ((unsigned char)( ( _addr ) >> 8 ));
171#define DLI_IRQ( _list, _n ) \
172 *_list++ = ((unsigned char)( 0x80 | _n ));
174#define DLI_HSCROLL( _list ) \
175 *_list++ = ((unsigned char)( 0x10 ));
177#define DLI_VSCROLL( _list ) \
178 *_list++ = ((unsigned char)( 0x20 ));
208#define DLI_BLANK( _list, _n ) \
209 *_list++ = ((unsigned char)( ( (_n-1)<<4 ) ));
230#define DLI_JMP( list, addr ) \
231 *list++ = ((unsigned char)(0x1)); \
232 *list++ = ((unsigned char)(addr&0xff)); \
233 *list++ = ((unsigned char)(addr>>8));
253#define DLI_JVB( list, addr ) \
254 *list++ = ((unsigned char)(0x41)); \
255 *list++ = ((unsigned char)(addr&0xff)); \
256 *list++ = ((unsigned char)(addr>>8));
void antic_initialization(Environment *_environment)
void antic_raster_at(Environment *_environment, char *_label, char *_positionlo, char *_positionhi)
ANTIC: emit code to set raster irq
void antic_next_raster(Environment *_environment)
ANTIC: emit code to wait for next raster irq
void antic_finalization(Environment *_environment)
void antic_next_raster_at(Environment *_environment, char *_label, char *_positionlo, char *_positionhi)
ANTIC: emit code to wait for next raster irq at different position
struct _Environment Environment
Structure of compilation environment.