Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7707 Alex2003 1
2
xmlns:o="urn:schemas-microsoft-com:office:office"
3
xmlns:w="urn:schemas-microsoft-com:office:word"
4
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"
5
xmlns="http://www.w3.org/TR/REC-html40">
6
 
7
8
9
10
11
12
13
31
32
33
332
418
448
449
 
450
451
 
452
453
 
454

Back to main

457
 
458

 

461
 
462

Function 20

465
and its subfunctions - MIDI interface

466
 
467

 

470
 
471

473
lang=EN-US style='font-size:14.0pt;font-family:"Arial","sans-serif";mso-ansi-language:
474
EN-US'>Subfunction
475
lang=EN-US style='font-size:14.0pt;font-family:"Arial","sans-serif";mso-ansi-language:
476
EN-US'> 1 - reset

477
 
478

Options:

481
 
482

  * eax =

485
20 - function number

486
 
487

  * ebx = 1

490
- number of subfunction

491
 
492

 

495
 
496

498
lang=EN-US style='font-size:14.0pt;font-family:"Arial","sans-serif";mso-ansi-language:
499
EN-US'>Subfunction
500
lang=EN-US style='font-size:14.0pt;font-family:"Arial","sans-serif";mso-ansi-language:
501
EN-US'> 2 - output bytes

502
 
503

Options:

506
 
507

  * eax = 20

510
- function number

511
 
512

  * ebx = 2

515
- subfunction number

516
 
517

  * cl = byte for output

520
 
521

Return value (the same for both subfunctions):

524
 
525

  * eax = 0

528
- successful

529
 
530

  * eax = 1

533
- the base port is not defined

534
 
535

 

538
 
539

Remarks:

542
 
543

  The base port must

546
first be defined by calling subfunction 1 of function
547
21.

548
 
549

 

552
 
553

Constants for registers:

556
 
557

  eax -

560
SF_MIDI (20)

561
 
562

  ebx -

565
SSF_RESET (1), SSF_OUTPUT (2)

566
 
567

 

570
 
571

 

574
 
575
576
 
577
578
 
579