Lines Matching +full:0 +full:xe8000

77 #  0x250, 0x260 or 0x270.  This port can be disabled to have the card
96 # to obtain one with the command `pnpdump 1 0x203' -- this may vary
107 # io base 0x210, irq 5 and mem 0xd8000, and also sets the Kurzweil
108 # synth to 0x330 and irq 9 (may need editing for your system):
110 # (READPORT 0x0203)
115 # (CONFIGURE BVJ0440/-1 (LD 0
116 # (INT 0 (IRQ 5 (MODE +E))) (IO 0 (BASE 0x0210)) (MEM 0 (BASE 0x0d8000))
121 # (IO 0 (BASE 0x0330)) (INT 0 (IRQ 9 (MODE +E)))
140 # If you specify cfg=0x250 for the snd-msnd-pinnacle module, it
143 # on the card to 0x250, 0x260 or 0x270).
162 # insmod snd-msnd-classic io=0x290 irq=7 mem=0xd0000
169 # insmod snd-msnd-pinnacle io=0x210 irq=5 mem=0xd8000 <-- match mypinnacle.conf values
171 # * MultiSound Pinnacle in non-PnP mode (replace 0x250 with your configuration port,
172 # one of 0x250, 0x260 or 0x270):
176 # insmod snd-msnd-pinnacle cfg=0x250 io=0x290 irq=5 mem=0xd0000
182 # insmod mpu401 io=0x330 irq=9 <-- match mypinnacle.conf values
189 # pinnaclecfg 0x250 mpu 0x330 9
190 # insmod mpu401 io=0x330 irq=9
196 # insmod snd-msnd-pinnacle cfg=0x250 io=0x290 irq=5 mem=0xd0000 mpu_io=0x330 mpu_irq=9
198 # insmod mpu401 io=0x330 irq=9
204 # pinnaclecfg 0x250 joystick 0x200
210 # insmod snd-msnd-pinnacle cfg=0x250 io=0x290 irq=5 mem=0xd0000 joystick_io=0x200
221 # io I/O base of DSP, e.g. io=0x210
223 # mem Shared memory area, e.g. mem=0xd8000
260 # and Fiji (typically 0x250, 0x260 or 0x270,
492 X if ((fd = open(argv[1], O_RDWR)) < 0) {
497 X if (ioctl(fd, SOUND_MIXER_READ_RECMASK, &recmask) < 0) {
510 X if (ioctl(fd, SOUND_MIXER_READ_RECSRC, &recsrc) < 0) {
519 X if (ioctl(fd, SOUND_MIXER_WRITE_RECSRC, &recsrc) < 0) {
528 X return 0;
588 #define IREG_LOGDEVICE 0x07
589 #define IREG_ACTIVATE 0x30
590 #define LD_ACTIVATE 0x01
591 #define LD_DISACTIVATE 0x00
592 #define IREG_EECONTROL 0x3F
593 #define IREG_MEMBASEHI 0x40
594 #define IREG_MEMBASELO 0x41
595 #define IREG_MEMCONTROL 0x42
596 #define IREG_MEMRANGEHI 0x43
597 #define IREG_MEMRANGELO 0x44
598 #define MEMTYPE_8BIT 0x00
599 #define MEMTYPE_16BIT 0x02
600 #define MEMTYPE_RANGE 0x00
601 #define MEMTYPE_HIADDR 0x01
602 #define IREG_IO0_BASEHI 0x60
603 #define IREG_IO0_BASELO 0x61
604 #define IREG_IO1_BASEHI 0x62
605 #define IREG_IO1_BASELO 0x63
606 #define IREG_IRQ_NUMBER 0x70
607 #define IREG_IRQ_TYPE 0x71
608 #define IRQTYPE_HIGH 0x02
609 #define IRQTYPE_LOW 0x00
610 #define IRQTYPE_LEVEL 0x01
611 #define IRQTYPE_EDGE 0x00
613 #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF))
631 X return 0;
648 X return 0;
659 X return 0;
670 X return 0;
681 X return 0;
692 X return 0;
702 X return 0;
710 X mem &= 0xfff;
720 X return 0;
732 X return 0;
741 X return 0;
758 X return 0;
773 X return 0;
805 X for (i = 0; i < 4; ++i)
806 X msnd_write_cfg_logical(config_port, i, 0, 0, 0, 0);
808 X return 0;
814 X int count = 0;
816 X for (i = 0; i < 4; ++i) {
821 X case 0:
823 X printf("dsp 0x%x %d 0x%x\n", io0, irq, mem);
829 X printf("mpu 0x%x %d\n", io0, irq);
835 X printf("ide 0x%x 0x%x %d\n", io0, io1, irq);
841 X printf("joystick 0x%x\n", io0);
848 X if (count == 0)
851 X return 0;
859 X sscanf(argv[0], "0x%x", &io) != 1 ||
861 X sscanf(argv[2], "0x%x", &mem) != 1)
864 X if (!(io == 0x290 ||
865 X io == 0x260 ||
866 X io == 0x250 ||
867 X io == 0x240 ||
868 X io == 0x230 ||
869 X io == 0x220 ||
870 X io == 0x210 ||
871 X io == 0x3e0)) {
888 X if (!(mem == 0xb0000 ||
889 X mem == 0xc8000 ||
890 X mem == 0xd0000 ||
891 X mem == 0xd8000 ||
892 X mem == 0xe0000 ||
893 X mem == 0xe8000)) {
895 X "0xb0000, 0xc8000, 0xd0000, 0xd8000, 0xe0000 or 0xe8000\n");
899 X return msnd_write_cfg_logical(config_port, 0, io, 0, irq, mem);
907 X sscanf(argv[0], "0x%x", &io) != 1 ||
911 X return msnd_write_cfg_logical(config_port, 1, io, 0, irq, 0);
919 X sscanf(argv[0], "0x%x", &io0) != 1 ||
920 X sscanf(argv[0], "0x%x", &io1) != 1 ||
924 X return msnd_write_cfg_logical(config_port, 2, io0, io1, irq, 0);
932 X sscanf(argv[0], "0x%x", &io) != 1)
935 X return msnd_write_cfg_logical(config_port, 3, io, 0, 0, 0);
941 X int rv = 0;
948 X sscanf(argv[0], "0x%x", &config_port);
949 X if (config_port != 0x250 && config_port != 0x260 && config_port != 0x270) {
950 X fprintf(stderr, "error: <config port> must be 0x250, 0x260 or 0x270\n");
962 X if (strcmp(device, "reset") == 0)
964 X else if (strcmp(device, "show") == 0)
966 X else if (strcmp(device, "dsp") == 0)
968 X else if (strcmp(device, "mpu") == 0)
970 X else if (strcmp(device, "ide") == 0)
972 X else if (strcmp(device, "joystick") == 0)
982 X return 0;
1040 [0-9A-Fa-f]+H { int n; sscanf(yytext, "%xH", &n); printf("%c", n); }
1106 X if ((fd = open(argv[1], O_RDWR)) < 0) {
1111 X if (ioctl(fd, SOUND_MIXER_PRIVATE1, 0) < 0) {
1120 X return 0;
1139 exit 0