Subversion Repositories Kolibri OS

Rev

Rev 9995 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9995 Rev 10010
Line 1275... Line 1275...
1275
---------------------- Constants for registers: ----------------------
1275
---------------------- Constants for registers: ----------------------
1276
  eax - SF_SYSTEM (18)
1276
  eax - SF_SYSTEM (18)
1277
  ebx - SSF_WINDOW_BEHAVIOR (25)
1277
  ebx - SSF_WINDOW_BEHAVIOR (25)
1278
  ecx - SSSF_GET_WB (1), SSSF_SET_WB (2)
1278
  ecx - SSSF_GET_WB (1), SSSF_SET_WB (2)
1279
======================================================================
1279
======================================================================
1280
==================== Function 20 - MIDI interface. ===================
-
 
1281
======================================================================
-
 
1282
 
-
 
1283
!!! WARNING. This interface is outdated and should not be used !!!
-
 
1284
 
-
 
1285
----------------------- Subfunction 1 - reset ------------------------
-
 
1286
Parameters:
-
 
1287
  * eax = 20 - function number
-
 
1288
  * ebx = 1 - subfunction number
-
 
1289
 
-
 
1290
-------------------- Subfunction 2 - output byte ---------------------
-
 
1291
Parameters:
-
 
1292
  * eax = 20 - function number
-
 
1293
  * ebx = 2 - subfunction number
-
 
1294
  * cl = byte for output
-
 
1295
Returned value (is the same for both subfunctions):
-
 
1296
  * eax = 0 - success
-
 
1297
  * eax = 1 - base port is not defined
-
 
1298
Remarks:
-
 
1299
  * Previously the base port must be defined by
-
 
1300
    subfunction 1 of function 21.
-
 
1301
 
-
 
1302
---------------------- Constants for registers: ----------------------
-
 
1303
  eax - SF_MIDI (20)
-
 
1304
  ebx - SSF_RESET (1), SSF_OUTPUT (2)
-
 
1305
======================================================================
-
 
1306
======== Function 21, subfunction 1 - set MPU MIDI base port. ========
-
 
1307
======================================================================
-
 
1308
 
-
 
1309
!!! WARNING. This interface is outdated and should not be used !!!
-
 
1310
 
-
 
1311
Parameters:
-
 
1312
  * eax = 21 - function number
-
 
1313
  * ebx = 1 - subfunction number
-
 
1314
  * ecx = number of base port
-
 
1315
Returned value
-
 
1316
  * eax = 0 - success
-
 
1317
  * eax = -1 - erratic number of a port
-
 
1318
Remarks:
-
 
1319
  * Number of a port must satisfy to conditions 0x100<=ecx<=0xFFFF.
-
 
1320
  * The installation of base is necessary for function 20.
-
 
1321
  * To get base port use subfunction 1 of function 26.
-
 
1322
 
-
 
1323
---------------------- Constants for registers: ----------------------
-
 
1324
  eax - SF_SYSTEM_SET (21)
-
 
1325
  ebx - SSF_MPU_MIDI_BASE (1)
-
 
1326
======================================================================
-
 
1327
========== Function 21, subfunction 2 - set keyboard layout. =========
1280
========== Function 21, subfunction 2 - set keyboard layout. =========
1328
======================================================================
1281
======================================================================
1329
Keyboard layout is used to convert keyboard scancodes to ASCII-codes,
1282
Keyboard layout is used to convert keyboard scancodes to ASCII-codes,
1330
which will be read by function 2.
1283
which will be read by function 2.
1331
Parameters:
1284
Parameters:
Line 1549... Line 1502...
1549
    background image f.15. Options f.15 to f.25 does not make sense.
1502
    background image f.15. Options f.15 to f.25 does not make sense.
Line 1550... Line 1503...
1550
 
1503
 
1551
---------------------- Constants for registers: ----------------------
1504
---------------------- Constants for registers: ----------------------
1552
  eax - SF_SCREEN_PUT_IMAGE (25)
1505
  eax - SF_SCREEN_PUT_IMAGE (25)
1553
======================================================================
-
 
1554
======== Function 26, subfunction 1 - get MPU MIDI base port. ========
-
 
1555
======================================================================
-
 
1556
 
-
 
1557
!!! WARNING. This interface is outdated and should not be used !!!
-
 
1558
 
-
 
1559
Parameters:
-
 
1560
  * eax = 26 - function number
-
 
1561
  * ebx = 1 - subfunction number
-
 
1562
Returned value:
-
 
1563
  * eax = port number
-
 
1564
Parameters:
-
 
1565
  * To set base port use subfunction 1 of function 21.
-
 
1566
 
-
 
1567
---------------------- Constants for registers: ----------------------
-
 
1568
  eax - SF_SYSTEM_GET (26)
-
 
1569
  ebx - SSF_MPU_MIDI_BASE (1)
-
 
1570
======================================================================
1506
======================================================================
1571
========== Function 26, subfunction 2 - get keyboard layout. =========
1507
========== Function 26, subfunction 2 - get keyboard layout. =========
1572
======================================================================
1508
======================================================================
1573
The keyboard layout is used to convert keyboard scancodes to
1509
The keyboard layout is used to convert keyboard scancodes to
1574
ASCII-codes for function 2.
1510
ASCII-codes for function 2.