• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

private knowhow


コミットメタ情報

リビジョン3197574bae0739b936c52c3f95042b11e52eebc5 (tree)
日時2014-04-22 04:06:39
作者oga <hyperoga@gmai...>
コミッターoga

ログメッセージ

add param

変更サマリ

差分

--- a/iocs.txt
+++ b/iocs.txt
@@ -718,6 +718,491 @@ _EXTERN (void _iocs_txyline (const struct _ylineptr *));
718718
719719
720720 {
721+NetBSD iocs.h
722+--------
723+ 1 /*
724+ 2 * iocs.h
725+ 3 * X680x0 IOCS call interface
726+ 4 *
727+ 5 * written by ITOH Yasufumi
728+ 6 * (based on PD libc 1.1.32 by PROJECT C Library)
729+ 7 * public domain
730+ 8 *
731+ 9 * $NetBSD: iocs.h,v 1.8 2011/02/21 02:31:59 itohy Exp $
732+ 10 */
733+ 11 /*
734+ 12 * PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
735+ 13 * --------------------------------------------------------------------
736+ 14 * This file is written by the Project C Library Group, and completely
737+ 15 * in public domain. You can freely use, copy, modify, and redistribute
738+ 16 * the whole contents, without this notice.
739+ 17 * --------------------------------------------------------------------
740+ 18 * Id: iocs.h,v 1.1.1.1 1993/04/18 16:14:27 mura Exp
741+ 19 * Id: iocs_p.h,v 1.5 1993/10/06 16:46:12 mura Exp
742+ 20 * Id: scsi.h,v 1.3 1994/07/31 17:21:50 mura Exp
743+ 21 */
744+ 22
745+ 23 #ifndef __X68K_IOCS_H__
746+ 24 #define __X68K_IOCS_H__
747+ 25
748+ 26 #include <sys/cdefs.h>
749+ 27
750+ 28 struct iocs_boxptr {
751+ 29 short x1;
752+ 30 short y1;
753+ 31 short x2;
754+ 32 short y2;
755+ 33 unsigned short color;
756+ 34 unsigned short linestyle;
757+ 35 };
758+ 36
759+ 37 struct iocs_circleptr {
760+ 38 short x;
761+ 39 short y;
762+ 40 unsigned short radius;
763+ 41 unsigned short color;
764+ 42 short start;
765+ 43 short end;
766+ 44 unsigned short ratio;
767+ 45 };
768+ 46
769+ 47 struct iocs_fillptr {
770+ 48 short x1;
771+ 49 short y1;
772+ 50 short x2;
773+ 51 short y2;
774+ 52 unsigned short color;
775+ 53 };
776+ 54
777+ 55 struct iocs_fntbuf {
778+ 56 short xl;
779+ 57 short yl;
780+ 58 unsigned char buffer[72];
781+ 59 };
782+ 60
783+ 61 struct iocs_getptr {
784+ 62 short x1;
785+ 63 short y1;
786+ 64 short x2;
787+ 65 short y2;
788+ 66 void *buf_start;
789+ 67 void *buf_end;
790+ 68 };
791+ 69
792+ 70 struct iocs_lineptr {
793+ 71 short x1;
794+ 72 short y1;
795+ 73 short x2;
796+ 74 short y2;
797+ 75 unsigned short color;
798+ 76 unsigned short linestyle;
799+ 77 };
800+ 78
801+ 79 struct iocs_paintptr {
802+ 80 short x;
803+ 81 short y;
804+ 82 unsigned short color;
805+ 83 void *buf_start;
806+ 84 void *buf_end;
807+ 85 } __attribute__((__packed__));
808+ 86
809+ 87 struct iocs_pointptr {
810+ 88 short x;
811+ 89 short y;
812+ 90 unsigned short color;
813+ 91 };
814+ 92
815+ 93 struct iocs_psetptr {
816+ 94 short x;
817+ 95 short y;
818+ 96 unsigned short color;
819+ 97 };
820+ 98
821+ 99 struct iocs_putptr {
822+ 100 short x1;
823+ 101 short y1;
824+ 102 short x2;
825+ 103 short y2;
826+ 104 const void *buf_start;
827+ 105 const void *buf_end;
828+ 106 };
829+ 107
830+ 108 struct iocs_symbolptr {
831+ 109 short x1;
832+ 110 short y1;
833+ 111 unsigned char *string_address;
834+ 112 unsigned char mag_x;
835+ 113 unsigned char mag_y;
836+ 114 unsigned short color;
837+ 115 unsigned char font_type;
838+ 116 unsigned char angle;
839+ 117 } __attribute__((__packed__));
840+ 118
841+ 119 struct iocs_regs {
842+ 120 int d0;
843+ 121 int d1;
844+ 122 int d2;
845+ 123 int d3;
846+ 124 int d4;
847+ 125 int d5;
848+ 126 int d6;
849+ 127 int d7;
850+ 128 int a1;
851+ 129 int a2;
852+ 130 int a3;
853+ 131 int a4;
854+ 132 int a5;
855+ 133 int a6;
856+ 134 };
857+ 135
858+ 136 struct iocs_chain {
859+ 137 void *addr;
860+ 138 unsigned short len;
861+ 139 } __attribute__((__packed__));
862+ 140
863+ 141 struct iocs_chain2 {
864+ 142 void *addr;
865+ 143 unsigned short len;
866+ 144 const struct iocs_chain2 *next;
867+ 145 } __attribute__((__packed__));
868+ 146
869+ 147 struct iocs_clipxy {
870+ 148 short xs;
871+ 149 short ys;
872+ 150 short xe;
873+ 151 short ye;
874+ 152 };
875+ 153
876+ 154 struct iocs_patst {
877+ 155 short offsetx;
878+ 156 short offsety;
879+ 157 short shadow[16];
880+ 158 short pattern[16];
881+ 159 };
882+ 160
883+ 161 struct iocs_tboxptr {
884+ 162 unsigned short vram_page;
885+ 163 short x;
886+ 164 short y;
887+ 165 short x1;
888+ 166 short y1;
889+ 167 unsigned short line_style;
890+ 168 };
891+ 169
892+ 170 struct iocs_txfillptr {
893+ 171 unsigned short vram_page;
894+ 172 short x;
895+ 173 short y;
896+ 174 short x1;
897+ 175 short y1;
898+ 176 unsigned short fill_patn;
899+ 177 };
900+ 178
901+ 179 struct iocs_trevptr {
902+ 180 unsigned short vram_page;
903+ 181 short x;
904+ 182 short y;
905+ 183 short x1;
906+ 184 short y1;
907+ 185 };
908+ 186
909+ 187 struct iocs_xlineptr {
910+ 188 unsigned short vram_page;
911+ 189 short x;
912+ 190 short y;
913+ 191 short x1;
914+ 192 unsigned short line_style;
915+ 193 };
916+ 194
917+ 195 struct iocs_ylineptr {
918+ 196 unsigned short vram_page;
919+ 197 short x;
920+ 198 short y;
921+ 199 short y1;
922+ 200 unsigned short line_style;
923+ 201 };
924+ 202
925+ 203 struct iocs_tlineptr {
926+ 204 unsigned short vram_page;
927+ 205 short x;
928+ 206 short y;
929+ 207 short x1;
930+ 208 short y1;
931+ 209 unsigned short line_style;
932+ 210 };
933+ 211
934+ 212 /*
935+ 213 * for SCSI calls
936+ 214 */
937+ 215
938+ 216 struct iocs_readcap {
939+ 217 unsigned long block;
940+ 218 unsigned long size;
941+ 219 };
942+ 220
943+ 221 struct iocs_inquiry {
944+ 222 unsigned char unit;
945+ 223 unsigned char info;
946+ 224 unsigned char ver;
947+ 225 unsigned char reserve;
948+ 226 unsigned char size;
949+ 227 unsigned char buff[0]; /* actually longer */
950+ 228 };
951+ 229
952+ 230 /*
953+ 231 * arguments:
954+ 232 * dn 32bit arg -> 32bit data reg (input)
955+ 233 * an 32bit arg -> 32bit addr reg (input)
956+ 234 * odn 32bit arg -> 32bit addr (location to store dn value)
957+ 235 * dn=(num) (no C arg) -> load immediate value to the data register
958+ 236 * dn=ww two 32bit args -> (LSWord #1) << 16 | (LSWord #2)
959+ 237 * dn=bb two 32bit args -> (LSByte #1) << 8 | (LSByte #2)
960+ 238 * dn=hsv three args (H S V) -> encode HSV values in dn
961+ 239 * opts:
962+ 240 * retd2 return value is d2 of IOCS call
963+ 241 * err_d0 nonzero d0 is an error -- skip storing values
964+ 242 * noret the IOCS call never returns
965+ 243 * c_md special for IOCS_CACHE_MD
966+ 244 * b_super special for IOCS_B_SUPER
967+ 245 * sp_regst special for IOCS_SP_REGST
968+ 246 * b_curmod special for IOCS_B_CURMOD
969+ 247 * b_curpat special for IOCS_B_CURPAT
970+ 248 * b_scroll special for IOCS_B_SCROLL
971+ 249 * trap15 special for IOCS_TRAP15
972+ 250 */
973+ 251
974+ 252 /* (none) ; trap15 */ int IOCS_TRAP15(const struct iocs_regs *, struct iocs_regs *);
975+ 253 /* 00 */ int IOCS_B_KEYINP (void);
976+ 254 /* 01 */ int IOCS_B_KEYSNS (void);
977+ 255 /* 02 */ int IOCS_B_SFTSNS (void);
978+ 256 /* 04 d1 */ int IOCS_BITSNS (int);
979+ 257 /* 05 d1 */ void IOCS_SKEYSET (int);
980+ 258 /* 0c d1 */ void IOCS_TVCTRL (int);
981+ 259 /* 0d d1 d2 */ void IOCS_LEDMOD (int, int);
982+ 260 /* 0e d1 d2 */ int IOCS_TGUSEMD (int, int);
983+ 261 /* 0f d1=ww a1 */ int IOCS_DEFCHR (int, int, const void *);
984+ 262 /* 10 d1 */ int IOCS_CRTMOD (int);
985+ 263 /* 11 d1 */ int IOCS_CONTRAST (int);
986+ 264 /* 12 d1=hsv */ int __pure IOCS_HSVTORGB (int, int, int) __attribute__((const));
987+ 265 /* 13 d1 d2 */ int IOCS_TPALET (int, int);
988+ 266 /* 14 d1 d2 */ int IOCS_TPALET2 (int, int);
989+ 267 /* 15 d1 */ void IOCS_TCOLOR (int);
990+ 268 /* 19 d1=ww a1 */ int IOCS_FNTGET (int, int, struct iocs_fntbuf *);
991+ 269 /* 1a d1 d2 a1 */ void IOCS_TEXTGET (int, int, struct iocs_fntbuf *);
992+ 270 /* 1b d1 d2 a1 */ void IOCS_TEXTPUT (int, int, const struct iocs_fntbuf *);
993+ 271 /* 1c d1 d2 a1 a2 */ void IOCS_CLIPPUT (int, int, const struct iocs_fntbuf *, const struct iocs_clipxy *);
994+ 272 /* 1d d1 d2 d3 */ void IOCS_SCROLL (int, int, int);
995+ 273 /* 1e */ void IOCS_B_CURON (void);
996+ 274 /* 1f */ void IOCS_B_CUROFF (void);
997+ 275 /* 20 d1 */ int IOCS_B_PUTC (int);
998+ 276 /* 21 a1 */ int IOCS_B_PRINT (const char *);
999+ 277 /* 22 d1 */ int IOCS_B_COLOR (int);
1000+ 278 /* 23 d1 d2 */ int IOCS_B_LOCATE (int, int);
1001+ 279 /* 24 */ void IOCS_B_DOWN_S (void);
1002+ 280 /* 25 */ void IOCS_B_UP_S (void);
1003+ 281 /* 26 d1 */ void IOCS_B_UP (int);
1004+ 282 /* 27 d1 */ void IOCS_B_DOWN (int);
1005+ 283 /* 28 d1 */ void IOCS_B_RIGHT (int);
1006+ 284 /* 29 d1 */ void IOCS_B_LEFT (int);
1007+ 285 /* 2a d1=0 */ void IOCS_B_CLR_ED (void);
1008+ 286 /* 2a d1=1 */ void IOCS_B_CLR_ST (void);
1009+ 287 /* 2a d1=2 */ void IOCS_B_CLR_AL (void);
1010+ 288 /* 2b d1=0 */ void IOCS_B_ERA_ED (void);
1011+ 289 /* 2b d1=1 */ void IOCS_B_ERA_ST (void);
1012+ 290 /* 2b d1=2 */ void IOCS_B_ERA_AL (void);
1013+ 291 /* 2c d1 */ void IOCS_B_INS (int);
1014+ 292 /* 2d d1 */ void IOCS_B_DEL (int);
1015+ 293 /* 2e d1=ww d2=ww ; retd2 */ int IOCS_B_CONSOL (int, int, int, int);
1016+ 294 /* 2f d1 d2 d3 d4 a1 ; retd2 */ int IOCS_B_PUTMES (int, int, int, int, const char *);
1017+ 295 /* 30 d1 */ int IOCS_SET232C (int);
1018+ 296 /* 31 */ int IOCS_LOF232C (void);
1019+ 297 /* 32 */ int IOCS_INP232C (void);
1020+ 298 /* 33 */ int IOCS_ISNS232C (void);
1021+ 299 /* 34 */ int IOCS_OSNS232C (void);
1022+ 300 /* 35 d1 */ void IOCS_OUT232C (int);
1023+ 301 /* 3b d1 */ int IOCS_JOYGET (int);
1024+ 302 /* 3c d1=bb */ int IOCS_INIT_PRN (int, int);
1025+ 303 /* 3d */ int IOCS_SNSPRN (void);
1026+ 304 /* 3e d1 */ void IOCS_OUTLPT (int);
1027+ 305 /* 3f d1 */ void IOCS_OUTPRN (int);
1028+ 306 /* 40 d1 d2 */ int IOCS_B_SEEK (int, int);
1029+ 307 /* 41 d1 d2 d3 a1 */ int IOCS_B_VERIFY (int, int, int, const void *);
1030+ 308 /* 42 d1 d2 d3 a1 */ int IOCS_B_READDI (int, int, int, void *);
1031+ 309 /* 43 d1 a1 d2 */ int IOCS_B_DSKINI (int, const void *, int);
1032+ 310 /* 44 d1 */ int IOCS_B_DRVSNS (int);
1033+ 311 /* 45 d1 d2 d3 a1 */ int IOCS_B_WRITE (int, int, int, const void *);
1034+ 312 /* 46 d1 d2 d3 a1 */ int IOCS_B_READ (int, int, int, void *);
1035+ 313 /* 47 d1 */ int IOCS_B_RECALI (int);
1036+ 314 /* 48 d1 d2 d3 a1 */ int IOCS_B_ASSIGN (int, int, int, const void *);
1037+ 315 /* 49 d1 d2 d3 a1 */ int IOCS_B_WRITED (int, int, int, const void *);
1038+ 316 /* 4a d1 d2 od2 */ int IOCS_B_READID (int, int, void *);
1039+ 317 /* 4b d1 d2 d3 */ int IOCS_B_BADFMT (int, int, int);
1040+ 318 /* 4c d1 d2 d3 a1 */ int IOCS_B_READDL (int, int, int, void *);
1041+ 319 /* 4d d1 d2 d3 a1 */ int IOCS_B_FORMAT (int, int, int, const void *);
1042+ 320 /* 4e d1 d2 */ int IOCS_B_DRVCHK (int, int);
1043+ 321 /* 4f d1 */ int IOCS_B_EJECT (int);
1044+ 322 /* 50 d1 */ int IOCS_BINDATEBCD (int);
1045+ 323 /* 51 d1 */ void IOCS_BINDATESET (int);
1046+ 324 /* 52 d1 */ int IOCS_TIMEBCD (int);
1047+ 325 /* 53 d1 */ void IOCS_TIMESET (int);
1048+ 326 /* 54 */ int IOCS_BINDATEGET (void);
1049+ 327 /* 55 d1 */ int IOCS_DATEBIN (int);
1050+ 328 /* 56 */ int IOCS_TIMEGET (void);
1051+ 329 /* 57 d1 */ int IOCS_TIMEBIN (int);
1052+ 330 /* 58 a1 */ int IOCS_DATECNV (const char *);
1053+ 331 /* 59 a1 */ int IOCS_TIMECNV (const char *);
1054+ 332 /* 5a d1 a1 */ int IOCS_DATEASC (int, char *);
1055+ 333 /* 5b d1 a1 */ int IOCS_TIMEASC (int, char *);
1056+ 334 /* 5c d1 a1 */ void IOCS_DAYASC (int, char *);
1057+ 335 /* 5d d1 */ int IOCS_ALARMMOD (int);
1058+ 336 /* 5e d1 d2 a1 */ int IOCS_ALARMSET (int, int, int);
1059+ 337 /* 5f od1 od2 od0 */ int IOCS_ALARMGET (int *, int *, int *);
1060+ 338 /* 60 a1 d1 d2 */ void IOCS_ADPCMOUT (const void *, int, int);
1061+ 339 /* 61 a1 d1 d2 */ void IOCS_ADPCMINP (void *, int, int);
1062+ 340 /* 62 a1 d1 d2 */ void IOCS_ADPCMAOT (const struct iocs_chain *, int, int);
1063+ 341 /* 63 a1 d1 d2 */ void IOCS_ADPCMAIN (const struct iocs_chain *, int, int);
1064+ 342 /* 64 a1 d1 */ void IOCS_ADPCMLOT (const struct iocs_chain2 *, int);
1065+ 343 /* 65 a1 d1 */ void IOCS_ADPCMLIN (const struct iocs_chain2 *, int);
1066+ 344 /* 66 */ int IOCS_ADPCMSNS (void);
1067+ 345 /* 67 d1 */ void IOCS_ADPCMMOD (int);
1068+ 346 /* 68 d1 d2 */ void IOCS_OPMSET (int, int);
1069+ 347 /* 69 */ int IOCS_OPMSNS (void);
1070+ 348 /* 6a a1 */ int IOCS_OPMINTST (const void *);
1071+ 349 /* 6b a1 d1=bb */ int IOCS_TIMERDST (const void *, int, int);
1072+ 350 /* 6c a1 d1=bb */ int IOCS_VDISPST (const void *, int, int);
1073+ 351 /* 6d a1 d1 */ int IOCS_CRTCRAS (const void *, int);
1074+ 352 /* 6e a1 */ int IOCS_HSYNCST (const void *);
1075+ 353 /* 6f a1 */ int IOCS_PRNINTST (const void *);
1076+ 354 /* 70 */ void IOCS_MS_INIT (void);
1077+ 355 /* 71 */ void IOCS_MS_CURON (void);
1078+ 356 /* 72 */ void IOCS_MS_CUROF (void);
1079+ 357 /* 73 */ int IOCS_MS_STAT (void);
1080+ 358 /* 74 */ int IOCS_MS_GETDT (void);
1081+ 359 /* 75 */ int IOCS_MS_CURGT (void);
1082+ 360 /* 76 d1=ww */ int IOCS_MS_CURST (int, int);
1083+ 361 /* 77 d1=ww d2=ww */ int IOCS_MS_LIMIT (int, int, int, int);
1084+ 362 /* 78 d1 d2 */ int IOCS_MS_OFFTM (int, int);
1085+ 363 /* 79 d1 d2 */ int IOCS_MS_ONTM (int, int);
1086+ 364 /* 7a d1 a1 */ void IOCS_MS_PATST (int, const struct iocs_patst *);
1087+ 365 /* 7b d1 */ void IOCS_MS_SEL (int);
1088+ 366 /* 7c a1 */ void IOCS_MS_SEL2 (const short *);
1089+ 367 /* 7d d1 d2=ww */ int IOCS_SKEY_MOD (int, int, int);
1090+ 368 /* 7e */ void IOCS_DENSNS (void);
1091+ 369 /* 7f */ int IOCS_ONTIME (void);
1092+ 370 /* 80 d1 a1 */ int IOCS_B_INTVCS (int, int);
1093+ 371 /* 81 ; b_super */ int IOCS_B_SUPER (int);
1094+ 372 /* 82 a1 */ int IOCS_B_BPEEK (const void *);
1095+ 373 /* 83 a1 */ int IOCS_B_WPEEK (const void *);
1096+ 374 /* 84 a1 */ int IOCS_B_LPEEK (const void *);
1097+ 375 /* 85 a1 a2 d1 */ void IOCS_B_MEMSTR (const void *, void *, int);
1098+ 376 /* 86 a1 d1 */ void IOCS_B_BPOKE (void *, int);
1099+ 377 /* 87 a1 d1 */ void IOCS_B_WPOKE (void *, int);
1100+ 378 /* 88 a1 d1 */ void IOCS_B_LPOKE (void *, int);
1101+ 379 /* 89 a1 a2 d1 */ void IOCS_B_MEMSET (void *, const void *, int);
1102+ 380 /* 8a a1 a2 d1 d2 */ void IOCS_DMAMOVE (void *, void *, int, int);
1103+ 381 /* 8b a1 a2 d1 d2 */ void IOCS_DMAMOV_A (const struct iocs_chain *, void *, int, int);
1104+ 382 /* 8c a1 a2 d1 */ void IOCS_DMAMOV_L (const struct iocs_chain2 *, void *, int);
1105+ 383 /* 8d */ int IOCS_DMAMODE (void);
1106+ 384 /* 8e */ int __pure IOCS_BOOTINF (void) __attribute__((const));
1107+ 385 /* 8f */ int __pure IOCS_ROMVER (void) __attribute__((const));
1108+ 386 /* 90 */ void IOCS_G_CLR_ON (void);
1109+ 387 /* 94 d1 d2 */ int IOCS_GPALET (int, int);
1110+ 388 /* a0 d1 */ int __pure IOCS_SFTJIS (int) __attribute__((const));
1111+ 389 /* a1 d1 */ int __pure IOCS_JISSFT (int) __attribute__((const));
1112+ 390 /* a2 d1=ww */ int __pure IOCS_AKCONV (int, int) __attribute__((const));
1113+ 391 /* a3 d1 a1 a2 */ int IOCS_RMACNV (int, char *, char *);
1114+ 392 /* a4 a1 */ int IOCS_DAKJOB (char *);
1115+ 393 /* a5 a1 */ int IOCS_HANJOB (char *);
1116+ 394 /* ac d1=0 */ int IOCS_MPU_STAT (void); /* ROM 1.3 only */
1117+ 395 /* ac d1=1 */ int IOCS_CACHE_ST (void); /* ROM 1.3 only */
1118+ 396 /* ac d1=3 d2 ; c_md */ int IOCS_CACHE_MD (int); /* ROM 1.3 only */
1119+ 397 /* ad d1 ; b_curmod */ void IOCS_B_CURMOD (int); /*1.3/IOCS.X*/
1120+ 398 /* ad d1=2 d2 ; b_curpat */ void IOCS_B_CURPAT (int); /*1.3/IOCS.X*/
1121+ 399 /* ad d1=2 d2=0 */ void IOCS_B_CURPAT1 (void); /*1.3/IOCS.X*/
1122+ 400 /* ad d1=3 d2 */ void IOCS_B_CURDEF (void *); /*1.3/IOCS.X*/
1123+ 401 /* ad d1=16 d2 ; b_scroll */ void IOCS_B_SCROLL (int); /*1.3/IOCS.X*/
1124+ 402 /* ae */ void IOCS_OS_CURON (void);
1125+ 403 /* af */ void IOCS_OS_CUROF (void);
1126+ 404 /* b0 d1 */ int IOCS_DRAWMODE (int); /* ROM 1.3, IOCS.X */
1127+ 405 /* b1 d1 */ int IOCS_APAGE (int);
1128+ 406 /* b2 d1 */ int IOCS_VPAGE (int);
1129+ 407 /* b3 d1 d2 d3 */ int IOCS_HOME (int, int, int);
1130+ 408 /* b4 d1 d2 d3 d4 */ int IOCS_WINDOW (int, int, int, int);
1131+ 409 /* b5 */ int IOCS_WIPE (void);
1132+ 410 /* b6 a1 */ int IOCS_PSET (const struct iocs_psetptr *);
1133+ 411 /* b7 a1 */ int IOCS_POINT (const struct iocs_pointptr *);
1134+ 412 /* b8 a1 */ int IOCS_LINE (const struct iocs_lineptr *);
1135+ 413 /* b9 a1 */ int IOCS_BOX (const struct iocs_boxptr *);
1136+ 414 /* ba a1 */ int IOCS_FILL (const struct iocs_fillptr *);
1137+ 415 /* bb a1 */ int IOCS_CIRCLE (const struct iocs_circleptr *);
1138+ 416 /* bc a1 */ int IOCS_PAINT (struct iocs_paintptr *);
1139+ 417 /* bd a1 */ int IOCS_SYMBOL (const struct iocs_symbolptr *);
1140+ 418 /* be a1 */ int IOCS_GETGRM (struct iocs_getptr *);
1141+ 419 /* bf a1 */ int IOCS_PUTGRM (const struct iocs_putptr *);
1142+ 420 /* c0 */ int IOCS_SP_INIT (void);
1143+ 421 /* c1 */ int IOCS_SP_ON (void);
1144+ 422 /* c2 */ void IOCS_SP_OFF (void);
1145+ 423 /* c3 d1 */ int IOCS_SP_CGCLR (int);
1146+ 424 /* c4 d1 d2 a1 */ int IOCS_SP_DEFCG (int, int, const void *);
1147+ 425 /* c5 d1 d2 a1 */ int IOCS_SP_GTPCG (int, int, void *);
1148+ 426
1149+ 427 /*
1150+ 428 * XXX SP_REGST in XC iocslib: args: int, int, int, int, int
1151+ 429 * (c6 d1 d2 d3 d4 d5)
1152+ 430 * XC manual and PD libc: args: int, int, int, int, int, int
1153+ 431 * (c6 d0 d1 d2 d3 d4 d5 ; sp_regst)
1154+ 432 * we use the latter interface...
1155+ 433 */
1156+ 434 /* c6 d0 d1 d2 d3 d4 d5 ; sp_regst */ int IOCS_SP_REGST (int, int, int, int, int, int);
1157+ 435 /* c7 d1 od2 od3 od4 od5 ; err_d0 */ int IOCS_SP_REGGT (int, int *, int *, int *, int *);
1158+ 436 /* c8 d1 d2 d3 */ int IOCS_BGSCRLST (int, int, int);
1159+ 437 /* c9 d1 od2 od3 ; err_d0 */ int IOCS_BGSCRLGT (int, int *, int *);
1160+ 438 /* ca d1 d2 d3 */ int IOCS_BGCTRLST (int, int, int);
1161+ 439 /* cb d1 */ int IOCS_BGCTRLGT (int);
1162+ 440 /* cc d1 d2 */ int IOCS_BGTEXTCL (int, int);
1163+ 441 /* cd d1 d2 d3 d4 */ int IOCS_BGTEXTST (int, int, int, int);
1164+ 442 /* ce d1 d2 d3 */ int IOCS_BGTEXTGT (int, int, int);
1165+ 443 /* cf d1 d2 d3 */ int IOCS_SPALET (int, int, int);
1166+ 444 /* d3 a1 */ void IOCS_TXXLINE (const struct iocs_xlineptr *);
1167+ 445 /* d4 a1 */ void IOCS_TXYLINE (const struct iocs_ylineptr *);
1168+ 446 /* d5 a1 */ void IOCS_TXLINE (struct iocs_tlineptr); /* 1.3, IOCS.X */
1169+ 447 /* d6 a1 */ void IOCS_TXBOX (const struct iocs_tboxptr *);
1170+ 448 /* d7 a1 */ void IOCS_TXFILL (const struct iocs_txfillptr *);
1171+ 449 /* d8 a1 */ void IOCS_TXREV (const struct iocs_trevptr *);
1172+ 450 /* df d1 d2 d3 */ void IOCS_TXRASCPY (int, int, int);
1173+ 451 /* fd */ void IOCS_ABORTRST (void);
1174+ 452 /* fe ; noret */ __dead void IOCS_IPLERR (void);
1175+ 453 /* ff ; noret */ __dead void IOCS_ABORTJOB (void);
1176+ 454
1177+ 455 /* SCSI calls */
1178+ 456 /* f5 d1=0 */ void IOCS_S_RESET (void);
1179+ 457 /* f5 d1=1 d4 */ int IOCS_S_SELECT (int);
1180+ 458 /* f5 d1=3 d3 a1 */ int IOCS_S_CMDOUT (int, void *);
1181+ 459 /* f5 d1=4 d3 a1 */ int IOCS_S_DATAIN (int, void *);
1182+ 460 /* f5 d1=5 d3 a1 */ int IOCS_S_DATAOUT (int, void *);
1183+ 461 /* f5 d1=6 a1 */ int IOCS_S_STSIN (void *);
1184+ 462 /* f5 d1=7 a1 */ int IOCS_S_MSGIN (void *);
1185+ 463 /* f5 d1=8 a1 */ int IOCS_S_MSGOUT (void *);
1186+ 464 /* f5 d1=9 */ int IOCS_S_PHASE (void);
1187+ 465 /* f5 d1=32 d3 d4 a1 */ int IOCS_S_INQUIRY (int, int, struct iocs_inquiry *);
1188+ 466 /* f5 d1=33 d2 d3 d4 d5 a1 */ int IOCS_S_READ (int, int, int, int, void *);
1189+ 467 /* f5 d1=34 d2 d3 d4 d5 a1 */ int IOCS_S_WRITE (int, int, int, int, void *);
1190+ 468 /* f5 d1=35 d3 d4 */ int IOCS_S_FORMAT (int, int);
1191+ 469 /* f5 d1=36 d4 */ int IOCS_S_TESTUNIT (int);
1192+ 470 /* f5 d1=37 d4 a1 */ int IOCS_S_READCAP (int, struct iocs_readcap *);
1193+ 471 /* f5 d1=38 d2 d3 d4 d5 a1 */ int IOCS_S_READEXT (int, int, int, int, void *);
1194+ 472 /* f5 d1=39 d2 d3 d4 d5 a1 */ int IOCS_S_WRITEEXT (int, int, int, int, void *);
1195+ 473 /* f5 d1=43 d4 */ int IOCS_S_REZEROUNIT (int);
1196+ 474 /* f5 d1=44 d3 d4 a1 */ int IOCS_S_REQUEST (int, int, void *);
1197+ 475 /* f5 d1=45 d2 d4 */ int IOCS_S_SEEK (int, int);
1198+ 476 /* f5 d1=47 d3 d4 */ int IOCS_S_STARTSTOP (int, int);
1199+ 477 /* f5 d1=49 d3 d4 a1 */ int IOCS_S_REASSIGN (int, int, void *);
1200+ 478 /* f5 d1=50 d3 d4 */ int IOCS_S_PAMEDIUM (int, int);
1201+ 479
1202+ 480 #endif /* __X68K_IOCS_H__ */
1203+--------
1204+
1205+{
7211206 -----------------------
7221207 iocs CALL Manual
7231208 -----------------------