1 2 3 4 5 6 7 #ifndef __CONFIG_Z88DK_H_ 8 #define __CONFIG_Z88DK_H_ 9 10 // Automatically Generated at Library Build Time 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 #undef __Z88DK 26 #define __Z88DK 2000 27 28 29 30 31 32 33 34 35 36 37 38 39 #undef __ZXNEXT 40 #define __ZXNEXT 1 41 42 #define __ZXNEXT_1MB 1 43 #define __ZXNEXT_2MB 2 44 45 #define __ZXNEXT_LAST_PAGE 223 46 #define __ZXNEXT_LAST_DIVMMC 15 47 48 #define __ENV_FILENAME "c:/sys/env.cfg" 49 50 #define __ENV_BUFSZ 128 51 #define __ENV_GETENV_VALSZ 64 52 53 #define __ENV_TMPDIR "c:/tmp" 54 #define __ENV_LTMPNAM 15 55 #define __ENV_TMPMAX 0xffff 56 #define __ENV_TMPMAX_TRY 16 57 58 #define __ENV_BINDIR "c:/dot" 59 #define __ENV_SYSDIR "c:/sys" 60 61 #undef __SPECTRUM 62 #define __SPECTRUM 16 63 64 #define __SPECTRUM_48 1 65 #define __SPECTRUM_128 2 66 #define __SPECTRUM_128_P2 4 67 #define __SPECTRUM_128_P2A 8 68 #define __SPECTRUM_128_P3 16 69 #define __SPECTRUM_PENTAGON 32 70 71 #define __USE_SPECTRUM_128_SECOND_DFILE 0 72 73 #define __USE_SYSVAR 0 74 75 #define __USE_Z80N_OPCODES 0xff 76 77 #define __USE_Z80N_OPCODES_NEXTREG 1 78 #define __USE_Z80N_OPCODES_MLT 2 79 #define __USE_Z80N_OPCODES_LDIR 4 80 #define __USE_Z80N_OPCODES_DISPLAY 8 81 #define __USE_Z80N_OPCODES_OTHER 16 82 83 84 85 86 87 88 89 90 91 92 93 94 #undef __Z80 95 #define __Z80 0x01 96 97 #define __Z80_NMOS 0x01 98 #define __Z80_CMOS 0x02 99 100 #define __CPU_CLOCK 3500000 101 102 #define __CPU_INFO 0x00 103 104 #define __CPU_INFO_ENABLE_SLL 0x01 105 106 107 108 109 110 111 112 113 114 115 116 117 #define __CLIB_OPT_MULTITHREAD 0x00 118 119 #define __CLIB_OPT_MULTITHREAD_LOCK_HEAPS 0x01 120 #define __CLIB_OPT_MULTITHREAD_LOCK_FILES 0x02 121 #define __CLIB_OPT_MULTITHREAD_LOCK_FLIST 0x04 122 #define __CLIB_OPT_MULTITHREAD_LOCK_FDTBL 0x08 123 #define __CLIB_OPT_MULTITHREAD_LOCK_FDSTR 0x10 124 125 #define __CLIB_OPT_IMATH 0 126 127 #define __CLIB_OPT_IMATH_FAST 0x0f 128 129 #define __CLIB_OPT_IMATH_FAST_DIV_UNROLL 0x01 130 #define __CLIB_OPT_IMATH_FAST_DIV_LZEROS 0x02 131 #define __CLIB_OPT_IMATH_FAST_MUL_UNROLL 0x04 132 #define __CLIB_OPT_IMATH_FAST_MUL_LZEROS 0x08 133 #define __CLIB_OPT_IMATH_FAST_LIA 0x80 134 135 #define __CLIB_OPT_IMATH_SELECT 0x00 136 137 #define __CLIB_OPT_IMATH_SELECT_FAST_ASR 0x01 138 #define __CLIB_OPT_IMATH_SELECT_FAST_LSR 0x02 139 #define __CLIB_OPT_IMATH_SELECT_FAST_LSL 0x04 140 141 #define __CLIB_OPT_TXT2NUM 0x04 142 143 #define __CLIB_OPT_TXT2NUM_INT_BIN 0x01 144 #define __CLIB_OPT_TXT2NUM_INT_OCT 0x02 145 #define __CLIB_OPT_TXT2NUM_INT_DEC 0x04 146 #define __CLIB_OPT_TXT2NUM_INT_HEX 0x08 147 148 #define __CLIB_OPT_TXT2NUM_LONG_BIN 0x10 149 #define __CLIB_OPT_TXT2NUM_LONG_OCT 0x20 150 #define __CLIB_OPT_TXT2NUM_LONG_DEC 0x40 151 #define __CLIB_OPT_TXT2NUM_LONG_HEX 0x80 152 153 #define __CLIB_OPT_TXT2NUM_SELECT 0x00 154 155 #define __CLIB_OPT_TXT2NUM_SELECT_FAST_BIN 0x01 156 #define __CLIB_OPT_TXT2NUM_SELECT_FAST_OCT 0x02 157 #define __CLIB_OPT_TXT2NUM_SELECT_FAST_DEC 0x04 158 #define __CLIB_OPT_TXT2NUM_SELECT_FAST_HEX 0x08 159 160 #define __CLIB_OPT_NUM2TXT 0x00 161 162 #define __CLIB_OPT_NUM2TXT_INT_BIN 0x01 163 #define __CLIB_OPT_NUM2TXT_INT_OCT 0x02 164 #define __CLIB_OPT_NUM2TXT_INT_DEC 0x04 165 #define __CLIB_OPT_NUM2TXT_INT_HEX 0x08 166 167 #define __CLIB_OPT_NUM2TXT_LONG_BIN 0x10 168 #define __CLIB_OPT_NUM2TXT_LONG_OCT 0x20 169 #define __CLIB_OPT_NUM2TXT_LONG_DEC 0x40 170 #define __CLIB_OPT_NUM2TXT_LONG_HEX 0x80 171 172 #define __CLIB_OPT_NUM2TXT_SELECT 0x00 173 174 #define __CLIB_OPT_NUM2TXT_SELECT_FAST_BIN 0x01 175 #define __CLIB_OPT_NUM2TXT_SELECT_FAST_OCT 0x02 176 #define __CLIB_OPT_NUM2TXT_SELECT_FAST_DEC 0x04 177 #define __CLIB_OPT_NUM2TXT_SELECT_FAST_HEX 0x08 178 179 #define __CLIB_OPT_STDIO 0x00 180 181 #define __CLIB_OPT_STDIO_VALID 0x01 182 183 #define CHAR_CR 13 184 #define CHAR_LF 10 185 #define CHAR_BS 12 186 #define CHAR_ESC 27 187 #define CHAR_CAPS 6 188 #define CHAR_BELL 7 189 #define CHAR_CTRL_C 3 190 #define CHAR_CTRL_D 4 191 #define CHAR_CTRL_Z 26 192 #define CHAR_CURSOR_UC 45 193 #define CHAR_CURSOR_LC 95 194 #define CHAR_PASSWORD 42 195 196 #define __CLIB_OPT_PRINTF 0x002ff6ff 197 198 #define __CLIB_OPT_PRINTF_d 0x00000001 199 #define __CLIB_OPT_PRINTF_u 0x00000002 200 #define __CLIB_OPT_PRINTF_x 0x00000004 201 #define __CLIB_OPT_PRINTF_X 0x00000008 202 #define __CLIB_OPT_PRINTF_o 0x00000010 203 #define __CLIB_OPT_PRINTF_n 0x00000020 204 #define __CLIB_OPT_PRINTF_i 0x00000040 205 #define __CLIB_OPT_PRINTF_p 0x00000080 206 #define __CLIB_OPT_PRINTF_B 0x00000100 207 #define __CLIB_OPT_PRINTF_s 0x00000200 208 #define __CLIB_OPT_PRINTF_c 0x00000400 209 #define __CLIB_OPT_PRINTF_I 0x00000800 210 #define __CLIB_OPT_PRINTF_ld 0x00001000 211 #define __CLIB_OPT_PRINTF_lu 0x00002000 212 #define __CLIB_OPT_PRINTF_lx 0x00004000 213 #define __CLIB_OPT_PRINTF_lX 0x00008000 214 #define __CLIB_OPT_PRINTF_lo 0x00010000 215 #define __CLIB_OPT_PRINTF_ln 0x00020000 216 #define __CLIB_OPT_PRINTF_li 0x00040000 217 #define __CLIB_OPT_PRINTF_lp 0x00080000 218 #define __CLIB_OPT_PRINTF_lB 0x00100000 219 #define __CLIB_OPT_PRINTF_a 0x00400000 220 #define __CLIB_OPT_PRINTF_A 0x00800000 221 #define __CLIB_OPT_PRINTF_e 0x01000000 222 #define __CLIB_OPT_PRINTF_E 0x02000000 223 #define __CLIB_OPT_PRINTF_f 0x04000000 224 #define __CLIB_OPT_PRINTF_F 0x08000000 225 #define __CLIB_OPT_PRINTF_g 0x10000000 226 #define __CLIB_OPT_PRINTF_G 0x20000000 227 228 #define __CLIB_OPT_PRINTF_2 0x00 229 230 #define __CLIB_OPT_PRINTF_2_lld 0x01 231 #define __CLIB_OPT_PRINTF_2_llu 0x02 232 #define __CLIB_OPT_PRINTF_2_llx 0x04 233 #define __CLIB_OPT_PRINTF_2_llX 0x08 234 #define __CLIB_OPT_PRINTF_2_llo 0x10 235 #define __CLIB_OPT_PRINTF_2_lli 0x40 236 237 #define __CLIB_OPT_SCANF 0x002ff6ff 238 239 #define __CLIB_OPT_SCANF_d 0x00000001 240 #define __CLIB_OPT_SCANF_u 0x00000002 241 #define __CLIB_OPT_SCANF_x 0x00000004 242 #define __CLIB_OPT_SCANF_X 0x00000008 243 #define __CLIB_OPT_SCANF_o 0x00000010 244 #define __CLIB_OPT_SCANF_n 0x00000020 245 #define __CLIB_OPT_SCANF_i 0x00000040 246 #define __CLIB_OPT_SCANF_p 0x00000080 247 #define __CLIB_OPT_SCANF_B 0x00000100 248 #define __CLIB_OPT_SCANF_s 0x00000200 249 #define __CLIB_OPT_SCANF_c 0x00000400 250 #define __CLIB_OPT_SCANF_I 0x00000800 251 #define __CLIB_OPT_SCANF_ld 0x00001000 252 #define __CLIB_OPT_SCANF_lu 0x00002000 253 #define __CLIB_OPT_SCANF_lx 0x00004000 254 #define __CLIB_OPT_SCANF_lX 0x00008000 255 #define __CLIB_OPT_SCANF_lo 0x00010000 256 #define __CLIB_OPT_SCANF_ln 0x00020000 257 #define __CLIB_OPT_SCANF_li 0x00040000 258 #define __CLIB_OPT_SCANF_lp 0x00080000 259 #define __CLIB_OPT_SCANF_lB 0x00100000 260 #define __CLIB_OPT_SCANF_BRACKET 0x00200000 261 #define __CLIB_OPT_SCANF_a 0x00400000 262 #define __CLIB_OPT_SCANF_A 0x00800000 263 #define __CLIB_OPT_SCANF_e 0x01000000 264 #define __CLIB_OPT_SCANF_E 0x02000000 265 #define __CLIB_OPT_SCANF_f 0x04000000 266 #define __CLIB_OPT_SCANF_F 0x08000000 267 #define __CLIB_OPT_SCANF_g 0x10000000 268 #define __CLIB_OPT_SCANF_G 0x20000000 269 270 #define __CLIB_OPT_SCANF_2 0x00 271 272 #define __CLIB_OPT_SCANF_2_lld 0x01 273 #define __CLIB_OPT_SCANF_2_llu 0x02 274 #define __CLIB_OPT_SCANF_2_llx 0x04 275 #define __CLIB_OPT_SCANF_2_llX 0x08 276 #define __CLIB_OPT_SCANF_2_llo 0x10 277 #define __CLIB_OPT_SCANF_2_lli 0x40 278 279 #define __CLIB_OPT_UNROLL 0x00 280 281 #define __CLIB_OPT_UNROLL_MEMCPY 0x01 282 #define __CLIB_OPT_UNROLL_MEMSET 0x02 283 #define __CLIB_OPT_UNROLL_OTIR 0x10 284 #define __CLIB_OPT_UNROLL_LDIR 0x20 285 #define __CLIB_OPT_UNROLL_USER_SMC 0x40 286 #define __CLIB_OPT_UNROLL_LIB_SMC 0x80 287 288 #define __CLIB_OPT_STRTOD 0x00 289 290 #define __CLIB_OPT_STRTOD_NAN 0x01 291 #define __CLIB_OPT_STRTOD_INF 0x01 292 #define __CLIB_OPT_STRTOD_HEX 0x02 293 294 #define __CLIB_OPT_SORT 1 295 296 #define __CLIB_OPT_SORT_INSERTION 0 297 #define __CLIB_OPT_SORT_SHELL 1 298 #define __CLIB_OPT_SORT_QUICK 2 299 300 #define __CLIB_OPT_SORT_QSORT 0x0c 301 302 #define __CLIB_OPT_SORT_QSORT_PIVOT 0x3 303 #define __CLIB_OPT_SORT_QSORT_PIVOT_MID 0x0 304 #define __CLIB_OPT_SORT_QSORT_PIVOT_RAN 0x1 305 #define __CLIB_OPT_SORT_QSORT_ENABLE_INSERTION 0x04 306 #define __CLIB_OPT_SORT_QSORT_ENABLE_EQUAL 0x08 307 308 #define __CLIB_OPT_ERROR 0x00 309 310 #define __CLIB_OPT_ERROR_ENABLED 0x01 311 #define __CLIB_OPT_ERROR_VERBOSE 0x02 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 #define __EOK 0 329 #define __EACCES 1 330 #define __EBADF 2 331 #define __EBDFD 3 332 #define __EDOM 4 333 #define __EFBIG 5 334 #define __EINVAL 6 335 #define __EIO 7 336 #define __EMFILE 8 337 #define __ENFILE 9 338 #define __ENOLCK 10 339 #define __ENOMEM 11 340 #define __ENOTSUP 12 341 #define __EOVERFLOW 13 342 #define __ERANGE 14 343 #define __ESTAT 15 344 #define __EAGAIN 16 345 #define __EWOULDBLOCK 16 346 347 #define __ERROR_NEXT 50 348 349 #define STDIO_SEEK_SET 0 350 #define STDIO_SEEK_CUR 1 351 #define STDIO_SEEK_END 2 352 353 #define STDIO_MSG_PUTC 1 354 #define STDIO_MSG_WRIT 2 355 #define STDIO_MSG_GETC 3 356 #define STDIO_MSG_EATC 4 357 #define STDIO_MSG_READ 5 358 #define STDIO_MSG_SEEK 6 359 #define STDIO_MSG_ICTL 7 360 #define STDIO_MSG_FLSH 8 361 #define STDIO_MSG_CLOS 9 362 363 #define ITERM_MSG_GETC 15 364 #define ITERM_MSG_REJECT 16 365 #define ITERM_MSG_INTERRUPT 17 366 #define ITERM_MSG_PUTC 18 367 #define ITERM_MSG_PRINT_CURSOR 19 368 #define ITERM_MSG_ERASE_CURSOR 20 369 #define ITERM_MSG_ERASE_CURSOR_PWD 21 370 #define ITERM_MSG_BS 22 371 #define ITERM_MSG_BS_PWD 23 372 #define ITERM_MSG_READLINE_BEGIN 24 373 #define ITERM_MSG_READLINE_END 25 374 #define ITERM_MSG_READLINE_SCROLL_LIMIT 26 375 #define ITERM_MSG_BELL 27 376 377 #define __MESSAGE_ITERM_NEXT__ 28 378 379 #define OTERM_MSG_PUTC 30 380 #define OTERM_MSG_TTY 31 381 #define OTERM_MSG_FZX_PUTC 32 382 #define OTERM_MSG_PRINTC 33 383 #define OTERM_MSG_SCROLL 34 384 #define OTERM_MSG_SCROLL_LIMIT 35 385 #define OTERM_MSG_CLS 36 386 #define OTERM_MSG_PAUSE 37 387 #define OTERM_MSG_BELL 38 388 #define OTERM_MSG_PSCROLL 39 389 #define OTERM_MSG_FZX_GET_XOR_DRAW 40 390 391 #define __MESSAGE_OTERM_NEXT__ 41 392 393 #define ICHAR_MSG_GETC 15 394 #define OCHAR_MSG_PUTC_BIN 30 395 #define OCHAR_MSG_PUTC 33 396 397 #define __MESSAGE_NEXT__ 45 398 399 #define mtx_plain 0x01 400 #define mtx_recursive 0x02 401 #define mtx_timed 0x04 402 403 #define thrd_success 0x00 404 #define thrd_error 0x01 405 #define thrd_nomem 0x02 406 #define thrd_busy 0x04 407 #define thrd_timedout 0x08 408 409 #define IOCTL_RESET 0x0000 410 411 #define IOCTL_ITERM_ECHO 0xc081 412 #define IOCTL_ITERM_PASS 0xc041 413 #define IOCTL_ITERM_LINE 0xc021 414 #define IOCTL_ITERM_COOK 0xc011 415 #define IOCTL_ITERM_CAPS 0xc009 416 #define IOCTL_ITERM_CRLF 0xc101 417 #define IOCTL_ITERM_CURS 0xc201 418 419 #define IOCTL_ITERM_TIE 0x0201 420 #define IOCTL_ITERM_GET_EDITBUF 0x0381 421 #define IOCTL_ITERM_SET_EDITBUF 0x0301 422 423 #define IOCTL_OTERM_PAGE 0xc082 424 #define IOCTL_OTERM_PAUSE 0xc042 425 #define IOCTL_OTERM_COOK 0xc022 426 #define IOCTL_OTERM_CRLF 0xc012 427 #define IOCTL_OTERM_CLEAR 0xe002 428 #define IOCTL_OTERM_SIGNAL 0xc202 429 #define IOCTL_OTERM_BELL 0xc102 430 431 #define IOCTL_OTERM_CLS 0x0102 432 #define IOCTL_OTERM_RESET_SCROLL 0x0202 433 #define IOCTL_OTERM_GET_WINDOW_COORD 0x0382 434 #define IOCTL_OTERM_SET_WINDOW_COORD 0x0302 435 #define IOCTL_OTERM_GET_WINDOW_RECT 0x0482 436 #define IOCTL_OTERM_SET_WINDOW_RECT 0x0402 437 #define IOCTL_OTERM_GET_CURSOR_COORD 0x0582 438 #define IOCTL_OTERM_SET_CURSOR_COORD 0x0502 439 #define IOCTL_OTERM_GET_OTERM 0x0602 440 #define IOCTL_OTERM_SCROLL 0x0702 441 #define IOCTL_OTERM_FONT 0x0802 442 #define IOCTL_OTERM_SCROLL_LIMIT 0x0902 443 444 #define IOCTL_OTERM_FZX_GET_PAPER_COORD 0x0a82 445 #define IOCTL_OTERM_FZX_SET_PAPER_COORD 0x0a02 446 #define IOCTL_OTERM_FZX_GET_PAPER_RECT 0x0b82 447 #define IOCTL_OTERM_FZX_SET_PAPER_RECT 0x0b02 448 #define IOCTL_OTERM_FZX_LEFT_MARGIN 0x0c02 449 #define IOCTL_OTERM_FZX_LINE_SPACING 0x0d02 450 #define IOCTL_OTERM_FZX_SPACE_EXPAND 0x0e02 451 #define IOCTL_OTERM_FZX_GET_FZX_STATE 0x0f82 452 #define IOCTL_OTERM_FZX_SET_FZX_STATE 0x0f02 453 454 #define IOCTL_ICHAR_CRLF 0xc103 455 456 #define IOCTL_OCHAR_CRLF 0xc014 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 #define IOCTL_ITERM_GET_DELAY 0x1081 472 #define IOCTL_ITERM_SET_DELAY 0x1001 473 474 #define IOCTL_ITERM_LASTK 0x1101 475 476 #define IOCTL_OTERM_FCOLOR 0x1002 477 #define IOCTL_OTERM_FMASK 0x1102 478 #define IOCTL_OTERM_BCOLOR 0x1202 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 #define __BIFROST2_ANIM_GROUP 4 495 #define __BIFROST2_STATIC_MIN 128 496 #define __BIFROST2_STATIC_OVERLAP 128 497 #define __BIFROST2_TILE_IMAGES 49000 498 #define __BIFROST2_TILE_ORDER 7 499 #define __BIFROST2_TILE_MAP 65281 500 #define __BIFROST2_TOTAL_ROWS 22 501 #define __BIFROST2_HOLE 64839 502 #define __BIFROST2_HOLE_SIZE 0 503 504 505 506 507 508 509 510 511 512 513 514 515 #define __BIFROSTH_ANIM_SPEED 4 516 #define __BIFROSTH_ANIM_GROUP 4 517 #define __BIFROSTH_STATIC_MIN 128 518 #define __BIFROSTH_STATIC_OVERLAP 128 519 #define __BIFROSTH_TILE_IMAGES 48500 520 #define __BIFROSTH_TILE_MAP 65281 521 #define __BIFROSTH_TILE_ORDER 7 522 #define __BIFROSTH_SHIFT_COLUMNS 0 523 #define __BIFROSTH_SPRITE_MODE 0 524 525 526 527 528 529 530 531 532 533 534 535 536 #define __BIFROSTL_ANIM_SPEED 4 537 #define __BIFROSTL_ANIM_GROUP 4 538 #define __BIFROSTL_STATIC_MIN 128 539 #define __BIFROSTL_STATIC_OVERLAP 128 540 #define __BIFROSTL_TILE_IMAGES 48500 541 #define __BIFROSTL_TILE_MAP 65281 542 #define __BIFROSTL_TILE_ORDER 7 543 544 545 546 547 548 549 550 551 552 553 554 555 #define __ESXDOS_BASE_HOOK 128 556 #define __ESXDOS_BASE_MISC 136 557 #define __ESXDOS_BASE_FSYS 152 558 559 #define __ESXDOS_SYSCALL 0x08 560 #define __ESXDOS_ROMCALL 0x18 561 #define __ESXDOS_AUXCALL 0x30 562 563 #define __ESXDOS_SYS_DISK_STATUS 128 564 #define __ESXDOS_SYS_DISK_READ 129 565 #define __ESXDOS_SYS_DISK_WRITE 130 566 #define __ESXDOS_SYS_DISK_IOCTL 131 567 #define __ESXDOS_SYS_DISK_INFO 132 568 569 #define __ESXDOS_SYS_M_DOSVERSION 136 570 #define __ESXDOS_SYS_M_GETSETDRV 137 571 #define __ESXDOS_SYS_M_DRIVEINFO 138 572 #define __ESXDOS_SYS_M_TAPEIN 139 573 #define __ESXDOS_SYS_M_TAPEOUT 140 574 #define __ESXDOS_SYS_M_GETHANDLE 141 575 #define __ESXDOS_SYS_M_GETDATE 142 576 577 #define __ESXDOS_SYS_F_MOUNT 152 578 #define __ESXDOS_SYS_F_UMOUNT 153 579 #define __ESXDOS_SYS_F_OPEN 154 580 #define __ESXDOS_SYS_F_CLOSE 155 581 #define __ESXDOS_SYS_F_SYNC 156 582 #define __ESXDOS_SYS_F_READ 157 583 #define __ESXDOS_SYS_F_WRITE 158 584 #define __ESXDOS_SYS_F_SEEK 159 585 #define __ESXDOS_SYS_F_FGETPOS 160 586 #define __ESXDOS_SYS_F_FSTAT 161 587 #define __ESXDOS_SYS_F_FTRUNCATE 162 588 #define __ESXDOS_SYS_F_OPENDIR 163 589 #define __ESXDOS_SYS_F_READDIR 164 590 #define __ESXDOS_SYS_F_TELLDIR 165 591 #define __ESXDOS_SYS_F_SEEKDIR 166 592 #define __ESXDOS_SYS_F_REWINDDIR 167 593 #define __ESXDOS_SYS_F_GETCWD 168 594 #define __ESXDOS_SYS_F_CHDIR 169 595 #define __ESXDOS_SYS_F_MKDIR 170 596 #define __ESXDOS_SYS_F_RMDIR 171 597 #define __ESXDOS_SYS_F_STAT 172 598 #define __ESXDOS_SYS_F_UNLINK 173 599 #define __ESXDOS_SYS_F_TRUNCATE 174 600 #define __ESXDOS_SYS_F_CHMOD 175 601 #define __ESXDOS_SYS_F_RENAME 176 602 #define __ESXDOS_SYS_F_GETFREE 177 603 604 #define __ESXDOS_PATH_MAX 256 605 #define __ESXDOS_NAME_MAX 128 606 607 #define __ESXDOS_MODE_READ 0x01 608 #define __ESXDOS_MODE_WRITE 0x02 609 #define __ESXDOS_MODE_OPEN_EXIST 0x00 610 #define __ESXDOS_MODE_OPEN_CREAT 0x08 611 #define __ESXDOS_MODE_CREAT_NOEXIST 0x04 612 #define __ESXDOS_MODE_CREAT_TRUNC 0x0c 613 #define __ESXDOS_MODE_USE_HEADER 0x40 614 615 #define __ESXDOS_ATTR_READ_ONLY 0x01 616 #define __ESXDOS_ATTR_HIDDEN 0x02 617 #define __ESXDOS_ATTR_SYSTEM 0x04 618 #define __ESXDOS_ATTR_VOLUME_LABEL 0x08 619 #define __ESXDOS_ATTR_DIRECTORY 0x10 620 #define __ESXDOS_ATTR_ARCHIVE 0x20 621 622 #define __ESXDOS_DRIVE_CURRENT 0x2a 623 #define __ESXDOS_DRIVE_SYSTEM 0x24 624 625 #define __ESXDOS_SEEK_SET 0 626 #define __ESXDOS_SEEK_FWD 1 627 #define __ESXDOS_SEEK_BWD 2 628 629 #define __ESXDOS_OK 0 630 #define __ESXDOS_EOK 1 631 #define __ESXDOS_ENONSENSE 2 632 #define __ESXDOS_ESTEND 3 633 #define __ESXDOS_EWRTYPE 4 634 #define __ESXDOS_ENOENT 5 635 #define __ESXDOS_EIO 6 636 #define __ESXDOS_EINVAL 7 637 #define __ESXDOS_EACCES 8 638 #define __ESXDOS_ENOSPC 9 639 #define __ESXDOS_ENXIO 10 640 #define __ESXDOS_ENODRV 11 641 #define __ESXDOS_ENFILE 12 642 #define __ESXDOS_EBADF 13 643 #define __ESXDOS_ENODEV 14 644 #define __ESXDOS_EOVERFLOW 15 645 #define __ESXDOS_EISDIR 16 646 #define __ESXDOS_ENOTDIR 17 647 #define __ESXDOS_EEXIST 18 648 #define __ESXDOS_EPATH 19 649 #define __ESXDOS_ENOSYS 20 650 #define __ESXDOS_ENAMETOOLONG 21 651 #define __ESXDOS_ENOCMD 22 652 #define __ESXDOS_EINUSE 23 653 #define __ESXDOS_ERDONLY 24 654 #define __ESXDOS_EVERIFY 25 655 #define __ESXDOS_ELOADINGKO 26 656 #define __ESXDOS_EDIRINUSE 27 657 #define __ESXDOS_EMAPRAMACTIVE 28 658 #define __ESXDOS_EDRIVEBUSY 29 659 #define __ESXDOS_EFSUNKNOWN 30 660 #define __ESXDOS_EDEVICEBUSY 31 661 #define __ESXDOS_EMAXCODE 31 662 663 664 665 666 667 668 669 670 671 672 673 674 #define __NIRVANAM_OPTIONS 0 675 676 #define __NIRVANAM_OPTIONS_WIDE_DRAW 0x01 677 #define __NIRVANAM_OPTIONS_WIDE_SPRITES 0x02 678 679 #define __NIRVANAM_TOTAL_ROWS 22 680 #define __NIRVANAM_HOLE 64994 681 #define __NIRVANAM_HOLE_SIZE 0 682 683 #define __NIRVANAM_TILE_IMAGES 48000 684 #define __NIRVANAM_WIDE_IMAGES 54000 685 #define __NIRVANAM_CHAR_TABLE 15360 686 687 688 689 690 691 692 693 694 695 696 697 698 #define __NIRVANAP_OPTIONS 0 699 700 #define __NIRVANAP_OPTIONS_WIDE_DRAW 0x01 701 #define __NIRVANAP_OPTIONS_WIDE_SPRITES 0x02 702 703 #define __NIRVANAP_TOTAL_ROWS 23 704 #define __NIRVANAP_HOLE 64262 705 #define __NIRVANAP_HOLE_SIZE 0 706 707 #define __NIRVANAP_TILE_IMAGES 48000 708 #define __NIRVANAP_WIDE_IMAGES 54000 709 #define __NIRVANAP_CHAR_TABLE 15360 710 711 712 713 714 715 716 717 718 719 720 721 722 #define __SOUND_BIT_METHOD 1 723 #define __SOUND_BIT_PORT 0xfe 724 #define __SOUND_BIT_TOGGLE 0x10 725 #define __SOUND_BIT_TOGGLE_POS 4 726 #define __SOUND_BIT_READ_MASK 0x17 727 #define __SOUND_BIT_WRITE_MASK 0xe8 728 729 730 731 732 733 734 735 736 737 738 739 740 #define SP1V_DISPORIGX 0 741 #define SP1V_DISPORIGY 0 742 #define SP1V_DISPWIDTH 32 743 #define SP1V_DISPHEIGHT 24 744 745 #define SP1V_PIXELBUFFER 0xd1f7 746 #define SP1V_ATTRBUFFER 0xd1ff 747 748 #define SP1V_TILEARRAY 0xf000 749 #define SP1V_UPDATEARRAY 0xd200 750 #define SP1V_ROTTBL 0xf000 751 752 #define SP1V_UPDATELISTH 0xd1ed 753 #define SP1V_UPDATELISTT 0xd1ef 754 755 756 757 758 759 760 761 762 763 764 765 766 #define __IO_DAC_L0 0x0f 767 #define __IO_DAC_L1 0x1f 768 #define __IO_DAC_R0 0x4f 769 #define __IO_DAC_R1 0x5f 770 771 #define __IO_DAC_M0 0xdf 772 773 #define __IO_DAC_SPECDRUM 0xdf 774 775 #define __IO_DAC_PROFI_L 0x3f 776 #define __IO_DAC_PROFI_R 0x5f 777 778 #define __IO_DAC_COVOX_L 0x0f 779 #define __IO_DAC_COVOX_R 0x4f 780 781 #define __IO_SOUNDRIVE_L_A 0x0f 782 #define __IO_SOUNDRIVE_L_B 0x1f 783 #define __IO_SOUNDRIVE_R_C 0x4f 784 #define __IO_SOUNDRIVE_R_D 0x5f 785 786 #define __IO_SOUNDRIVE_L_A2 0xf1 787 #define __IO_SOUNDRIVE_L_B2 0xf3 788 #define __IO_SOUNDRIVE_R_C2 0xf9 789 #define __IO_SOUNDRIVE_R_D2 0xfb 790 791 #define __IO_TURBOSOUND 0xfffd 792 793 #define __IT_ENABLE_L 0xd0 794 #define __IT_ENABLE_R 0xb0 795 #define __IT_ENABLE_LR 0xf0 796 #define __IT_SELECT_PSG_0 0x0f 797 #define __IT_SELECT_PSG_1 0x0e 798 #define __IT_SELECT_PSG_2 0x0d 799 800 #define __IO_FFFD_ENABLE_L 0xd0 801 #define __IO_FFFD_ENABLE_R 0xb0 802 #define __IO_FFFD_ENABLE_LR 0xf0 803 #define __IO_FFFD_SELECT_PSG_0 0x0f 804 #define __IO_FFFD_SELECT_PSG_1 0x0e 805 #define __IO_FFFD_SELECT_PSG_2 0x0d 806 807 #define __IO_AY_REG 0xfffd 808 #define __IO_AY_DAT 0xbffd 809 810 811 812 813 814 815 816 817 818 819 820 821 #define __ZXN_RGB332_NEXTOS_BLACK 0x00 822 #define __ZXN_RGB332_NEXTOS_BLUE 0x02 823 #define __ZXN_RGB332_NEXTOS_RED 0xa0 824 #define __ZXN_RGB332_NEXTOS_MAGENTA 0xa2 825 #define __ZXN_RGB332_NEXTOS_GREEN 0x14 826 #define __ZXN_RGB332_NEXTOS_CYAN 0x16 827 #define __ZXN_RGB332_NEXTOS_YELLOW 0xb4 828 #define __ZXN_RGB332_NEXTOS_WHITE 0xb6 829 830 #define __ZXN_RGB332_NEXTOS_BRIGHT_BLACK 0x00 831 #define __ZXN_RGB332_NEXTOS_BRIGHT_BLUE 0x03 832 #define __ZXN_RGB332_NEXTOS_BRIGHT_RED 0xe0 833 #define __ZXN_RGB332_NEXTOS_BRIGHT_MAGENTA 0xe7 834 #define __ZXN_RGB332_NEXTOS_BRIGHT_GREEN 0x1c 835 #define __ZXN_RGB332_NEXTOS_BRIGHT_CYAN 0x1f 836 #define __ZXN_RGB332_NEXTOS_BRIGHT_YELLOW 0xfc 837 #define __ZXN_RGB332_NEXTOS_BRIGHT_WHITE 0xff 838 839 #define __ZXN_RGB332_RED_0 0x20 840 #define __ZXN_RGB332_RED_1 0x40 841 #define __ZXN_RGB332_RED_2 0x60 842 #define __ZXN_RGB332_RED_3 0x80 843 #define __ZXN_RGB332_RED_4 0xa0 844 #define __ZXN_RGB332_RED_5 0xc0 845 #define __ZXN_RGB332_RED_6 0xe0 846 847 #define __ZXN_RGB333_RED_0 0x040 848 #define __ZXN_RGB333_RED_1 0x080 849 #define __ZXN_RGB333_RED_2 0x0c0 850 #define __ZXN_RGB333_RED_3 0x100 851 #define __ZXN_RGB333_RED_4 0x140 852 #define __ZXN_RGB333_RED_5 0x180 853 #define __ZXN_RGB333_RED_6 0x1c0 854 855 #define __ZXN_RGB332_GREEN_0 0x04 856 #define __ZXN_RGB332_GREEN_1 0x08 857 #define __ZXN_RGB332_GREEN_2 0x0c 858 #define __ZXN_RGB332_GREEN_3 0x10 859 #define __ZXN_RGB332_GREEN_4 0x14 860 #define __ZXN_RGB332_GREEN_5 0x18 861 #define __ZXN_RGB332_GREEN_6 0x1c 862 863 #define __ZXN_RGB333_GREEN_0 0x008 864 #define __ZXN_RGB333_GREEN_1 0x010 865 #define __ZXN_RGB333_GREEN_2 0x018 866 #define __ZXN_RGB333_GREEN_3 0x020 867 #define __ZXN_RGB333_GREEN_4 0x028 868 #define __ZXN_RGB333_GREEN_5 0x030 869 #define __ZXN_RGB333_GREEN_6 0x038 870 871 #define __ZXN_RGB332_BLUE_0 0x01 872 #define __ZXN_RGB332_BLUE_1 0x02 873 #define __ZXN_RGB332_BLUE_2 0x03 874 875 #define __ZXN_RGB333_BLUE_0 0x001 876 #define __ZXN_RGB333_BLUE_1 0x002 877 #define __ZXN_RGB333_BLUE_2 0x003 878 #define __ZXN_RGB333_BLUE_3 0x004 879 #define __ZXN_RGB333_BLUE_4 0x005 880 #define __ZXN_RGB333_BLUE_5 0x006 881 #define __ZXN_RGB333_BLUE_6 0x007 882 883 #define __ZXN_RGB332_YELLOW_0 0x24 884 #define __ZXN_RGB332_YELLOW_1 0x48 885 #define __ZXN_RGB332_YELLOW_2 0x6c 886 #define __ZXN_RGB332_YELLOW_3 0x90 887 #define __ZXN_RGB332_YELLOW_4 0xb4 888 #define __ZXN_RGB332_YELLOW_5 0xd8 889 #define __ZXN_RGB332_YELLOW_6 0xfc 890 891 #define __ZXN_RGB333_YELLOW_0 0x048 892 #define __ZXN_RGB333_YELLOW_1 0x090 893 #define __ZXN_RGB333_YELLOW_2 0x0d8 894 #define __ZXN_RGB333_YELLOW_3 0x120 895 #define __ZXN_RGB333_YELLOW_4 0x168 896 #define __ZXN_RGB333_YELLOW_5 0x1b0 897 #define __ZXN_RGB333_YELLOW_6 0x1f8 898 899 #define __ZXN_RGB332_MAGENTA_0 0x41 900 #define __ZXN_RGB332_MAGENTA_1 0xa2 901 #define __ZXN_RGB332_MAGENTA_2 0xe3 902 903 #define __ZXN_RGB333_MAGENTA_0 0x041 904 #define __ZXN_RGB333_MAGENTA_1 0x082 905 #define __ZXN_RGB333_MAGENTA_2 0x0c3 906 #define __ZXN_RGB333_MAGENTA_3 0x104 907 #define __ZXN_RGB333_MAGENTA_4 0x145 908 #define __ZXN_RGB333_MAGENTA_5 0x186 909 #define __ZXN_RGB333_MAGENTA_6 0x1c7 910 911 #define __ZXN_RGB332_CYAN_0 0x09 912 #define __ZXN_RGB332_CYAN_1 0x16 913 #define __ZXN_RGB332_CYAN_2 0x1f 914 915 #define __ZXN_RGB333_CYAN_0 0x009 916 #define __ZXN_RGB333_CYAN_1 0x012 917 #define __ZXN_RGB333_CYAN_2 0x01b 918 #define __ZXN_RGB333_CYAN_3 0x024 919 #define __ZXN_RGB333_CYAN_4 0x02d 920 #define __ZXN_RGB333_CYAN_5 0x036 921 #define __ZXN_RGB333_CYAN_6 0x03f 922 923 #define __ZXN_RGB332_MONO_GRAY_0 0x00 924 #define __ZXN_RGB332_MONO_GRAY_1 0x49 925 #define __ZXN_RGB332_MONO_GRAY_2 0x92 926 #define __ZXN_RGB332_MONO_GRAY_3 0xff 927 928 #define __ZXN_RGB333_MONO_GRAY_0 0x000 929 #define __ZXN_RGB333_MONO_GRAY_1 0x049 930 #define __ZXN_RGB333_MONO_GRAY_2 0x092 931 #define __ZXN_RGB333_MONO_GRAY_3 0x0db 932 #define __ZXN_RGB333_MONO_GRAY_4 0x124 933 #define __ZXN_RGB333_MONO_GRAY_5 0x16d 934 #define __ZXN_RGB333_MONO_GRAY_6 0x1b6 935 #define __ZXN_RGB333_MONO_GRAY_7 0x1ff 936 937 #define __ZXN_RGB332_AMBER_0 0x20 938 #define __ZXN_RGB332_AMBER_1 0x44 939 #define __ZXN_RGB332_AMBER_2 0x64 940 #define __ZXN_RGB332_AMBER_3 0x88 941 #define __ZXN_RGB332_AMBER_4 0xa8 942 #define __ZXN_RGB332_AMBER_5 0xcc 943 #define __ZXN_RGB332_AMBER_6 0xec 944 945 #define __ZXN_RGB333_AMBER_0 0x0d0 946 #define __ZXN_RGB333_AMBER_1 0x118 947 #define __ZXN_RGB333_AMBER_2 0x1a0 948 #define __ZXN_RGB333_AMBER_3 0x1ab 949 #define __ZXN_RGB333_AMBER_4 0x1fc 950 #define __ZXN_RGB333_AMBER_5 0x1fe 951 952 #define __ZXN_RGB332_SKINC_0 0xff 953 #define __ZXN_RGB332_SKINC_1 0xfa 954 #define __ZXN_RGB332_SKINC_2 0xfa 955 #define __ZXN_RGB332_SKINC_3 0xf6 956 #define __ZXN_RGB332_SKINC_4 0xfe 957 958 #define __ZXN_RGB333_SKINC_0 0x1fe 959 #define __ZXN_RGB333_SKINC_1 0x1f5 960 #define __ZXN_RGB333_SKINC_2 0x1f4 961 #define __ZXN_RGB333_SKINC_3 0x1eb 962 #define __ZXN_RGB333_SKINC_4 0x1fd 963 964 #define __ZXN_RGB332_SKINT_0 0x8d 965 #define __ZXN_RGB332_SKINT_1 0xd1 966 #define __ZXN_RGB332_SKINT_2 0xf6 967 #define __ZXN_RGB332_SKINT_3 0xfa 968 #define __ZXN_RGB332_SKINT_4 0xff 969 970 #define __ZXN_RGB333_SKINT_0 0x119 971 #define __ZXN_RGB333_SKINT_1 0x1a2 972 #define __ZXN_RGB333_SKINT_2 0x1eb 973 #define __ZXN_RGB333_SKINT_3 0x1f4 974 #define __ZXN_RGB333_SKINT_4 0x1fd 975 976 #define __ZXN_RGB332_SKINL_0 0xfb 977 #define __ZXN_RGB332_SKINL_1 0xf6 978 #define __ZXN_RGB332_SKINL_2 0xf6 979 #define __ZXN_RGB332_SKINL_3 0xd2 980 #define __ZXN_RGB332_SKINL_4 0xee 981 982 #define __ZXN_RGB333_SKINL_0 0x1f5 983 #define __ZXN_RGB333_SKINL_1 0x1ed 984 #define __ZXN_RGB333_SKINL_2 0x1ec 985 #define __ZXN_RGB333_SKINL_3 0x1a4 986 #define __ZXN_RGB333_SKINL_4 0x1db 987 988 #define __ZXN_RGB332_SKIND_0 0xb1 989 #define __ZXN_RGB332_SKIND_1 0xad 990 #define __ZXN_RGB332_SKIND_2 0x8d 991 #define __ZXN_RGB332_SKIND_3 0x8c 992 #define __ZXN_RGB332_SKIND_4 0x68 993 994 #define __ZXN_RGB333_SKIND_0 0x162 995 #define __ZXN_RGB333_SKIND_1 0x159 996 #define __ZXN_RGB333_SKIND_2 0x119 997 #define __ZXN_RGB333_SKIND_3 0x119 998 #define __ZXN_RGB333_SKIND_4 0x0d1 999 1000 #define __ZXN_RGB332_FACEBOOK_0 0x00 1001 #define __ZXN_RGB332_FACEBOOK_1 0x4e 1002 #define __ZXN_RGB332_FACEBOOK_2 0x97 1003 #define __ZXN_RGB332_FACEBOOK_3 0xff 1004 #define __ZXN_RGB332_FACEBOOK_4 0xff 1005 #define __ZXN_RGB332_FACEBOOK_5 0xff 1006 1007 #define __ZXN_RGB333_FACEBOOK_0 0x000 1008 #define __ZXN_RGB333_FACEBOOK_1 0x09d 1009 #define __ZXN_RGB333_FACEBOOK_2 0x12e 1010 #define __ZXN_RGB333_FACEBOOK_3 0x1ff 1011 #define __ZXN_RGB333_FACEBOOK_4 0x1ff 1012 #define __ZXN_RGB333_FACEBOOK_5 0x1ff 1013 1014 #define __ZXN_RGB332_FBM_BLUE 0x13 1015 #define __ZXN_RGB332_FBM_CYAN 0x5b 1016 #define __ZXN_RGB332_FBM_YELLOW 0xf8 1017 #define __ZXN_RGB332_FBM_RED 0xe9 1018 #define __ZXN_RGB332_FBM_PURPLE 0xf7 1019 1020 #define __ZXN_RGB333_FBM_BLUE 0x027 1021 #define __ZXN_RGB333_FBM_CYAN 0x0b6 1022 #define __ZXN_RGB333_FBM_YELLOW 0x1f0 1023 #define __ZXN_RGB333_FBM_RED 0x1d2 1024 #define __ZXN_RGB333_FBM_PURPLE 0x1ee 1025 1026 #define __ZXN_RGB332_GOOGLE_BLACK 0x00 1027 #define __ZXN_RGB332_GOOGLE_GREEN 0x11 1028 #define __ZXN_RGB332_GOOGLE_BLUE 0x0f 1029 #define __ZXN_RGB332_GOOGLE_RED 0xe5 1030 #define __ZXN_RGB332_GOOGLE_YELLOW 0xf4 1031 #define __ZXN_RGB332_GOOGLE_WHITE 0xff 1032 1033 #define __ZXN_RGB333_GOOGLE_BLACK 0x000 1034 #define __ZXN_RGB333_GOOGLE_GREEN 0x022 1035 #define __ZXN_RGB333_GOOGLE_BLUE 0x01f 1036 #define __ZXN_RGB333_GOOGLE_RED 0x1c9 1037 #define __ZXN_RGB333_GOOGLE_YELLOW 0x1e8 1038 #define __ZXN_RGB333_GOOGLE_WHITE 0x1ff 1039 1040 #define __ZXN_RGB332_YOUTUBE_RED 0xc4 1041 #define __ZXN_RGB332_YOUTUBE_BLUE 0x37 1042 #define __ZXN_RGB332_YOUTUBE_GREEN 0x74 1043 #define __ZXN_RGB332_YOUTUBE_GREY 0x6e 1044 #define __ZXN_RGB332_YOUTUBE_WHITE 0xff 1045 1046 #define __ZXN_RGB333_YOUTUBE_RED 0x189 1047 #define __ZXN_RGB333_YOUTUBE_BLUE 0x06f 1048 #define __ZXN_RGB333_YOUTUBE_GREEN 0x0e8 1049 #define __ZXN_RGB333_YOUTUBE_GREY 0x0db 1050 #define __ZXN_RGB333_YOUTUBE_WHITE 0x1ff 1051 1052 #define __ZXN_RGB332_INSTAGRAM_BROWN 0xad 1053 #define __ZXN_RGB332_INSTAGRAM_RED 0xe9 1054 #define __ZXN_RGB332_INSTAGRAM_YELLOW 0xfd 1055 #define __ZXN_RGB332_INSTAGRAM_GREEN 0x9e 1056 #define __ZXN_RGB332_INSTAGRAM_BLUE 0x0f 1057 1058 #define __ZXN_RGB333_INSTAGRAM_BROWN 0x15a 1059 #define __ZXN_RGB333_INSTAGRAM_RED 0x1d2 1060 #define __ZXN_RGB333_INSTAGRAM_YELLOW 0x1fa 1061 #define __ZXN_RGB333_INSTAGRAM_GREEN 0x13b 1062 #define __ZXN_RGB333_INSTAGRAM_BLUE 0x01e 1063 1064 #define __ZXN_RGB332_ZX_BLACK 0x00 1065 #define __ZXN_RGB332_ZX_BLUE 0x02 1066 #define __ZXN_RGB332_ZX_RED 0xc0 1067 #define __ZXN_RGB332_ZX_MAGENTA 0xc3 1068 #define __ZXN_RGB332_ZX_GREEN 0x18 1069 #define __ZXN_RGB332_ZX_CYAN 0x1b 1070 #define __ZXN_RGB332_ZX_YELLOW 0xd8 1071 #define __ZXN_RGB332_ZX_WHITE 0xdb 1072 #define __ZXN_RGB332_ZX_BRIGHT_BLACK 0x00 1073 #define __ZXN_RGB332_ZX_BRIGHT_BLUE 0x03 1074 #define __ZXN_RGB332_ZX_BRIGHT_RED 0xe0 1075 #define __ZXN_RGB332_ZX_BRIGHT_MAGENTA 0xe3 1076 #define __ZXN_RGB332_ZX_BRIGHT_GREEN 0x1c 1077 #define __ZXN_RGB332_ZX_BRIGHT_CYAN 0x1f 1078 #define __ZXN_RGB332_ZX_BRIGHT_YELLOW 0xfc 1079 #define __ZXN_RGB332_ZX_BRIGHT_WHITE 0xff 1080 1081 #define __ZXN_RGB333_ZX_BLACK 0x000 1082 #define __ZXN_RGB333_ZX_BLUE 0x006 1083 #define __ZXN_RGB333_ZX_RED 0x180 1084 #define __ZXN_RGB333_ZX_MAGENTA 0x186 1085 #define __ZXN_RGB333_ZX_GREEN 0x030 1086 #define __ZXN_RGB333_ZX_CYAN 0x036 1087 #define __ZXN_RGB333_ZX_YELLOW 0x1b0 1088 #define __ZXN_RGB333_ZX_WHITE 0x1b6 1089 #define __ZXN_RGB333_ZX_BRIGHT_BLACK 0x000 1090 #define __ZXN_RGB333_ZX_BRIGHT_BLUE 0x007 1091 #define __ZXN_RGB333_ZX_BRIGHT_RED 0x1c0 1092 #define __ZXN_RGB333_ZX_BRIGHT_MAGENTA 0x1c7 1093 #define __ZXN_RGB333_ZX_BRIGHT_GREEN 0x038 1094 #define __ZXN_RGB333_ZX_BRIGHT_CYAN 0x03f 1095 #define __ZXN_RGB333_ZX_BRIGHT_YELLOW 0x1f8 1096 #define __ZXN_RGB333_ZX_BRIGHT_WHITE 0x1ff 1097 1098 #define __ZXN_RGB332_C64_BLACK 0x00 1099 #define __ZXN_RGB332_C64_WHITE 0xff 1100 #define __ZXN_RGB332_C64_RED 0x84 1101 #define __ZXN_RGB332_C64_CYAN 0x77 1102 #define __ZXN_RGB332_C64_VIOLET 0x8a 1103 #define __ZXN_RGB332_C64_GREEN 0x75 1104 #define __ZXN_RGB332_C64_BLUE 0x26 1105 #define __ZXN_RGB332_C64_YELLOW 0xd9 1106 #define __ZXN_RGB332_C64_ORANGE 0x88 1107 #define __ZXN_RGB332_C64_BROWN 0x48 1108 #define __ZXN_RGB332_C64_LIGHTRED 0xad 1109 #define __ZXN_RGB332_C64_DARKGRAY 0x49 1110 #define __ZXN_RGB332_C64_GRAY 0x92 1111 #define __ZXN_RGB332_C64_LIGHTGREEN 0xbe 1112 #define __ZXN_RGB332_C64_LIGHTBLUE 0x6f 1113 #define __ZXN_RGB332_C64_LIGHTGRAY 0xb6 1114 1115 #define __ZXN_RGB333_C64_BLACK 0x000 1116 #define __ZXN_RGB333_C64_WHITE 0x1ff 1117 #define __ZXN_RGB333_C64_RED 0x100 1118 #define __ZXN_RGB333_C64_CYAN 0x17f 1119 #define __ZXN_RGB333_C64_VIOLET 0x196 1120 #define __ZXN_RGB333_C64_GREEN 0x032 1121 #define __ZXN_RGB333_C64_BLUE 0x005 1122 #define __ZXN_RGB333_C64_YELLOW 0x1fb 1123 #define __ZXN_RGB333_C64_ORANGE 0x1a2 1124 #define __ZXN_RGB333_C64_BROWN 0x0d0 1125 #define __ZXN_RGB333_C64_LIGHTRED 0x1db 1126 #define __ZXN_RGB333_C64_DARKGRAY 0x049 1127 #define __ZXN_RGB333_C64_GRAY 0x0db 1128 #define __ZXN_RGB333_C64_LIGHTGREEN 0x17b 1129 #define __ZXN_RGB333_C64_LIGHTBLUE 0x027 1130 #define __ZXN_RGB333_C64_LIGHTGRAY 0x16d 1131 1132 #define __ZXN_RGB332_APPLEII_BLACK 0x00 1133 #define __ZXN_RGB332_APPLEII_RED 0xe1 1134 #define __ZXN_RGB332_APPLEII_DBLUE 0x6a 1135 #define __ZXN_RGB332_APPLEII_PURPLE 0xeb 1136 #define __ZXN_RGB332_APPLEII_DGREEN 0x15 1137 #define __ZXN_RGB332_APPLEII_GRAY 0x92 1138 #define __ZXN_RGB332_APPLEII_MBLUE 0x1b 1139 #define __ZXN_RGB332_APPLEII_LBLUE 0xdb 1140 #define __ZXN_RGB332_APPLEII_BROWN 0x6c 1141 #define __ZXN_RGB332_APPLEII_ORANGE 0xec 1142 #define __ZXN_RGB332_APPLEII_PINK 0xf7 1143 #define __ZXN_RGB332_APPLEII_LGREEN 0x1c 1144 #define __ZXN_RGB332_APPLEII_YELLOW 0xda 1145 #define __ZXN_RGB332_APPLEII_AQUA 0x7f 1146 #define __ZXN_RGB332_APPLEII_WHITE 0xff 1147 1148 #define __ZXN_RGB333_APPLEII_BLACK 0x00 1149 #define __ZXN_RGB333_APPLEII_RED 0x1c3 1150 #define __ZXN_RGB333_APPLEII_DBLUE 0xd5 1151 #define __ZXN_RGB333_APPLEII_PURPLE 0x1d7 1152 #define __ZXN_RGB333_APPLEII_DGREEN 0x2b 1153 #define __ZXN_RGB333_APPLEII_GRAY 0x124 1154 #define __ZXN_RGB333_APPLEII_MBLUE 0x37 1155 #define __ZXN_RGB333_APPLEII_LBLUE 0x1b7 1156 #define __ZXN_RGB333_APPLEII_BROWN 0xd8 1157 #define __ZXN_RGB333_APPLEII_ORANGE 0x1d9 1158 #define __ZXN_RGB333_APPLEII_PINK 0x1ee 1159 #define __ZXN_RGB333_APPLEII_LGREEN 0x39 1160 #define __ZXN_RGB333_APPLEII_YELLOW 0x1b4 1161 #define __ZXN_RGB333_APPLEII_AQUA 0xfe 1162 #define __ZXN_RGB333_APPLEII_WHITE 0x1ff 1163 1164 #define __ZXN_RGB332_PICO8_BLACK 0x00 1165 #define __ZXN_RGB332_PICO8_GRAY 0x49 1166 #define __ZXN_RGB332_PICO8_VIOLET 0x8e 1167 #define __ZXN_RGB332_PICO8_LGRAY 0xdb 1168 #define __ZXN_RGB332_PICO8_WHITE 0xff 1169 #define __ZXN_RGB332_PICO8_PURPLE 0x65 1170 #define __ZXN_RGB332_PICO8_RED 0xe1 1171 #define __ZXN_RGB332_PICO8_PINK 0xee 1172 #define __ZXN_RGB332_PICO8_BROWN 0xa8 1173 #define __ZXN_RGB332_PICO8_GOLD 0xf4 1174 #define __ZXN_RGB332_PICO8_YELLOW 0xfc 1175 #define __ZXN_RGB332_PICO8_SKIN 0xfa 1176 #define __ZXN_RGB332_PICO8_GREEN 0x11 1177 #define __ZXN_RGB332_PICO8_LGREEN 0x1c 1178 #define __ZXN_RGB332_PICO8_BLUE 0x25 1179 #define __ZXN_RGB332_PICO8_CYAN 0x37 1180 1181 #define __ZXN_RGB333_PICO8_BLACK 0x000 1182 #define __ZXN_RGB333_PICO8_GRAY 0x092 1183 #define __ZXN_RGB333_PICO8_VIOLET 0x11c 1184 #define __ZXN_RGB333_PICO8_LGRAY 0x1b6 1185 #define __ZXN_RGB333_PICO8_WHITE 0x1ff 1186 #define __ZXN_RGB333_PICO8_PURPLE 0x0ca 1187 #define __ZXN_RGB333_PICO8_RED 0x1c2 1188 #define __ZXN_RGB333_PICO8_PINK 0x1dd 1189 #define __ZXN_RGB333_PICO8_BROWN 0x151 1190 #define __ZXN_RGB333_PICO8_GOLD 0x1e8 1191 #define __ZXN_RGB333_PICO8_YELLOW 0x1f9 1192 #define __ZXN_RGB333_PICO8_SKIN 0x1f5 1193 #define __ZXN_RGB333_PICO8_GREEN 0x022 1194 #define __ZXN_RGB333_PICO8_LGREEN 0x039 1195 #define __ZXN_RGB333_PICO8_BLUE 0x04a 1196 #define __ZXN_RGB333_PICO8_CYAN 0x06f 1197 1198 #define __ZXN_RGB332_ARCADE29_WHITE 0xff 1199 #define __ZXN_RGB332_ARCADE29_PINKROSE 0xe9 1200 #define __ZXN_RGB332_ARCADE29_BRICK 0xa5 1201 #define __ZXN_RGB332_ARCADE29_YELLOW 0xf9 1202 #define __ZXN_RGB332_ARCADE29_ORANGE 0xec 1203 #define __ZXN_RGB332_ARCADE29_SKIN 0xfa 1204 #define __ZXN_RGB332_ARCADE29_DSKIN 0xd1 1205 #define __ZXN_RGB332_ARCADE29_REDBROWN 0xa9 1206 #define __ZXN_RGB332_ARCADE29_MAROON 0x65 1207 #define __ZXN_RGB332_ARCADE29_LGREEN 0x99 1208 #define __ZXN_RGB332_ARCADE29_GREEN 0x31 1209 #define __ZXN_RGB332_ARCADE29_TEAL 0x09 1210 #define __ZXN_RGB332_ARCADE29_BCYAN 0x5b 1211 #define __ZXN_RGB332_ARCADE29_LTEAL 0x32 1212 #define __ZXN_RGB332_ARCADE29_CYAN 0x7f 1213 #define __ZXN_RGB332_ARCADE29_LBLUE 0x57 1214 #define __ZXN_RGB332_ARCADE29_BLUE 0x4f 1215 #define __ZXN_RGB332_ARCADE29_DBLUE 0x26 1216 #define __ZXN_RGB332_ARCADE29_LPINK 0xcf 1217 #define __ZXN_RGB332_ARCADE29_PURPLE 0x6a 1218 #define __ZXN_RGB332_ARCADE29_PALEPINK 0xf7 1219 #define __ZXN_RGB332_ARCADE29_PINK 0xef 1220 #define __ZXN_RGB332_ARCADE29_BLACK 0x24 1221 #define __ZXN_RGB332_ARCADE29_LGRAY 0xb7 1222 #define __ZXN_RGB332_ARCADE29_GRAY 0x6e 1223 #define __ZXN_RGB332_ARCADE29_BLUEGRAY 0x29 1224 #define __ZXN_RGB332_ARCADE29_BEIGE 0xd6 1225 #define __ZXN_RGB332_ARCADE29_LBROWN 0x8d 1226 #define __ZXN_RGB332_ARCADE29_BROWN 0x45 1227 1228 #define __ZXN_RGB333_ARCADE29_WHITE 0x1ff 1229 #define __ZXN_RGB333_ARCADE29_PINKROSE 0x1d2 1230 #define __ZXN_RGB333_ARCADE29_BRICK 0x14a 1231 #define __ZXN_RGB333_ARCADE29_YELLOW 0x1f2 1232 #define __ZXN_RGB333_ARCADE29_ORANGE 0x1d8 1233 #define __ZXN_RGB333_ARCADE29_SKIN 0x1f4 1234 #define __ZXN_RGB333_ARCADE29_DSKIN 0x1a2 1235 #define __ZXN_RGB333_ARCADE29_REDBROWN 0x152 1236 #define __ZXN_RGB333_ARCADE29_MAROON 0x0c9 1237 #define __ZXN_RGB333_ARCADE29_LGREEN 0x131 1238 #define __ZXN_RGB333_ARCADE29_GREEN 0x062 1239 #define __ZXN_RGB333_ARCADE29_TEAL 0x012 1240 #define __ZXN_RGB333_ARCADE29_BCYAN 0x0b5 1241 #define __ZXN_RGB333_ARCADE29_LTEAL 0x064 1242 #define __ZXN_RGB333_ARCADE29_CYAN 0x0ff 1243 #define __ZXN_RGB333_ARCADE29_LBLUE 0x0af 1244 #define __ZXN_RGB333_ARCADE29_BLUE 0x09f 1245 #define __ZXN_RGB333_ARCADE29_DBLUE 0x04c 1246 #define __ZXN_RGB333_ARCADE29_LPINK 0x19f 1247 #define __ZXN_RGB333_ARCADE29_PURPLE 0x0d5 1248 #define __ZXN_RGB333_ARCADE29_PALEPINK 0x1ee 1249 #define __ZXN_RGB333_ARCADE29_PINK 0x1dd 1250 #define __ZXN_RGB333_ARCADE29_BLACK 0x049 1251 #define __ZXN_RGB333_ARCADE29_LGRAY 0x16d 1252 #define __ZXN_RGB333_ARCADE29_GRAY 0x0dc 1253 #define __ZXN_RGB333_ARCADE29_BLUEGRAY 0x052 1254 #define __ZXN_RGB333_ARCADE29_BEIGE 0x1ac 1255 #define __ZXN_RGB333_ARCADE29_LBROWN 0x11b 1256 #define __ZXN_RGB333_ARCADE29_BROWN 0x089 1257 1258 #define __ZXN_RGB332_GAMEBOY_0 0x05 1259 #define __ZXN_RGB332_GAMEBOY_1 0x4d 1260 #define __ZXN_RGB332_GAMEBOY_2 0x9a 1261 #define __ZXN_RGB332_GAMEBOY_3 0xff 1262 1263 #define __ZXN_RGB333_GAMEBOY_0 0x009 1264 #define __ZXN_RGB333_GAMEBOY_1 0x09b 1265 #define __ZXN_RGB333_GAMEBOY_2 0x134 1266 #define __ZXN_RGB333_GAMEBOY_3 0x1ff 1267 1268 #define __ZXN_RGB332_GZXNR_BLUE_0 0x01 1269 #define __ZXN_RGB332_GZXNR_BLUE_1 0x03 1270 #define __ZXN_RGB332_GZXNR_BLUE_2 0x03 1271 #define __ZXN_RGB332_GZXNR_BLUE_3 0x6f 1272 #define __ZXN_RGB332_GZXNR_BLUE_4 0xdb 1273 1274 #define __ZXN_RGB332_GZXNR_RED_0 0x40 1275 #define __ZXN_RGB332_GZXNR_RED_1 0xa0 1276 #define __ZXN_RGB332_GZXNR_RED_2 0xe0 1277 #define __ZXN_RGB332_GZXNR_RED_3 0xed 1278 #define __ZXN_RGB332_GZXNR_RED_4 0xfb 1279 1280 #define __ZXN_RGB332_GZXNR_PURPLE_0 0x41 1281 #define __ZXN_RGB332_GZXNR_PURPLE_1 0xa3 1282 #define __ZXN_RGB332_GZXNR_PURPLE_2 0xe7 1283 #define __ZXN_RGB332_GZXNR_PURPLE_3 0xef 1284 #define __ZXN_RGB332_GZXNR_PURPLE_4 0xfb 1285 1286 #define __ZXN_RGB332_GZXNR_GREEN_0 0x08 1287 #define __ZXN_RGB332_GZXNR_GREEN_1 0x14 1288 #define __ZXN_RGB332_GZXNR_GREEN_2 0x1c 1289 #define __ZXN_RGB332_GZXNR_GREEN_3 0xbd 1290 #define __ZXN_RGB332_GZXNR_GREEN_4 0xdf 1291 1292 #define __ZXN_RGB332_GZXNR_CYAN_0 0x09 1293 #define __ZXN_RGB332_GZXNR_CYAN_1 0x17 1294 #define __ZXN_RGB332_GZXNR_CYAN_2 0x1f 1295 #define __ZXN_RGB332_GZXNR_CYAN_3 0xbf 1296 #define __ZXN_RGB332_GZXNR_CYAN_4 0xdf 1297 1298 #define __ZXN_RGB332_GZXNR_YELLOW_0 0x48 1299 #define __ZXN_RGB332_GZXNR_YELLOW_1 0xb4 1300 #define __ZXN_RGB332_GZXNR_YELLOW_2 0xfc 1301 #define __ZXN_RGB332_GZXNR_YELLOW_3 0xfd 1302 #define __ZXN_RGB332_GZXNR_YELLOW_4 0xff 1303 1304 #define __ZXN_RGB332_GZXNR_BLACK 0x00 1305 #define __ZXN_RGB332_GZXNR_GRAY_0 0x49 1306 #define __ZXN_RGB332_GZXNR_GRAY_1 0xdb 1307 #define __ZXN_RGB332_GZXNR_WHITE 0xff 1308 1309 #define __ZXN_RGB333_GZXNR_BLUE_0 0x003 1310 #define __ZXN_RGB333_GZXNR_BLUE_1 0x005 1311 #define __ZXN_RGB333_GZXNR_BLUE_2 0x007 1312 #define __ZXN_RGB333_GZXNR_BLUE_3 0x0df 1313 #define __ZXN_RGB333_GZXNR_BLUE_4 0x1b7 1314 1315 #define __ZXN_RGB333_GZXNR_RED_0 0x080 1316 #define __ZXN_RGB333_GZXNR_RED_1 0x140 1317 #define __ZXN_RGB333_GZXNR_RED_2 0x1c0 1318 #define __ZXN_RGB333_GZXNR_RED_3 0x1db 1319 #define __ZXN_RGB333_GZXNR_RED_4 0x1f5 1320 1321 #define __ZXN_RGB333_GZXNR_PURPLE_0 0x083 1322 #define __ZXN_RGB333_GZXNR_PURPLE_1 0x145 1323 #define __ZXN_RGB333_GZXNR_PURPLE_2 0x1cf 1324 #define __ZXN_RGB333_GZXNR_PURPLE_3 0x1df 1325 #define __ZXN_RGB333_GZXNR_PURPLE_4 0x1f7 1326 1327 #define __ZXN_RGB333_GZXNR_GREEN_0 0x010 1328 #define __ZXN_RGB333_GZXNR_GREEN_1 0x028 1329 #define __ZXN_RGB333_GZXNR_GREEN_2 0x038 1330 #define __ZXN_RGB333_GZXNR_GREEN_3 0x17b 1331 #define __ZXN_RGB333_GZXNR_GREEN_4 0x1bd 1332 1333 #define __ZXN_RGB333_GZXNR_CYAN_0 0x013 1334 #define __ZXN_RGB333_GZXNR_CYAN_1 0x02d 1335 #define __ZXN_RGB333_GZXNR_CYAN_2 0x03f 1336 #define __ZXN_RGB333_GZXNR_CYAN_3 0x17f 1337 #define __ZXN_RGB333_GZXNR_CYAN_4 0x1bf 1338 1339 #define __ZXN_RGB333_GZXNR_YELLOW_0 0x090 1340 #define __ZXN_RGB333_GZXNR_YELLOW_1 0x168 1341 #define __ZXN_RGB333_GZXNR_YELLOW_2 0x1f8 1342 #define __ZXN_RGB333_GZXNR_YELLOW_3 0x1fb 1343 #define __ZXN_RGB333_GZXNR_YELLOW_4 0x1fd 1344 1345 #define __ZXN_RGB333_GZXNR_BLACK 0x000 1346 #define __ZXN_RGB333_GZXNR_GRAY_0 0x093 1347 #define __ZXN_RGB333_GZXNR_GRAY_1 0x1b5 1348 #define __ZXN_RGB333_GZXNR_WHITE 0x1ff 1349 1350 #define __ZXN_RGB332_EGACOM_BLACK 0x25 1351 #define __ZXN_RGB332_EGACOM_GRAY 0x6d 1352 #define __ZXN_RGB332_EGACOM_LGRAY 0xb6 1353 #define __ZXN_RGB332_EGACOM_WHITE 0xff 1354 #define __ZXN_RGB332_EGACOM_MAROON 0x85 1355 #define __ZXN_RGB332_EGACOM_PINKROSE 0xe9 1356 #define __ZXN_RGB332_EGACOM_GOLD 0xd1 1357 #define __ZXN_RGB332_EGACOM_YELLOW 0xf9 1358 #define __ZXN_RGB332_EGACOM_BROWN 0x69 1359 #define __ZXN_RGB332_EGACOM_LBROWN 0x8d 1360 #define __ZXN_RGB332_EGACOM_TEAL 0x72 1361 #define __ZXN_RGB332_EGACOM_GREEN 0x7a 1362 #define __ZXN_RGB332_EGACOM_BLUE 0x2a 1363 #define __ZXN_RGB332_EGACOM_LBLUE 0x4e 1364 #define __ZXN_RGB332_EGACOM_PURPLE 0x8e 1365 #define __ZXN_RGB332_EGACOM_SAND 0xf6 1366 #define __ZXN_RGB332_EGACOM_DGREEN 0x6d 1367 #define __ZXN_RGB332_EGACOM_CYAN 0x9f 1368 #define __ZXN_RGB332_EGACOM_VIOLET 0xaa 1369 #define __ZXN_RGB332_EGACOM_PINK 0xf2 1370 1371 #define __ZXN_RGB333_EGACOM_BLACK 0x049 1372 #define __ZXN_RGB333_EGACOM_GRAY 0x0db 1373 #define __ZXN_RGB333_EGACOM_LGRAY 0x16d 1374 #define __ZXN_RGB333_EGACOM_WHITE 0x1ff 1375 #define __ZXN_RGB333_EGACOM_MAROON 0x109 1376 #define __ZXN_RGB333_EGACOM_PINKROSE 0x1d2 1377 #define __ZXN_RGB333_EGACOM_GOLD 0x1a1 1378 #define __ZXN_RGB333_EGACOM_YELLOW 0x1f2 1379 #define __ZXN_RGB333_EGACOM_BROWN 0x0d2 1380 #define __ZXN_RGB333_EGACOM_LBROWN 0x11a 1381 #define __ZXN_RGB333_EGACOM_TEAL 0x0e3 1382 #define __ZXN_RGB333_EGACOM_GREEN 0x0f3 1383 #define __ZXN_RGB333_EGACOM_BLUE 0x053 1384 #define __ZXN_RGB333_EGACOM_LBLUE 0x09c 1385 #define __ZXN_RGB333_EGACOM_PURPLE 0x11c 1386 #define __ZXN_RGB333_EGACOM_SAND 0x1eb 1387 #define __ZXN_RGB333_EGACOM_DGREEN 0x0db 1388 #define __ZXN_RGB333_EGACOM_CYAN 0x13f 1389 #define __ZXN_RGB333_EGACOM_VIOLET 0x153 1390 #define __ZXN_RGB333_EGACOM_PINK 0x1e4 1391 1392 #define __ZXN_RGB332_GMSX_BLACK 0x00 1393 #define __ZXN_RGB332_GMSX_GRAY 0x6d 1394 #define __ZXN_RGB332_GMSX_SILVER 0xb6 1395 #define __ZXN_RGB332_GMSX_DARK_TEAL 0x0e 1396 #define __ZXN_RGB332_GMSX_GREEN 0x14 1397 #define __ZXN_RGB332_GMSX_GREENYELLOW 0x9c 1398 #define __ZXN_RGB332_GMSX_MAROON 0x60 1399 #define __ZXN_RGB332_GMSX_SIENNA 0xa8 1400 #define __ZXN_RGB332_GMSX_SANDYBROWN 0xf0 1401 #define __ZXN_RGB332_GMSX_KHAKI 0xfd 1402 #define __ZXN_RGB332_GMSX_WHITE 0xff 1403 #define __ZXN_RGB332_GMSX_SKYBLUE 0x9b 1404 #define __ZXN_RGB332_GMSX_SLATEBLUE 0x4f 1405 #define __ZXN_RGB332_GMSX_BLUE 0x02 1406 1407 #define __ZXN_RGB333_GMSX_BLACK 0x000 1408 #define __ZXN_RGB333_GMSX_GRAY 0x0db 1409 #define __ZXN_RGB333_GMSX_SILVER 0x16d 1410 #define __ZXN_RGB333_GMSX_DARK_TEAL 0x01c 1411 #define __ZXN_RGB333_GMSX_GREEN 0x028 1412 #define __ZXN_RGB333_GMSX_GREENYELLOW 0x138 1413 #define __ZXN_RGB333_GMSX_MAROON 0x0c0 1414 #define __ZXN_RGB333_GMSX_SIENNA 0x150 1415 #define __ZXN_RGB333_GMSX_SANDYBROWN 0x1e1 1416 #define __ZXN_RGB333_GMSX_KHAKI 0x1fb 1417 #define __ZXN_RGB333_GMSX_WHITE 0x1ff 1418 #define __ZXN_RGB333_GMSX_SKYBLUE 0x137 1419 #define __ZXN_RGB333_GMSX_SLATEBLUE 0x09f 1420 #define __ZXN_RGB333_GMSX_BLUE 0x005 1421 1422 #define __ZXN_RGB332_D4D_DARK_BLUE 0x02 1423 #define __ZXN_RGB332_D4D_BRIGHT_BLUE 0xff 1424 #define __ZXN_RGB332_D4D_BLUE 0x03 1425 #define __ZXN_RGB332_D4D_CYAN 0x1f 1426 #define __ZXN_RGB332_D4D_BRIGHT_YELLOW 0xfe 1427 #define __ZXN_RGB332_D4D_YELLOW 0xfc 1428 #define __ZXN_RGB332_D4D_ORANGE 0xf6 1429 #define __ZXN_RGB332_D4D_BRIGHT_RED 0xe9 1430 #define __ZXN_RGB332_D4D_RED 0xe0 1431 #define __ZXN_RGB332_D4D_DARK_RED 0xa0 1432 #define __ZXN_RGB332_D4D_MAGENTA 0xe3 1433 #define __ZXN_RGB332_D4D_BRIGHT_GREEN 0xbe 1434 #define __ZXN_RGB332_D4D_GREEN 0x1c 1435 #define __ZXN_RGB332_D4D_DARK_GREEN 0x10 1436 #define __ZXN_RGB332_D4D_BRIGHT_GREY 0x49 1437 #define __ZXN_RGB332_D4D_LIGHT_GREY 0x92 1438 #define __ZXN_RGB332_D4D_GREY 0x25 1439 #define __ZXN_RGB332_D4D_WHITE 0xff 1440 #define __ZXN_RGB332_D4D_BLACK 0x00 1441 1442 #define __ZXN_RGB333_D4D_DARK_BLUE 0x005 1443 #define __ZXN_RGB333_D4D_BRIGHT_BLUE 0x1ff 1444 #define __ZXN_RGB333_D4D_BLUE 0x007 1445 #define __ZXN_RGB333_D4D_CYAN 0x03f 1446 #define __ZXN_RGB333_D4D_BRIGHT_YELLOW 0x1fc 1447 #define __ZXN_RGB333_D4D_YELLOW 0x1f8 1448 #define __ZXN_RGB333_D4D_ORANGE 0x1eb 1449 #define __ZXN_RGB333_D4D_BRIGHT_RED 0x1d2 1450 #define __ZXN_RGB333_D4D_RED 0x1c0 1451 #define __ZXN_RGB333_D4D_DARK_RED 0x140 1452 #define __ZXN_RGB333_D4D_MAGENTA 0x1c7 1453 #define __ZXN_RGB333_D4D_BRIGHT_GREEN 0x17d 1454 #define __ZXN_RGB333_D4D_GREEN 0x038 1455 #define __ZXN_RGB333_D4D_DARK_GREEN 0x020 1456 #define __ZXN_RGB333_D4D_BRIGHT_GREY 0x092 1457 #define __ZXN_RGB333_D4D_LIGHT_GREY 0x124 1458 #define __ZXN_RGB333_D4D_GREY 0x049 1459 #define __ZXN_RGB333_D4D_WHITE 0x1ff 1460 #define __ZXN_RGB333_D4D_BLACK 0x000 1461 1462 #define __ZXN_RGB332_HTML_AliceBlue 0xff 1463 #define __ZXN_RGB332_HTML_AntiqueWhite 0xff 1464 #define __ZXN_RGB332_HTML_Aqua 0x1f 1465 #define __ZXN_RGB332_HTML_Aquamarine 0x9f 1466 #define __ZXN_RGB332_HTML_Azure 0xff 1467 #define __ZXN_RGB332_HTML_Beige 0xff 1468 #define __ZXN_RGB332_HTML_Bisque 0xff 1469 #define __ZXN_RGB332_HTML_Black 0x00 1470 #define __ZXN_RGB332_HTML_BlanchedAlmond 0xff 1471 #define __ZXN_RGB332_HTML_Blue 0x03 1472 #define __ZXN_RGB332_HTML_BlueViolet 0x87 1473 #define __ZXN_RGB332_HTML_Brown 0xa5 1474 #define __ZXN_RGB332_HTML_BurlyWood 0xfa 1475 #define __ZXN_RGB332_HTML_CadetBlue 0x77 1476 #define __ZXN_RGB332_HTML_Chartreuse 0x9c 1477 #define __ZXN_RGB332_HTML_Chocolate 0xec 1478 #define __ZXN_RGB332_HTML_Coral 0xf1 1479 #define __ZXN_RGB332_HTML_CornflowerBlue 0x77 1480 #define __ZXN_RGB332_HTML_Cornsilk 0xff 1481 #define __ZXN_RGB332_HTML_Crimson 0xe5 1482 #define __ZXN_RGB332_HTML_Cyan 0x1f 1483 #define __ZXN_RGB332_HTML_DarkBlue 0x02 1484 #define __ZXN_RGB332_HTML_DarkCyan 0x12 1485 #define __ZXN_RGB332_HTML_DarkGoldenRod 0xd0 1486 #define __ZXN_RGB332_HTML_DarkGray 0xb7 1487 #define __ZXN_RGB332_HTML_DarkGrey 0xb7 1488 #define __ZXN_RGB332_HTML_DarkGreen 0x0c 1489 #define __ZXN_RGB332_HTML_DarkKhaki 0xda 1490 #define __ZXN_RGB332_HTML_DarkMagenta 0x82 1491 #define __ZXN_RGB332_HTML_DarkOliveGreen 0x6d 1492 #define __ZXN_RGB332_HTML_DarkOrange 0xf0 1493 #define __ZXN_RGB332_HTML_DarkOrchid 0xab 1494 #define __ZXN_RGB332_HTML_DarkRed 0x80 1495 #define __ZXN_RGB332_HTML_DarkSalmon 0xf6 1496 #define __ZXN_RGB332_HTML_DarkSeaGreen 0x9a 1497 #define __ZXN_RGB332_HTML_DarkSlateBlue 0x4a 1498 #define __ZXN_RGB332_HTML_DarkSlateGray 0x29 1499 #define __ZXN_RGB332_HTML_DarkSlateGrey 0x29 1500 #define __ZXN_RGB332_HTML_DarkTurquoise 0x1b 1501 #define __ZXN_RGB332_HTML_DarkViolet 0xa3 1502 #define __ZXN_RGB332_HTML_DeepPink 0xe6 1503 #define __ZXN_RGB332_HTML_DeepSkyBlue 0x1b 1504 #define __ZXN_RGB332_HTML_DimGray 0x6e 1505 #define __ZXN_RGB332_HTML_DimGrey 0x6e 1506 #define __ZXN_RGB332_HTML_DodgerBlue 0x37 1507 #define __ZXN_RGB332_HTML_FireBrick 0xc5 1508 #define __ZXN_RGB332_HTML_FloralWhite 0xff 1509 #define __ZXN_RGB332_HTML_ForestGreen 0x31 1510 #define __ZXN_RGB332_HTML_Fuchsia 0xe3 1511 #define __ZXN_RGB332_HTML_Gainsboro 0xff 1512 #define __ZXN_RGB332_HTML_GhostWhite 0xff 1513 #define __ZXN_RGB332_HTML_Gold 0xfc 1514 #define __ZXN_RGB332_HTML_GoldenRod 0xf5 1515 #define __ZXN_RGB332_HTML_Gray 0x92 1516 #define __ZXN_RGB332_HTML_Grey 0x92 1517 #define __ZXN_RGB332_HTML_Green 0x10 1518 #define __ZXN_RGB332_HTML_GreenYellow 0xbd 1519 #define __ZXN_RGB332_HTML_HoneyDew 0xff 1520 #define __ZXN_RGB332_HTML_HotPink 0xef 1521 #define __ZXN_RGB332_HTML_IndianRed 0xcd 1522 #define __ZXN_RGB332_HTML_Indigo 0x42 1523 #define __ZXN_RGB332_HTML_Ivory 0xff 1524 #define __ZXN_RGB332_HTML_Khaki 0xfe 1525 #define __ZXN_RGB332_HTML_Lavender 0xff 1526 #define __ZXN_RGB332_HTML_LavenderBlush 0xff 1527 #define __ZXN_RGB332_HTML_LawnGreen 0x9c 1528 #define __ZXN_RGB332_HTML_LemonChiffon 0xff 1529 #define __ZXN_RGB332_HTML_LightBlue 0xbf 1530 #define __ZXN_RGB332_HTML_LightCoral 0xf2 1531 #define __ZXN_RGB332_HTML_LightCyan 0xff 1532 #define __ZXN_RGB332_HTML_LightGoldenRodYellow 0xff 1533 #define __ZXN_RGB332_HTML_LightGray 0xff 1534 #define __ZXN_RGB332_HTML_LightGrey 0xff 1535 #define __ZXN_RGB332_HTML_LightGreen 0xbe 1536 #define __ZXN_RGB332_HTML_LightPink 0xfb 1537 #define __ZXN_RGB332_HTML_LightSalmon 0xf6 1538 #define __ZXN_RGB332_HTML_LightSeaGreen 0x3b 1539 #define __ZXN_RGB332_HTML_LightSkyBlue 0x9b 1540 #define __ZXN_RGB332_HTML_LightSlateGray 0x92 1541 #define __ZXN_RGB332_HTML_LightSlateGrey 0x92 1542 #define __ZXN_RGB332_HTML_LightSteelBlue 0xdb 1543 #define __ZXN_RGB332_HTML_LightYellow 0xff 1544 #define __ZXN_RGB332_HTML_Lime 0x1c 1545 #define __ZXN_RGB332_HTML_LimeGreen 0x59 1546 #define __ZXN_RGB332_HTML_Linen 0xff 1547 #define __ZXN_RGB332_HTML_Magenta 0xe3 1548 #define __ZXN_RGB332_HTML_Maroon 0x80 1549 #define __ZXN_RGB332_HTML_MediumAquaMarine 0x7b 1550 #define __ZXN_RGB332_HTML_MediumBlue 0x03 1551 #define __ZXN_RGB332_HTML_MediumOrchid 0xcf 1552 #define __ZXN_RGB332_HTML_MediumPurple 0xb3 1553 #define __ZXN_RGB332_HTML_MediumSeaGreen 0x5a 1554 #define __ZXN_RGB332_HTML_MediumSlateBlue 0x8f 1555 #define __ZXN_RGB332_HTML_MediumSpringGreen 0x1e 1556 #define __ZXN_RGB332_HTML_MediumTurquoise 0x5f 1557 #define __ZXN_RGB332_HTML_MediumVioletRed 0xc6 1558 #define __ZXN_RGB332_HTML_MidnightBlue 0x26 1559 #define __ZXN_RGB332_HTML_MintCream 0xff 1560 #define __ZXN_RGB332_HTML_MistyRose 0xff 1561 #define __ZXN_RGB332_HTML_Moccasin 0xff 1562 #define __ZXN_RGB332_HTML_NavajoWhite 0xff 1563 #define __ZXN_RGB332_HTML_Navy 0x02 1564 #define __ZXN_RGB332_HTML_OldLace 0xff 1565 #define __ZXN_RGB332_HTML_Olive 0x90 1566 #define __ZXN_RGB332_HTML_OliveDrab 0x71 1567 #define __ZXN_RGB332_HTML_Orange 0xf4 1568 #define __ZXN_RGB332_HTML_OrangeRed 0xe8 1569 #define __ZXN_RGB332_HTML_Orchid 0xf3 1570 #define __ZXN_RGB332_HTML_PaleGoldenRod 0xff 1571 #define __ZXN_RGB332_HTML_PaleGreen 0xbe 1572 #define __ZXN_RGB332_HTML_PaleTurquoise 0xbf 1573 #define __ZXN_RGB332_HTML_PaleVioletRed 0xf2 1574 #define __ZXN_RGB332_HTML_PapayaWhip 0xff 1575 #define __ZXN_RGB332_HTML_PeachPuff 0xff 1576 #define __ZXN_RGB332_HTML_Peru 0xd1 1577 #define __ZXN_RGB332_HTML_Pink 0xfb 1578 #define __ZXN_RGB332_HTML_Plum 0xf7 1579 #define __ZXN_RGB332_HTML_PowderBlue 0xdf 1580 #define __ZXN_RGB332_HTML_Purple 0x82 1581 #define __ZXN_RGB332_HTML_RebeccaPurple 0x6a 1582 #define __ZXN_RGB332_HTML_Red 0xe0 1583 #define __ZXN_RGB332_HTML_RosyBrown 0xd2 1584 #define __ZXN_RGB332_HTML_RoyalBlue 0x4f 1585 #define __ZXN_RGB332_HTML_SaddleBrown 0x88 1586 #define __ZXN_RGB332_HTML_Salmon 0xf2 1587 #define __ZXN_RGB332_HTML_SandyBrown 0xf6 1588 #define __ZXN_RGB332_HTML_SeaGreen 0x31 1589 #define __ZXN_RGB332_HTML_SeaShell 0xff 1590 #define __ZXN_RGB332_HTML_Sienna 0xad 1591 #define __ZXN_RGB332_HTML_Silver 0xdb 1592 #define __ZXN_RGB332_HTML_SkyBlue 0x9b 1593 #define __ZXN_RGB332_HTML_SlateBlue 0x6f 1594 #define __ZXN_RGB332_HTML_SlateGray 0x92 1595 #define __ZXN_RGB332_HTML_SlateGrey 0x92 1596 #define __ZXN_RGB332_HTML_Snow 0xff 1597 #define __ZXN_RGB332_HTML_SpringGreen 0x1e 1598 #define __ZXN_RGB332_HTML_SteelBlue 0x53 1599 #define __ZXN_RGB332_HTML_Tan 0xfa 1600 #define __ZXN_RGB332_HTML_Teal 0x12 1601 #define __ZXN_RGB332_HTML_Thistle 0xfb 1602 #define __ZXN_RGB332_HTML_Tomato 0xed 1603 #define __ZXN_RGB332_HTML_Turquoise 0x5f 1604 #define __ZXN_RGB332_HTML_Violet 0xf3 1605 #define __ZXN_RGB332_HTML_Wheat 0xff 1606 #define __ZXN_RGB332_HTML_White 0xff 1607 #define __ZXN_RGB332_HTML_WhiteSmoke 0xff 1608 #define __ZXN_RGB332_HTML_Yellow 0xfc 1609 #define __ZXN_RGB332_HTML_YellowGreen 0xb9 1610 1611 #define __ZXN_RGB333_HTML_AliceBlue 0x1ff 1612 #define __ZXN_RGB333_HTML_AntiqueWhite 0x1ff 1613 #define __ZXN_RGB333_HTML_Aqua 0x03f 1614 #define __ZXN_RGB333_HTML_Aquamarine 0x13f 1615 #define __ZXN_RGB333_HTML_Azure 0x1ff 1616 #define __ZXN_RGB333_HTML_Beige 0x1ff 1617 #define __ZXN_RGB333_HTML_Bisque 0x1fe 1618 #define __ZXN_RGB333_HTML_Black 0x000 1619 #define __ZXN_RGB333_HTML_BlanchedAlmond 0x1fe 1620 #define __ZXN_RGB333_HTML_Blue 0x007 1621 #define __ZXN_RGB333_HTML_BlueViolet 0x10f 1622 #define __ZXN_RGB333_HTML_Brown 0x149 1623 #define __ZXN_RGB333_HTML_BurlyWood 0x1f4 1624 #define __ZXN_RGB333_HTML_CadetBlue 0x0ed 1625 #define __ZXN_RGB333_HTML_Chartreuse 0x138 1626 #define __ZXN_RGB333_HTML_Chocolate 0x1d9 1627 #define __ZXN_RGB333_HTML_Coral 0x1e3 1628 #define __ZXN_RGB333_HTML_CornflowerBlue 0x0ef 1629 #define __ZXN_RGB333_HTML_Cornsilk 0x1ff 1630 #define __ZXN_RGB333_HTML_Crimson 0x1ca 1631 #define __ZXN_RGB333_HTML_Cyan 0x03f 1632 #define __ZXN_RGB333_HTML_DarkBlue 0x004 1633 #define __ZXN_RGB333_HTML_DarkCyan 0x024 1634 #define __ZXN_RGB333_HTML_DarkGoldenRod 0x1a0 1635 #define __ZXN_RGB333_HTML_DarkGray 0x16d 1636 #define __ZXN_RGB333_HTML_DarkGrey 0x16d 1637 #define __ZXN_RGB333_HTML_DarkGreen 0x018 1638 #define __ZXN_RGB333_HTML_DarkKhaki 0x1b3 1639 #define __ZXN_RGB333_HTML_DarkMagenta 0x104 1640 #define __ZXN_RGB333_HTML_DarkOliveGreen 0x0d9 1641 #define __ZXN_RGB333_HTML_DarkOrange 0x1e0 1642 #define __ZXN_RGB333_HTML_DarkOrchid 0x156 1643 #define __ZXN_RGB333_HTML_DarkRed 0x100 1644 #define __ZXN_RGB333_HTML_DarkSalmon 0x1ec 1645 #define __ZXN_RGB333_HTML_DarkSeaGreen 0x134 1646 #define __ZXN_RGB333_HTML_DarkSlateBlue 0x094 1647 #define __ZXN_RGB333_HTML_DarkSlateGray 0x052 1648 #define __ZXN_RGB333_HTML_DarkSlateGrey 0x052 1649 #define __ZXN_RGB333_HTML_DarkTurquoise 0x037 1650 #define __ZXN_RGB333_HTML_DarkViolet 0x147 1651 #define __ZXN_RGB333_HTML_DeepPink 0x1cd 1652 #define __ZXN_RGB333_HTML_DeepSkyBlue 0x037 1653 #define __ZXN_RGB333_HTML_DimGray 0x0db 1654 #define __ZXN_RGB333_HTML_DimGrey 0x0db 1655 #define __ZXN_RGB333_HTML_DodgerBlue 0x06f 1656 #define __ZXN_RGB333_HTML_FireBrick 0x189 1657 #define __ZXN_RGB333_HTML_FloralWhite 0x1ff 1658 #define __ZXN_RGB333_HTML_ForestGreen 0x061 1659 #define __ZXN_RGB333_HTML_Fuchsia 0x1c7 1660 #define __ZXN_RGB333_HTML_Gainsboro 0x1ff 1661 #define __ZXN_RGB333_HTML_GhostWhite 0x1ff 1662 #define __ZXN_RGB333_HTML_Gold 0x1f8 1663 #define __ZXN_RGB333_HTML_GoldenRod 0x1e9 1664 #define __ZXN_RGB333_HTML_Gray 0x124 1665 #define __ZXN_RGB333_HTML_Grey 0x124 1666 #define __ZXN_RGB333_HTML_Green 0x020 1667 #define __ZXN_RGB333_HTML_GreenYellow 0x179 1668 #define __ZXN_RGB333_HTML_HoneyDew 0x1ff 1669 #define __ZXN_RGB333_HTML_HotPink 0x1de 1670 #define __ZXN_RGB333_HTML_IndianRed 0x19b 1671 #define __ZXN_RGB333_HTML_Indigo 0x084 1672 #define __ZXN_RGB333_HTML_Ivory 0x1ff 1673 #define __ZXN_RGB333_HTML_Khaki 0x1fc 1674 #define __ZXN_RGB333_HTML_Lavender 0x1ff 1675 #define __ZXN_RGB333_HTML_LavenderBlush 0x1ff 1676 #define __ZXN_RGB333_HTML_LawnGreen 0x138 1677 #define __ZXN_RGB333_HTML_LemonChiffon 0x1fe 1678 #define __ZXN_RGB333_HTML_LightBlue 0x17f 1679 #define __ZXN_RGB333_HTML_LightCoral 0x1e4 1680 #define __ZXN_RGB333_HTML_LightCyan 0x1ff 1681 #define __ZXN_RGB333_HTML_LightGoldenRodYellow 0x1ff 1682 #define __ZXN_RGB333_HTML_LightGray 0x1ff 1683 #define __ZXN_RGB333_HTML_LightGrey 0x1ff 1684 #define __ZXN_RGB333_HTML_LightGreen 0x17d 1685 #define __ZXN_RGB333_HTML_LightPink 0x1f6 1686 #define __ZXN_RGB333_HTML_LightSalmon 0x1ec 1687 #define __ZXN_RGB333_HTML_LightSeaGreen 0x075 1688 #define __ZXN_RGB333_HTML_LightSkyBlue 0x137 1689 #define __ZXN_RGB333_HTML_LightSlateGray 0x125 1690 #define __ZXN_RGB333_HTML_LightSlateGrey 0x125 1691 #define __ZXN_RGB333_HTML_LightSteelBlue 0x1b7 1692 #define __ZXN_RGB333_HTML_LightYellow 0x1ff 1693 #define __ZXN_RGB333_HTML_Lime 0x038 1694 #define __ZXN_RGB333_HTML_LimeGreen 0x0b2 1695 #define __ZXN_RGB333_HTML_Linen 0x1ff 1696 #define __ZXN_RGB333_HTML_Magenta 0x1c7 1697 #define __ZXN_RGB333_HTML_Maroon 0x100 1698 #define __ZXN_RGB333_HTML_MediumAquaMarine 0x0f5 1699 #define __ZXN_RGB333_HTML_MediumBlue 0x006 1700 #define __ZXN_RGB333_HTML_MediumOrchid 0x19f 1701 #define __ZXN_RGB333_HTML_MediumPurple 0x167 1702 #define __ZXN_RGB333_HTML_MediumSeaGreen 0x0b4 1703 #define __ZXN_RGB333_HTML_MediumSlateBlue 0x11f 1704 #define __ZXN_RGB333_HTML_MediumSpringGreen 0x03d 1705 #define __ZXN_RGB333_HTML_MediumTurquoise 0x0be 1706 #define __ZXN_RGB333_HTML_MediumVioletRed 0x18c 1707 #define __ZXN_RGB333_HTML_MidnightBlue 0x04c 1708 #define __ZXN_RGB333_HTML_MintCream 0x1ff 1709 #define __ZXN_RGB333_HTML_MistyRose 0x1ff 1710 #define __ZXN_RGB333_HTML_Moccasin 0x1fe 1711 #define __ZXN_RGB333_HTML_NavajoWhite 0x1fd 1712 #define __ZXN_RGB333_HTML_Navy 0x004 1713 #define __ZXN_RGB333_HTML_OldLace 0x1ff 1714 #define __ZXN_RGB333_HTML_Olive 0x120 1715 #define __ZXN_RGB333_HTML_OliveDrab 0x0e1 1716 #define __ZXN_RGB333_HTML_Orange 0x1e8 1717 #define __ZXN_RGB333_HTML_OrangeRed 0x1d0 1718 #define __ZXN_RGB333_HTML_Orchid 0x1e7 1719 #define __ZXN_RGB333_HTML_PaleGoldenRod 0x1fd 1720 #define __ZXN_RGB333_HTML_PaleGreen 0x17d 1721 #define __ZXN_RGB333_HTML_PaleTurquoise 0x17f 1722 #define __ZXN_RGB333_HTML_PaleVioletRed 0x1e5 1723 #define __ZXN_RGB333_HTML_PapayaWhip 0x1ff 1724 #define __ZXN_RGB333_HTML_PeachPuff 0x1fe 1725 #define __ZXN_RGB333_HTML_Peru 0x1a2 1726 #define __ZXN_RGB333_HTML_Pink 0x1f6 1727 #define __ZXN_RGB333_HTML_Plum 0x1ef 1728 #define __ZXN_RGB333_HTML_PowderBlue 0x1bf 1729 #define __ZXN_RGB333_HTML_Purple 0x104 1730 #define __ZXN_RGB333_HTML_RebeccaPurple 0x0d5 1731 #define __ZXN_RGB333_HTML_Red 0x1c0 1732 #define __ZXN_RGB333_HTML_RosyBrown 0x1a4 1733 #define __ZXN_RGB333_HTML_RoyalBlue 0x09f 1734 #define __ZXN_RGB333_HTML_SaddleBrown 0x111 1735 #define __ZXN_RGB333_HTML_Salmon 0x1e4 1736 #define __ZXN_RGB333_HTML_SandyBrown 0x1eb 1737 #define __ZXN_RGB333_HTML_SeaGreen 0x063 1738 #define __ZXN_RGB333_HTML_SeaShell 0x1ff 1739 #define __ZXN_RGB333_HTML_Sienna 0x159 1740 #define __ZXN_RGB333_HTML_Silver 0x1b6 1741 #define __ZXN_RGB333_HTML_SkyBlue 0x137 1742 #define __ZXN_RGB333_HTML_SlateBlue 0x0de 1743 #define __ZXN_RGB333_HTML_SlateGray 0x125 1744 #define __ZXN_RGB333_HTML_SlateGrey 0x125 1745 #define __ZXN_RGB333_HTML_Snow 0x1ff 1746 #define __ZXN_RGB333_HTML_SpringGreen 0x03c 1747 #define __ZXN_RGB333_HTML_SteelBlue 0x0a6 1748 #define __ZXN_RGB333_HTML_Tan 0x1f4 1749 #define __ZXN_RGB333_HTML_Teal 0x024 1750 #define __ZXN_RGB333_HTML_Thistle 0x1f7 1751 #define __ZXN_RGB333_HTML_Tomato 0x1da 1752 #define __ZXN_RGB333_HTML_Turquoise 0x0bf 1753 #define __ZXN_RGB333_HTML_Violet 0x1e7 1754 #define __ZXN_RGB333_HTML_Wheat 0x1fe 1755 #define __ZXN_RGB333_HTML_White 0x1ff 1756 #define __ZXN_RGB333_HTML_WhiteSmoke 0x1ff 1757 #define __ZXN_RGB333_HTML_Yellow 0x1f8 1758 #define __ZXN_RGB333_HTML_YellowGreen 0x172 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 #define __IO_DMA 0x6b 1784 #define __IO_DMA_DATAGEAR 0x6b 1785 1786 #define __D_WR0 0x00 1787 1788 #define __D_WR0_TRANSFER 0x01 1789 #define __D_WR0_A_TO_B 0x04 1790 #define __D_WR0_B_TO_A 0x00 1791 1792 #define __D_WR0_X3_A_START_L 0x08 1793 #define __D_WR0_X4_A_START_H 0x10 1794 #define __D_WR0_X34_A_START 0x18 1795 #define __D_WR0_X5_LEN_L 0x20 1796 #define __D_WR0_X6_LEN_H 0x40 1797 #define __D_WR0_X56_LEN 0x60 1798 1799 #define __D_WR0_X3 0x08 1800 #define __D_WR0_X4 0x10 1801 #define __D_WR0_X5 0x20 1802 #define __D_WR0_X6 0x40 1803 #define __D_WR0_X34 0x18 1804 #define __D_WR0_X35 0x28 1805 #define __D_WR0_X36 0x48 1806 #define __D_WR0_X45 0x30 1807 #define __D_WR0_X46 0x50 1808 #define __D_WR0_X56 0x60 1809 #define __D_WR0_X345 0x38 1810 #define __D_WR0_X346 0x58 1811 #define __D_WR0_X356 0x68 1812 #define __D_WR0_X456 0x70 1813 #define __D_WR0_X3456 0x78 1814 1815 #define __D_WR0_TRANSFER_A_TO_B 5 1816 #define __D_WR0_TRANSFER_B_TO_A 1 1817 #define __D_WR0_XFER_A_TO_B 5 1818 #define __D_WR0_XFER_B_TO_A 1 1819 1820 #define __D_WR1 0x04 1821 1822 #define __D_WR1_A_IS_MEM 0x00 1823 #define __D_WR1_A_IS_IO 0x08 1824 #define __D_WR1_A_DEC 0x00 1825 #define __D_WR1_A_INC 0x10 1826 #define __D_WR1_A_FIX 0x20 1827 1828 #define __D_WR1_X6 0x40 1829 #define __D_WR1_X6_A_TIMING 0x40 1830 1831 #define __D_WR1X6_A_CLEN_2 0x02 1832 #define __D_WR1X6_A_CLEN_3 0x01 1833 #define __D_WR1X6_A_CLEN_4 0x00 1834 1835 #define __D_WR1_A_IS_MEM_DEC 4 1836 #define __D_WR1_A_IS_MEM_INC 20 1837 #define __D_WR1_A_IS_MEM_FIX 36 1838 #define __D_WR1_A_IS_IO_DEC 12 1839 #define __D_WR1_A_IS_IO_INC 28 1840 #define __D_WR1_A_IS_IO_FIX 44 1841 1842 #define __D_WR2 0x00 1843 1844 #define __D_WR2_B_IS_MEM 0x00 1845 #define __D_WR2_B_IS_IO 0x08 1846 #define __D_WR2_B_DEC 0x00 1847 #define __D_WR2_B_INC 0x10 1848 #define __D_WR2_B_FIX 0x20 1849 1850 #define __D_WR2_X6 0x40 1851 #define __D_WR2_X6_B_TIMING 0x40 1852 1853 #define __D_WR2X6_B_CLEN_2 0x02 1854 #define __D_WR2X6_B_CLEN_3 0x01 1855 #define __D_WR2X6_B_CLEN_4 0x00 1856 1857 #define __D_WR2X6_X5 0x20 1858 #define __D_WR2X6_X5_PRESCALAR 0x20 1859 1860 #define __D_WR2_B_IS_MEM_DEC 0 1861 #define __D_WR2_B_IS_MEM_INC 16 1862 #define __D_WR2_B_IS_MEM_FIX 32 1863 #define __D_WR2_B_IS_IO_DEC 8 1864 #define __D_WR2_B_IS_IO_INC 24 1865 #define __D_WR2_B_IS_IO_FIX 40 1866 1867 #define __D_WR3 0x80 1868 #define __D_WR3_ENABLE_DMA 0x40 1869 1870 #define __D_WR4 0x81 1871 1872 #define __D_WR4_CONT 0x20 1873 #define __D_WR4_BURST 0x40 1874 1875 #define __D_WR4_X2 0x04 1876 #define __D_WR4_X3 0x08 1877 #define __D_WR4_X23 0x0c 1878 1879 #define __D_WR4_X2_B_START_L 0x04 1880 #define __D_WR4_X3_B_START_H 0x08 1881 #define __D_WR4_X23_B_START 0x0c 1882 1883 #define __D_WR5 0x82 1884 1885 #define __D_WR5_CE 0x00 1886 #define __D_WR5_CE_WAIT 0x10 1887 1888 #define __D_WR5_STOP 0x00 1889 #define __D_WR5_RESTART 0x20 1890 1891 #define __D_LOAD 0xcf 1892 #define __D_CONTINUE 0xd3 1893 #define __D_ENABLE_DMA 0x87 1894 #define __D_DISABLE_DMA 0x83 1895 #define __D_READ_MASK 0xbb 1896 1897 #define __D_RM_STATUS 0x01 1898 #define __D_RM_COUNTER_L 0x02 1899 #define __D_RM_COUNTER_H 0x04 1900 #define __D_RM_COUNTER 0x06 1901 #define __D_RM_A_ADDR_L 0x08 1902 #define __D_RM_A_ADDR_H 0x10 1903 #define __D_RM_A_ADDR 0x18 1904 #define __D_RM_B_ADDR_L 0x20 1905 #define __D_RM_B_ADDR_H 0x40 1906 #define __D_RM_B_ADDR 0x60 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 #define __IO_LAYER_2_CONFIG 0x123b 1920 1921 #define __IL2C_ENABLE_LOWER_16K 0x01 1922 #define __IL2C_SHOW_LAYER_2 0x02 1923 #define __IL2C_SELECT_SHADOW_BUFFER 0x08 1924 #define __IL2C_BANK_SELECT_MASK 0xc0 1925 #define __IL2C_BANK_SELECT_0 0x00 1926 #define __IL2C_BANK_SELECT_1 0x40 1927 #define __IL2C_BANK_SELECT_2 0x80 1928 1929 #define __IO_123B_ENABLE_LOWER_16K 0x01 1930 #define __IO_123B_SHOW_LAYER_2 0x02 1931 #define __IO_123B_SELECT_SHADOW_BUFFER 0x08 1932 #define __IO_123B_BANK_SELECT_MASK 0xc0 1933 #define __IO_123B_BANK_SELECT_0 0x00 1934 #define __IO_123B_BANK_SELECT_1 0x40 1935 #define __IO_123B_BANK_SELECT_2 0x80 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 #define __IO_7FFD 0x7ffd 1961 #define __IO_7FFD_LOCK 0x20 1962 #define __IO_7FFD_ROM0 0x10 1963 #define __IO_7FFD_ALT_DFILE 0x08 1964 #define __IO_7FFD_RAM_PAGE_MASK 0x07 1965 1966 #define __IO_DFFD 0xdffd 1967 #define __IO_DFFD_RAM_PAGE_MASK 0x0f 1968 1969 #define __IO_1FFD 0x1ffd 1970 #define __IO_1FFD_PAGING_MODE_NORMAL 0x00 1971 #define __IO_1FFD_PAGING_MODE_SPECIAL 0x01 1972 #define __IO_1FFD_PAGING_MODE_SPECIAL_3210 0x01 1973 #define __IO_1FFD_PAGING_MODE_SPECIAL_7654 0x03 1974 #define __IO_1FFD_PAGING_MODE_SPECIAL_3654 0x05 1975 #define __IO_1FFD_PAGING_MODE_SPECIAL_3674 0x07 1976 #define __IO_1FFD_ROM1 0x04 1977 #define __IO_1FFD_DISK_MOTOR 0x08 1978 #define __IO_1FFD_PRINTER_STROBE 0x10 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 #define __IO_DIVIDE_CONTROL 0xe3 1992 1993 #define __IDC_CONMEM 0x80 1994 #define __IDC_MAPRAM 0x40 1995 1996 #define __IO_SPI_CONTROL 0xe7 1997 1998 #define __ISC_SPI_CS 0x80 1999 #define __ISC_FT_CS 0x40 2000 #define __ISC_RPI_CS1 0x08 2001 #define __ISC_RPI_CS0 0x04 2002 #define __ISC_SD_CS1 0x02 2003 #define __ISC_SD_CS0 0x01 2004 2005 #define __IO_E7_SPI_CS 0x80 2006 #define __IO_E7_FT_CS 0x40 2007 #define __IO_E7_RPI_CS1 0x08 2008 #define __IO_E7_RPI_CS0 0x04 2009 #define __IO_E7_SD_CS1 0x02 2010 #define __IO_E7_SD_CS0 0x01 2011 2012 #define __IO_SPI_STATUS 0xe7 2013 #define __IO_SPI_DATA 0xeb 2014 2015 #define __IO_LED_L 0x103b 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 #define __NEXTOS_CONFIG_STREAM_UNROLL 0 2029 2030 #define __NEXTOS_DOS_VERSION 0x0103 2031 #define __NEXTOS_DOS_OPEN 0x0106 2032 #define __NEXTOS_DOS_CLOSE 0x0109 2033 #define __NEXTOS_DOS_ABANDON 0x010c 2034 #define __NEXTOS_DOS_REF_HEAD 0x010f 2035 #define __NEXTOS_DOS_READ 0x0112 2036 #define __NEXTOS_DOS_WRITE 0x0115 2037 #define __NEXTOS_DOS_BYTE_READ 0x0118 2038 #define __NEXTOS_DOS_BYTE_WRITE 0x011b 2039 2040 #define __NEXTOS_DOS_CATALOG 0x011e 2041 #define __nextos_cat_filter_system 0x01 2042 #define __nextos_cat_filter_lfn 0x02 2043 #define __nextos_cat_filter_dir 0x04 2044 2045 #define __NEXTOS_DOS_FREE_SPACE 0x0121 2046 #define __NEXTOS_DOS_DELETE 0x0124 2047 #define __NEXTOS_DOS_RENAME 0x0127 2048 #define __NEXTOS_DOS_BOOT 0x012a 2049 #define __NEXTOS_DOS_SET_DRIVE 0x012d 2050 #define __NEXTOS_DOS_SET_USER 0x0130 2051 #define __NEXTOS_DOS_GET_POSITION 0x0133 2052 #define __NEXTOS_DOS_SET_POSITION 0x0136 2053 #define __NEXTOS_DOS_GET_EOF 0x0139 2054 #define __NEXTOS_DOS_GET_1346 0x013c 2055 #define __NEXTOS_DOS_SET_1346 0x013f 2056 #define __NEXTOS_DOS_FLUSH 0x0142 2057 #define __NEXTOS_DOS_SET_ACCESS 0x0145 2058 #define __NEXTOS_DOS_SET_ATTRIBUTES 0x0148 2059 #define __NEXTOS_DOS_SET_MESSAGE 0x014e 2060 2061 #define __NEXTOS_IDE_VERSION 0x00a0 2062 #define __NEXTOS_IDE_SWAP_OPEN 0x00d9 2063 #define __NEXTOS_IDE_SWAP_CLOSE 0x00dc 2064 #define __NEXTOS_IDE_SWAP_OUT 0x00df 2065 #define __NEXTOS_IDE_SWAP_IN 0x00e2 2066 #define __NEXTOS_IDE_SWAP_EX 0x00e5 2067 #define __NEXTOS_IDE_SWAP_POS 0x00e8 2068 #define __NEXTOS_IDE_SWAP_MOVE 0x00eb 2069 #define __NEXTOS_IDE_SWAP_RESIZE 0x00ee 2070 #define __NEXTOS_IDE_PARTITION_FIND 0x00b5 2071 2072 #define __NEXTOS_IDE_DOS_MAP 0x00f1 2073 #define __nextos_map_ramdisk 4 2074 #define __nextos_map_fsimage 0xff 2075 2076 #define __NEXTOS_IDE_DOS_UNMAP 0x00f4 2077 #define __NEXTOS_IDE_DOS_MAPPING 0x00f7 2078 #define __NEXTOS_IDE_SNAPLOAD 0x00fd 2079 2080 #define __NEXTOS_IDE_PATH 0x01b1 2081 #define __nextos_rc_path_change 0 2082 #define __nextos_rc_path_get 1 2083 #define __nextos_rc_path_make 2 2084 #define __nextos_rc_path_delete 3 2085 2086 #define __NEXTOS_IDE_CAPACITY 0x01b4 2087 #define __NEXTOS_IDE_GET_LFN 0x01b7 2088 2089 #define __NEXTOS_IDE_BROWSER 0x01ba 2090 #define __nextos_browsercaps_none 0 2091 #define __nextos_browsercaps_copy 0x01 2092 #define __nextos_browsercaps_rename 0x02 2093 #define __nextos_browsercaps_mkdir 0x04 2094 #define __nextos_browsercaps_erase 0x08 2095 #define __nextos_browsercaps_remount 0x10 2096 #define __nextos_browsercaps_unmount 0x20 2097 #define __nextos_browsercaps_syscfg 0x80 2098 #define __nextos_browsercaps_all 0x3f 2099 2100 #define __NEXTOS_IDE_MOUNT 0x01d2 2101 #define __nextos_unmount 0 2102 #define __nextos_remount 1 2103 2104 #define __NEXTOS_IDE_STREAM_OPEN 0x0056 2105 #define __NEXTOS_IDE_STREAM_CLOSE 0x0059 2106 #define __NEXTOS_IDE_STREAM_IN 0x005c 2107 #define __NEXTOS_IDE_STREAM_OUT 0x005f 2108 #define __NEXTOS_IDE_STREAM_PTR 0x0062 2109 2110 #define __NEXTOS_IDE_BANK 0x01bd 2111 #define __nextos_rc_banktype_zx 0 2112 #define __nextos_rc_banktype_mmc 1 2113 #define __nextos_rc_bank_total 0 2114 #define __nextos_rc_bank_alloc 1 2115 #define __nextos_rc_bank_reserve 2 2116 #define __nextos_rc_bank_free 3 2117 #define __nextos_rc_bank_available 4 2118 2119 #define __NEXTOS_IDE_BASIC 0x01c0 2120 #define __NEXTOS_IDE_WINDOW_LINEIN 0x01c3 2121 #define __NEXTOS_IDE_WINDOW_STRING 0x01c6 2122 #define __NEXTOS_IDE_INTEGER_VAR 0x01c9 2123 #define __NEXTOS_IDE_RTC 0x01cc 2124 #define __NEXTOS_IDE_DRIVER 0x01cf 2125 2126 #define __NEXTOS_IDE_MODE 0x01d5 2127 #define __nextos_mode_query 0 2128 #define __nextos_mode_set_layer_0 0x0000 2129 #define __nextos_mode_set_layer_1_lores 0x0100 2130 #define __nextos_mode_set_layer_1_ula 0x0101 2131 #define __nextos_mode_set_layer_1_hires 0x0102 2132 #define __nextos_mode_set_layer_1_hicol 0x0103 2133 #define __nextos_mode_set_layer_2 0x0200 2134 #define __nextos_mode_flag_reduced_height 0x01 2135 #define __nextos_mode_flag_double_width 0x10 2136 #define __nextos_mode_flag_double_height 0x20 2137 2138 #define __NEXTOS_DOS_REF_XDPB 0x0151 2139 #define __NEXTOS_DOS_MAP_B 0x0154 2140 #define __NEXTOS_DD_INTERFACE 0x0157 2141 #define __NEXTOS_DD_INIT 0x015a 2142 #define __NEXTOS_DD_SETUP 0x015d 2143 #define __NEXTOS_DD_SET_RETRY 0x0160 2144 #define __NEXTOS_DD_READ_SECTOR 0x0163 2145 #define __NEXTOS_DD_WRITE_SECTOR 0x0166 2146 #define __NEXTOS_DD_CHECK_SECTOR 0x0169 2147 #define __NEXTOS_DD_FORMAT 0x016c 2148 #define __NEXTOS_DD_READ_ID 0x016f 2149 #define __NEXTOS_DD_TEST_UNSUITABLE 0x0172 2150 #define __NEXTOS_DD_LOGIN 0x0175 2151 #define __NEXTOS_DD_SEL_FORMAT 0x0178 2152 #define __NEXTOS_DD_ASK_1 0x017b 2153 #define __NEXTOS_DD_DRIVE_STATUS 0x017e 2154 #define __NEXTOS_DD_EQUIPMENT 0x0181 2155 #define __NEXTOS_DD_ENCODE 0x0184 2156 #define __NEXTOS_DD_L_XDPB 0x0187 2157 #define __NEXTOS_DD_L_DPB 0x018a 2158 #define __NEXTOS_DD_L_SEEK 0x018d 2159 #define __NEXTOS_DD_L_READ 0x0190 2160 #define __NEXTOS_DD_L_WRITE 0x0193 2161 #define __NEXTOS_DD_L_ON_MOTOR 0x0196 2162 #define __NEXTOS_DD_T_OFF_MOTOR 0x0199 2163 #define __NEXTOS_DD_L_OFF_MOTOR 0x019c 2164 2165 #define __NEXTOS_DOS_INITIALISE 0x0100 2166 #define __NEXTOS_DOS_INITIALIZE 0x0100 2167 #define __NEXTOS_IDE_INTERFACE 0x00a3 2168 #define __NEXTOS_IDE_INIT 0x00a6 2169 #define __NEXTOS_IDE_DRIVE 0x00a9 2170 #define __NEXTOS_IDE_SECTOR_READ 0x00ac 2171 #define __NEXTOS_IDE_SECTOR_WRITE 0x00af 2172 #define __NEXTOS_IDE_PARTITION_NEW 0x00b8 2173 #define __NEXTOS_IDE_PARTITION_INIT 0x00bb 2174 #define __NEXTOS_IDE_PARTITION_READ 0x00c4 2175 #define __NEXTOS_IDE_PARTITION_OPEN 0x00cd 2176 #define __NEXTOS_IDE_PARTITION_CLOSE 0x00d0 2177 #define __NEXTOS_IDE_PARTITIONS 0x01a5 2178 2179 #define __NEXTOS_RC_READY 0 2180 #define __NEXTOS_RC_WP 1 2181 #define __NEXTOS_RC_SEEK 2 2182 #define __NEXTOS_RC_CRC 3 2183 #define __NEXTOS_RC_NODATA 4 2184 #define __NEXTOS_RC_MARK 5 2185 #define __NEXTOS_RC_UNRECOG 6 2186 #define __NEXTOS_RC_UNKNOWN 7 2187 #define __NEXTOS_RC_DISKCHG 8 2188 #define __NEXTOS_RC_UNSUIT 9 2189 2190 #define __NEXTOS_RC_BADNAME 20 2191 #define __NEXTOS_RC_BADPARAM 21 2192 #define __NEXTOS_RC_NODRIVE 22 2193 #define __NEXTOS_RC_NOFILE 23 2194 #define __NEXTOS_RC_EXISTS 24 2195 #define __NEXTOS_RC_EOF 25 2196 #define __NEXTOS_RC_DISKFULL 26 2197 #define __NEXTOS_RC_DIRFULL 27 2198 #define __NEXTOS_RC_RO 28 2199 #define __NEXTOS_RC_NUMBER 29 2200 #define __NEXTOS_RC_DENIED 30 2201 #define __NEXTOS_RC_NORENAME 31 2202 #define __NEXTOS_RC_EXTENT 32 2203 #define __NEXTOS_RC_UNCACHED 33 2204 #define __NEXTOS_RC_TOOBIG 34 2205 #define __NEXTOS_RC_NOTBOOT 35 2206 #define __NEXTOS_RC_INUSE 36 2207 2208 #define __NEXTOS_RC_INVPARTITION 56 2209 #define __NEXTOS_RC_PARTEXIST 57 2210 #define __NEXTOS_RC_NOTIMP 58 2211 #define __NEXTOS_RC_PARTOPEN 59 2212 #define __NEXTOS_RC_NOHANDLE 60 2213 #define __NEXTOS_RC_NOTSWAP 61 2214 #define __NEXTOS_RC_MAPPED 62 2215 #define __NEXTOS_RC_NOXDPB 63 2216 #define __NEXTOS_RC_NOSWAP 64 2217 #define __NEXTOS_RC_INVDEVICE 65 2218 #define __NEXTOS_RC_CMDPHASE 67 2219 #define __NEXTOS_RC_DATAPHASE 68 2220 #define __NEXTOS_RC_NOTDIR 69 2221 #define __NEXTOS_RC_FRAGMENTED 74 2222 2223 #define __ESX_RST_SYS 0x08 2224 #define __ESX_RST_ROM 0x18 2225 #define __ESX_RST_EXITDOT 0x20 2226 2227 #define __ESX_PATHNAME_MAX 256 2228 #define __ESX_FILENAME_MAX 12 2229 #define __ESX_FILENAME_LFN_MAX 260 2230 2231 #define __ESX_DISK_FILEMAP 0x85 2232 #define __ESX_DISK_STRMSTART 0x86 2233 #define __ESX_DISK_STRMEND 0x87 2234 2235 #define __ESX_M_DOSVERSION 0x88 2236 #define __ESX_M_GETSETDRV 0x89 2237 2238 #define __ESX_M_TAPEIN 0x8b 2239 #define __esx_tapein_open 0 2240 #define __esx_tapein_close 1 2241 #define __esx_tapein_info 2 2242 #define __esx_tapein_setpos 3 2243 #define __esx_tapein_getpos 4 2244 #define __esx_tapein_pause 5 2245 #define __esx_tapein_flags 6 2246 2247 #define __ESX_M_TAPEOUT 0x8c 2248 #define __esx_tapeout_open 0 2249 #define __esx_tapeout_close 1 2250 #define __esx_tapeout_info 2 2251 #define __esx_tapeout_trunc 3 2252 2253 #define __ESX_M_GETHANDLE 0x8d 2254 #define __ESX_M_GETDATE 0x8e 2255 #define __ESX_M_EXECCMD 0x8f 2256 2257 #define __ESX_M_SETCAPS 0x91 2258 #define __esx_caps_fast_trunc 0x80 2259 2260 #define __ESX_M_DRVAPI 0x92 2261 #define __ESX_M_GETERR 0x93 2262 #define __ESX_M_P3DOS 0x94 2263 #define __ESX_M_ERRH 0x95 2264 2265 #define __ESX_F_OPEN 0x9a 2266 #define __esx_mode_read 0x01 2267 #define __esx_mode_write 0x02 2268 #define __esx_mode_use_header 0x40 2269 #define __esx_mode_open_exist 0x00 2270 #define __esx_mode_open_creat 0x08 2271 #define __esx_mode_creat_noexist 0x04 2272 #define __esx_mode_creat_trunc 0x0c 2273 2274 #define __ESX_F_CLOSE 0x9b 2275 #define __ESX_F_SYNC 0x9c 2276 #define __ESX_F_READ 0x9d 2277 #define __ESX_F_WRITE 0x9e 2278 2279 #define __ESX_F_SEEK 0x9f 2280 #define __esx_seek_set 0x00 2281 #define __esx_seek_fwd 0x01 2282 #define __esx_seek_bwd 0x02 2283 2284 #define __ESX_F_FGETPOS 0xa0 2285 #define __ESX_F_FSTAT 0xa1 2286 #define __ESX_F_FTRUNCATE 0xa2 2287 2288 #define __ESX_F_OPENDIR 0xa3 2289 #define __esx_dir_use_lfn 0x10 2290 #define __esx_dir_use_header 0x40 2291 2292 #define __ESX_F_READDIR 0xa4 2293 #define __esx_dir_a_rdo 0x01 2294 #define __esx_dir_a_hid 0x02 2295 #define __esx_dir_a_sys 0x04 2296 #define __esx_dir_a_vol 0x08 2297 #define __esx_dir_a_dir 0x10 2298 #define __esx_dir_a_arch 0x20 2299 #define __esx_dir_a_dev 0x40 2300 #define __esx_dir_a_res 0x80 2301 2302 #define __ESX_F_TELLDIR 0xa5 2303 #define __ESX_F_SEEKDIR 0xa6 2304 #define __ESX_F_REWINDDIR 0xa7 2305 #define __ESX_F_GETCWD 0xa8 2306 #define __ESX_F_CHDIR 0xa9 2307 #define __ESX_F_MKDIR 0xaa 2308 #define __ESX_F_RMDIR 0xab 2309 #define __ESX_F_STAT 0xac 2310 #define __ESX_F_UNLINK 0xad 2311 #define __ESX_F_TRUNCATE 0xae 2312 2313 #define __ESX_F_CHMOD 0xaf 2314 #define __esx_a_write 0x01 2315 #define __esx_a_read 0x80 2316 #define __esx_a_rdwr 0x81 2317 #define __esx_a_hidden 0x02 2318 #define __esx_a_system 0x04 2319 #define __esx_a_arch 0x20 2320 #define __esx_a_exec 0x40 2321 #define __esx_a_all 0xe7 2322 2323 #define __ESX_F_RENAME 0xb0 2324 #define __ESX_F_GETFREE 0xb1 2325 2326 #define __ESX_OK 0 2327 #define __ESX_EOK 1 2328 #define __ESX_ENONSENSE 2 2329 #define __ESX_ESTEND 3 2330 #define __ESX_EWRTYPE 4 2331 #define __ESX_ENOENT 5 2332 #define __ESX_EIO 6 2333 #define __ESX_EINVAL 7 2334 #define __ESX_EACCES 8 2335 #define __ESX_ENOSPC 9 2336 #define __ESX_ENXIO 10 2337 #define __ESX_ENODRV 11 2338 #define __ESX_ENFILE 12 2339 #define __ESX_EBADF 13 2340 #define __ESX_ENODEV 14 2341 #define __ESX_EOVERFLOW 15 2342 #define __ESX_EISDIR 16 2343 #define __ESX_ENOTDIR 17 2344 #define __ESX_EEXIST 18 2345 #define __ESX_EPATH 19 2346 #define __ESX_ENOSYS 20 2347 #define __ESX_ENAMETOOLONG 21 2348 #define __ESX_ENOCMD 22 2349 #define __ESX_EINUSE 23 2350 #define __ESX_ERDONLY 24 2351 #define __ESX_EVERIFY 25 2352 #define __ESX_ELOADINGKO 26 2353 #define __ESX_EDIRINUSE 27 2354 #define __ESX_EMAPRAMACTIVE 28 2355 #define __ESX_EDRIVEBUSY 29 2356 #define __ESX_EFSUNKNOWN 30 2357 #define __ESX_EDEVICEBUSY 31 2358 2359 #define __ESX_EMAXCODE 31 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 #define __IO_NEXTREG_REG 0x243b 2373 #define __IO_NEXTREG_DAT 0x253b 2374 2375 #define __REG_MACHINE_ID 0 2376 #define __RMI_DE1A 1 2377 #define __RMI_DE2A 2 2378 #define __RMI_FBLABS 5 2379 #define __RMI_VTRUCCO 6 2380 #define __RMI_WXEDA 7 2381 #define __RMI_EMULATORS 8 2382 #define __RMI_ZXNEXT 10 2383 #define __RMI_MULTICORE 11 2384 #define __RMI_ZXNEXT_AB 250 2385 2386 #define __REG_VERSION 1 2387 #define __RV_MAJOR 0xf0 2388 #define __RV_MINOR 0x0f 2389 2390 #define __REG_RESET 2 2391 #define __RR_POWER_ON_RESET 0x04 2392 #define __RR_HARD_RESET 0x02 2393 #define __RR_SOFT_RESET 0x01 2394 2395 #define __REG_MACHINE_TYPE 3 2396 #define __RMT_LOCK_TIMING 0x80 2397 #define __RMT_TIMING_48 0x10 2398 #define __RMT_TIMING_128 0x20 2399 #define __RMT_TIMING_P3E 0x30 2400 #define __RMT_TIMING_PENTAGON 0x40 2401 #define __RMT_CONFIG_MODE 0x00 2402 #define __RMT_48 0x01 2403 #define __RMT_128 0x02 2404 #define __RMT_P3E 0x03 2405 #define __RMT_PENTAGON 0x04 2406 2407 #define __REG_RAM_PAGE 4 2408 #define __RRP_RAM_DIVMMC 0x08 2409 #define __RRP_ROM_DIVMMC 0x04 2410 #define __RRP_ROM_MF 0x05 2411 #define __RRP_ROM_SPECTRUM 0x00 2412 2413 #define __REG_PERIPHERAL_1 5 2414 #define __RP1_JOY1_SINCLAIR 0xc0 2415 #define __RP1_JOY1_SINCLAIR_1 0xc0 2416 #define __RP1_JOY1_SINCLAIR_2 0x00 2417 #define __RP1_JOY1_KEMPSTON 0x40 2418 #define __RP1_JOY1_KEMPSTON_1 0x40 2419 #define __RP1_JOY1_KEMPSTON_2 0x08 2420 #define __RP1_JOY1_CURSOR 0x80 2421 #define __RP1_JOY1_MD_1 0x48 2422 #define __RP1_JOY1_MD_2 0x88 2423 #define __RP1_JOY2_SINCLAIR 0x00 2424 #define __RP1_JOY2_SINCLAIR_1 0x30 2425 #define __RP1_JOY2_SINCLAIR_2 0x00 2426 #define __RP1_JOY2_KEMPSTON 0x02 2427 #define __RP1_JOY2_KEMPSTON_1 0x10 2428 #define __RP1_JOY2_KEMPSTON_2 0x02 2429 #define __RP1_JOY2_CURSOR 0x20 2430 #define __RP1_JOY2_MD_1 0x12 2431 #define __RP1_JOY2_MD_2 0x22 2432 #define __RP1_RATE_50 0x00 2433 #define __RP1_RATE_60 0x04 2434 #define __RP1_ENABLE_SCANDOUBLER 0x01 2435 2436 #define __REG_PERIPHERAL_2 6 2437 #define __RP2_ENABLE_TURBO 0x80 2438 #define __RP2_DAC_I2S 0x00 2439 #define __RP2_DAC_JAP 0x40 2440 #define __RP2_ENABLE_LIGHTPEN 0x20 2441 #define __RP2_ENABLE_DIVMMC 0x10 2442 #define __RP2_ENABLE_MULTIFACE 0x08 2443 #define __RP2_PS2_KEYBOARD 0x00 2444 #define __RP2_PS2_MOUSE 0x04 2445 #define __RP2_PSGMODE_AY 0x03 2446 #define __RP2_PSGMODE_YM 0x02 2447 #define __RP2_PSGMODE_DISABLE 0x00 2448 2449 #define __REG_TURBO_MODE 7 2450 #define __RTM_3MHZ 0x00 2451 #define __RTM_7MHZ 0x01 2452 #define __RTM_14MHZ 0x02 2453 2454 #define __REG_PERIPHERAL_3 8 2455 #define __RP3_STEREO_ABC 0x00 2456 #define __RP3_STEREO_ACB 0x20 2457 #define __RP3_ENABLE_SPEAKER 0x10 2458 #define __RP3_ENABLE_SPECDRUM 0x08 2459 #define __RP3_ENABLE_COVOX 0x08 2460 #define __RP3_ENABLE_TIMEX 0x04 2461 #define __RP3_ENABLE_TURBOSOUND 0x02 2462 #define __RP3_DISABLE_CONTENTION 0x40 2463 #define __RP3_UNLOCK_7FFD 0x80 2464 2465 #define __REG_PERIPHERAL_4 9 2466 #define __RP4_SCANLINES_OFF 0x00 2467 #define __RP4_SCANLINES_25 0x03 2468 #define __RP4_SCANLINES_50 0x02 2469 #define __RP4_SCANLINES_75 0x01 2470 2471 #define __REG_SUB_VERSION 14 2472 2473 #define __REG_VIDEO_PARAM 15 2474 2475 #define __REG_ANTI_BRICK 16 2476 #define __RAB_COMMAND_NORMALCORE 0x80 2477 #define __RAB_BUTTON_DIVMMC 0x02 2478 #define __RAB_BUTTON_MULTIFACE 0x01 2479 2480 #define __REG_VIDEO_TIMING 17 2481 2482 #define __REG_LAYER_2_RAM_PAGE 18 2483 #define __RL2RP_MASK 0x3f 2484 #define __REG_LAYER_2_RAM_BANK 18 2485 #define __RL2RB_MASK 0x3f 2486 2487 #define __REG_LAYER_2_SHADOW_RAM_PAGE 19 2488 #define __RL2SRP_MASK 0x3f 2489 #define __REG_LAYER_2_SHADOW_RAM_BANK 19 2490 #define __RL2SRB_MASK 0x3f 2491 2492 #define __REG_GLOBAL_TRANSPARENCY_COLOR 20 2493 2494 #define __REG_SPRITE_LAYER_SYSTEM 21 2495 #define __RSLS_ENABLE_LORES 0x80 2496 #define __RSLS_LAYER_PRIORITY_SLU 0x00 2497 #define __RSLS_LAYER_PRIORITY_LSU 0x04 2498 #define __RSLS_LAYER_PRIORITY_SUL 0x08 2499 #define __RSLS_LAYER_PRIORITY_LUS 0x0c 2500 #define __RSLS_LAYER_PRIORITY_USL 0x10 2501 #define __RSLS_LAYER_PRIORITY_ULS 0x14 2502 #define __RSLS_SPRITES_OVER_BORDER 0x02 2503 #define __RSLS_SPRITES_VISIBLE 0x01 2504 2505 #define __REG_LAYER_2_OFFSET_X 22 2506 2507 #define __REG_LAYER_2_OFFSET_Y 23 2508 2509 #define __REG_CLIP_WINDOW_LAYER_2 24 2510 2511 #define __REG_CLIP_WINDOW_SPRITES 25 2512 2513 #define __REG_CLIP_WINDOW_ULA 26 2514 2515 #define __REG_CLIP_WINDOW_CONTROL 28 2516 #define __RCWC_RESET_ULA_CLIP_INDEX 0x04 2517 #define __RCWC_RESET_SPRITE_CLIP_INDEX 0x02 2518 #define __RCWC_RESET_LAYER_2_CLIP_INDEX 0x01 2519 2520 #define __REG_ACTIVE_VIDEO_LINE_H 30 2521 2522 #define __REG_ACTIVE_VIDEO_LINE_L 31 2523 2524 #define __REG_LINE_INTERRUPT_CONTROL 34 2525 #define __RLIC_INTERRUPT_FLAG 0x80 2526 #define __RLIC_DISABLE_ULA_INTERRUPT 0x04 2527 #define __RLIC_ENABLE_LINE_INTERRUPT 0x02 2528 #define __RLIC_LINE_INTERRUPT_VALUE_H 0x01 2529 2530 #define __REG_LINE_INTERRUPT_VALUE_L 35 2531 2532 #define __REG_KEYMAP_ADDRESS_H 40 2533 2534 #define __REG_KEYMAP_ADDRESS_L 41 2535 2536 #define __REG_KEYMAP_DATA_H 42 2537 2538 #define __REG_KEYMAP_DATA_L 43 2539 2540 #define __REG_DAC_MONO 45 2541 2542 #define __REG_LORES_OFFSET_X 50 2543 2544 #define __REG_LORES_OFFSET_Y 51 2545 2546 #define __REG_PALETTE_INDEX 64 2547 2548 #define __REG_PALETTE_VALUE_8 65 2549 2550 #define __REG_ULANEXT_PALETTE_FORMAT 66 2551 2552 #define __REG_PALETTE_CONTROL 67 2553 #define __RPC_DISABLE_AUTOINC 0x80 2554 #define __RPC_SELECT_ULA_PALETTE_0 0x00 2555 #define __RPC_SELECT_ULA_PALETTE_1 0x40 2556 #define __RPC_SELECT_LAYER_2_PALETTE_0 0x10 2557 #define __RPC_SELECT_LAYER_2_PALETTE_1 0x50 2558 #define __RPC_SELECT_SPRITES_PALETTE_0 0x20 2559 #define __RPC_SELECT_SPRITES_PALETTE_1 0x60 2560 #define __RPC_ENABLE_SPRITES_PALETTE_0 0x00 2561 #define __RPC_ENABLE_SPRITES_PALETTE_1 0x08 2562 #define __RPC_ENABLE_LAYER_2_PALETTE_0 0x00 2563 #define __RPC_ENABLE_LAYER_2_PALETTE_1 0x04 2564 #define __RPC_ENABLE_ULA_PALETTE_0 0x00 2565 #define __RPC_ENABLE_ULA_PALETTE_1 0x02 2566 #define __RPC_ENABLE_ULANEXT 0x01 2567 2568 #define __REG_PALETTE_VALUE_16 68 2569 2570 #define __REG_FALLBACK_COLOR 74 2571 2572 #define __REG_SPRITE_TRANSPARENCY_INDEX 75 2573 2574 #define __REG_MMU0 80 2575 #define __REG_MMU1 81 2576 #define __REG_MMU2 82 2577 #define __REG_MMU3 83 2578 #define __REG_MMU4 84 2579 #define __REG_MMU5 85 2580 #define __REG_MMU6 86 2581 #define __REG_MMU7 87 2582 2583 #define __REG_COPPER_DATA 96 2584 2585 #define __REG_COPPER_CONTROL_L 97 2586 2587 #define __REG_COPPER_CONTROL_H 98 2588 #define __RCCH_COPPER_STOP 0x00 2589 #define __RCCH_COPPER_RUN_LOOP_RESET 0x40 2590 #define __RCCH_COPPER_RUN_LOOP 0x80 2591 #define __RCCH_COPPER_RUN_VBI 0xc0 2592 2593 #define __REG_DEBUG 0xff 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 #define __ROM3_BC_SPACES 0x0030 2607 #define __ROM3_CLS 0x0d6b 2608 #define __ROM3_MAKE_ROOM 0x1655 2609 #define __ROM3_RECLAIM_2 0x19e8 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 #define __IO_I2C_SCL 0x103b 2623 #define __IO_I2C_SDA 0x113b 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 #define __IO_SPRITE_SLOT 0x303b 2637 2638 #define __IO_SPRITE_FLAGS 0x303b 2639 2640 #define __ISF_MAX_SPRITES_PER_LINE 0x02 2641 #define __ISF_COLLISION 0x01 2642 2643 #define __IO_303B_MAX_SPRITES_PER_LINE 0x02 2644 #define __IO_303B_COLLISION 0x01 2645 2646 #define __IO_SPRITE_ATTRIBUTE 0x57 2647 2648 #define __IO_SPRITE_PATTERN 0x5b 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 #define __SYS_IY SYS_IY 2662 #define __SYS_HLP SYS_HLP 2663 2664 #define __SYSVAR_SWAP 0x5b00 2665 #define __SYSVAR_STOO 0x5b10 2666 #define __SYSVAR_YOUNGER 0x5b21 2667 #define __SYSVAR_REGNUOY 0x5b2a 2668 #define __SYSVAR_ONERR 0x5b3a 2669 #define __SYSVAR_OLDHL 0x5b52 2670 #define __SYSVAR_OLDBC 0x5b54 2671 #define __SYSVAR_OLDAF 0x5b56 2672 #define __SYSVAR_TARGET 0x5b58 2673 #define __SYSVAR_RETADDR 0x5b5a 2674 #define __SYSVAR_BANKM 0x5b5c 2675 #define __SYSVAR_RAMRST 0x5b5d 2676 #define __SYSVAR_RAMERR 0x5b5e 2677 #define __SYSVAR_BAUD 0x5b5f 2678 #define __SYSVAR_SERFL 0x5b61 2679 #define __SYSVAR_COL 0x5b63 2680 #define __SYSVAR_WIDTH 0x5b64 2681 #define __SYSVAR_TVPARS 0x5b65 2682 #define __SYSVAR_FLAGS3 0x5b66 2683 #define __SYSVAR_BANK678 0x5b67 2684 #define __SYSVAR_FLAGN 0x5b68 2685 #define __SYSVAR_MAXBNK 0x5b69 2686 #define __SYSVAR_OLDSP 0x5b6a 2687 #define __SYSVAR_SYNRET 0x5b6c 2688 #define __SYSVAR_LASTV 0x5b6e 2689 #define __SYSVAR_TILEBNKL 0x5b73 2690 #define __SYSVAR_TILEML 0x5b74 2691 #define __SYSVAR_TILEBNK2 0x5b75 2692 #define __SYSVAR_TILEM2 0x5b76 2693 #define __SYSVAR_NXTBNK 0x5b77 2694 #define __SYSVAR_DATABNK 0x5b78 2695 #define __SYSVAR_LODDRV 0x5b79 2696 #define __SYSVAR_SAVDRV 0x5b7a 2697 #define __SYSVAR_L2SOFT 0x5b7b 2698 #define __SYSVAR_TILEWL 0x5b7c 2699 #define __SYSVAR_TILEW2 0x5b7e 2700 #define __SYSVAR_TILEOFFL 0x5b80 2701 #define __SYSVAR_TILEOFF2 0x5b82 2702 #define __SYSVAR_COORDSL 0x5b84 2703 #define __SYSVAR_COORDS2 0x5b86 2704 #define __SYSVAR_COORDSULA 0x5b88 2705 #define __SYSVAR_COORDSHR 0x5b8a 2706 #define __SYSVAR_COORDSHC 0x5b8c 2707 #define __SYSVAR_INKL 0x5b8e 2708 #define __SYSVAR_INK2 0x5b8f 2709 #define __SYSVAR_ATTRULA 0x5b90 2710 #define __SYSVAR_ATTRHR 0x5b91 2711 #define __SYSVAR_ATTRHC 0x5b92 2712 #define __SYSVAR_INKMASK 0x5b93 2713 #define __SYSVAR_TMPVARS 0x5b94 2714 2715 #define __SYSVAR_TSTACK 0x5bff 2716 2717 #define __SYSVAR_KSTATE 0x5c00 2718 #define __SYSVAR_LASTK 0x5c08 2719 #define __SYSVAR_REPDEL 0x5c09 2720 #define __SYSVAR_REPPER 0x5c0a 2721 #define __SYSVAR_DEFADD 0x5c0b 2722 #define __SYSVAR_KDATA 0x5c0d 2723 #define __SYSVAR_TVDATA 0x5c0e 2724 #define __SYSVAR_STRMS 0x5c10 2725 #define __SYSVAR_CHARS 0x5c36 2726 #define __SYSVAR_RASP 0x5c38 2727 #define __SYSVAR_PIP 0x5c39 2728 #define __SYSVAR_ERRNR 0x5c3a 2729 #define __SYSVAR_FLAGS 0x5c3b 2730 #define __SYSVAR_TVFLAG 0x5c3c 2731 #define __SYSVAR_ERRSP 0x5c3d 2732 #define __SYSVAR_LISTSP 0x5c3f 2733 #define __SYSVAR_MODE 0x5c41 2734 #define __SYSVAR_NEWPPC 0x5c42 2735 #define __SYSVAR_NSPPC 0x5c44 2736 #define __SYSVAR_PPC 0x5c45 2737 #define __SYSVAR_SUBPPC 0x5c47 2738 #define __SYSVAR_BORDCR 0x5c48 2739 #define __SYSVAR_EPPC 0x5c49 2740 #define __SYSVAR_VARS 0x5c4b 2741 #define __SYSVAR_DEST 0x5c4d 2742 #define __SYSVAR_CHANS 0x5c4f 2743 #define __SYSVAR_CURCHL 0x5c51 2744 #define __SYSVAR_PROG 0x5c53 2745 #define __SYSVAR_NXTLIN 0x5c55 2746 #define __SYSVAR_DATADD 0x5c57 2747 #define __SYSVAR_ELINE 0x5c59 2748 #define __SYSVAR_KCUR 0x5c5b 2749 #define __SYSVAR_CHADD 0x5c5d 2750 #define __SYSVAR_XPTR 0x5c5f 2751 #define __SYSVAR_WORKSP 0x5c61 2752 #define __SYSVAR_STKBOT 0x5c63 2753 #define __SYSVAR_STKEND 0x5c65 2754 #define __SYSVAR_BREG 0x5c67 2755 #define __SYSVAR_MEM 0x5c68 2756 #define __SYSVAR_FLAGS2 0x5c6a 2757 #define __SYSVAR_DFSZ 0x5c6b 2758 #define __SYSVAR_STOP 0x5c6c 2759 #define __SYSVAR_OLDPPC 0x5c6e 2760 #define __SYSVAR_OSPPC 0x5c70 2761 #define __SYSVAR_FLAGX 0x5c71 2762 #define __SYSVAR_STRLEN 0x5c72 2763 #define __SYSVAR_TADDR 0x5c74 2764 #define __SYSVAR_SEED 0x5c76 2765 #define __SYSVAR_FRAMES 0x5c78 2766 #define __SYSVAR_UDG 0x5c7b 2767 #define __SYSVAR_COORDS 0x5c7d 2768 #define __SYSVAR_GMODE 0x5c7f 2769 #define __SYSVAR_PRCC 0x5c80 2770 #define __SYSVAR_ECHOE 0x5c82 2771 #define __SYSVAR_DFCC 0x5c84 2772 #define __SYSVAR_DFCCL 0x5c86 2773 #define __SYSVAR_SPOSN 0x5c88 2774 #define __SYSVAR_SPOSNL 0x5c8a 2775 #define __SYSVAR_SCRCT 0x5c8c 2776 #define __SYSVAR_ATTRP 0x5c8d 2777 #define __SYSVAR_MASKP 0x5c8e 2778 #define __SYSVAR_ATTRT 0x5c8f 2779 #define __SYSVAR_MASKT 0x5c90 2780 #define __SYSVAR_PFLAG 0x5c91 2781 #define __SYSVAR_MEMBOT 0x5c92 2782 #define __SYSVAR_NMIADD 0x5cb0 2783 #define __SYSVAR_RAMTOP 0x5cb2 2784 #define __SYSVAR_PRAMT 0x5cb4 2785 2786 #define __ERRB_0_OK 0 2787 #define __ERRB_1_NEXT_WITHOUT_FOR 1 2788 #define __ERRB_2_VARIABLE_NOT_FOUND 2 2789 #define __ERRB_3_SUBSCRIPT_WRONG 3 2790 #define __ERRB_4_OUT_OF_MEMORY 4 2791 #define __ERRB_5_OUT_OF_SCREEN 5 2792 #define __ERRB_6_NUMBER_TOO_BIG 6 2793 #define __ERRB_7_RETURN_WITHOUT_GOSUB 7 2794 #define __ERRB_8_END_OF_FILE 8 2795 #define __ERRB_9_STOP_STATEMENT 9 2796 #define __ERRB_A_INVALID_ARGUMENT 10 2797 #define __ERRB_B_INTEGER_OUT_OF_RANGE 11 2798 #define __ERRB_C_NONSENSE_IN_BASIC 12 2799 #define __ERRB_D_BREAK_CONT_REPEATS 13 2800 #define __ERRB_E_OUT_OF_DATA 14 2801 #define __ERRB_F_INVALID_FILENAME 15 2802 #define __ERRB_G_NO_ROOM_FOR_LINE 16 2803 #define __ERRB_H_STOP_IN_INPUT 17 2804 #define __ERRB_I_FOR_WITHOUT_NEXT 18 2805 #define __ERRB_J_INVALID_IO_DEVICE 19 2806 #define __ERRB_K_INVALID_COLOUR 20 2807 #define __ERRB_K_INVALID_COLOR 20 2808 #define __ERRB_L_BREAK_INTO_PROGRAM 21 2809 #define __ERRB_M_RAMTOP_NO_GOOD 22 2810 #define __ERRB_N_STATEMENT_LOST 23 2811 #define __ERRB_O_INVALID_STREAM 24 2812 #define __ERRB_P_FN_WITHOUT_DEF 25 2813 #define __ERRB_Q_PARAMETER_ERROR 26 2814 #define __ERRB_R_TAPE_LOADING_ERROR 27 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 #define __CLK_28_0 28000000 2828 #define __CLK_28_1 28571429 2829 #define __CLK_28_2 29464286 2830 #define __CLK_28_3 30000000 2831 #define __CLK_28_4 31000000 2832 #define __CLK_28_5 32000000 2833 #define __CLK_28_6 33000000 2834 #define __CLK_28_7 27000000 2835 2836 #define __IO_UART_RX 0x143b 2837 2838 #define __IO_UART_BAUD_RATE 0x143b 2839 2840 #define __IUBR_115200_L 0x73 2841 #define __IUBR_115200_H 0x81 2842 #define __IUBR_57600_L 0x66 2843 #define __IUBR_57600_H 0x83 2844 #define __IUBR_38400_L 0x59 2845 #define __IUBR_38400_H 0x85 2846 #define __IUBR_31250_L 0x00 2847 #define __IUBR_31250_H 0x87 2848 #define __IUBR_19200_L 0x32 2849 #define __IUBR_19200_H 0x8b 2850 #define __IUBR_9600_L 0x64 2851 #define __IUBR_9600_H 0x96 2852 #define __IUBR_4800_L 0x49 2853 #define __IUBR_4800_H 0xad 2854 #define __IUBR_2400_L 0x12 2855 #define __IUBR_2400_H 0xdb 2856 2857 #define __IO_143B_115200_L 0x73 2858 #define __IO_143B_115200_H 0x81 2859 #define __IO_143B_57600_L 0x66 2860 #define __IO_143B_57600_H 0x83 2861 #define __IO_143B_38400_L 0x59 2862 #define __IO_143B_38400_H 0x85 2863 #define __IO_143B_31250_L 0x00 2864 #define __IO_143B_31250_H 0x87 2865 #define __IO_143B_19200_L 0x32 2866 #define __IO_143B_19200_H 0x8b 2867 #define __IO_143B_9600_L 0x64 2868 #define __IO_143B_9600_H 0x96 2869 #define __IO_143B_4800_L 0x49 2870 #define __IO_143B_4800_H 0xad 2871 #define __IO_143B_2400_L 0x12 2872 #define __IO_143B_2400_H 0xdb 2873 2874 #define __IO_UART_TX 0x133b 2875 2876 #define __IO_UART_STATUS 0x133b 2877 2878 #define __IUS_RX_AVAIL 0x01 2879 #define __IUS_TX_BUSY 0x02 2880 #define __IUS_RX_FULL 0x04 2881 2882 #define __IO_133B_RX_AVAIL 0x01 2883 #define __IO_133B_TX_BUSY 0x02 2884 #define __IO_133B_RX_FULL 0x04 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 #define __IO_FE 0xfe 2898 #define __IO_FE_EAR 0x10 2899 #define __IO_FE_MIC 0x08 2900 #define __IO_FE_BORDER_MASK 0x07 2901 2902 #define __IO_TIMEX_VIDEO_MODE 0xff 2903 2904 #define __IO_TVM_DISABLE_ULA_INTERRUPT 0x40 2905 #define __IO_TVM_DFILE_1 0x0 2906 #define __IO_TVM_DFILE_2 0x01 2907 #define __IO_TVM_HICOLOR 0x02 2908 #define __IO_TVM_HIRES 0x06 2909 #define __IO_TVM_HIRES_BLACK 0x06 2910 #define __IO_TVM_HIRES_BLUE 0x0e 2911 #define __IO_TVM_HIRES_RED 0x16 2912 #define __IO_TVM_HIRES_MAGENTA 0x1e 2913 #define __IO_TVM_HIRES_GREEN 0x26 2914 #define __IO_TVM_HIRES_CYAN 0x2e 2915 #define __IO_TVM_HIRES_YELLOW 0x36 2916 #define __IO_TVM_HIRES_WHITE 0x3e 2917 2918 #define __IO_FF_DISABLE_ULA_INTERRUPT 0x40 2919 #define __IO_FF_DFILE_1 0x0 2920 #define __IO_FF_DFILE_2 0x01 2921 #define __IO_FF_HICOLOR 0x02 2922 #define __IO_FF_HIRES 0x06 2923 #define __IO_FF_HIRES_BLACK 0x06 2924 #define __IO_FF_HIRES_BLUE 0x0e 2925 #define __IO_FF_HIRES_RED 0x16 2926 #define __IO_FF_HIRES_MAGENTA 0x1e 2927 #define __IO_FF_HIRES_GREEN 0x26 2928 #define __IO_FF_HIRES_CYAN 0x2e 2929 #define __IO_FF_HIRES_YELLOW 0x36 2930 #define __IO_FF_HIRES_WHITE 0x3e 2931 2932 2933 2934 2935 2936 #endif 2937 2938 2939 2940