Rev 9964 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9964 | Rev 9995 | ||
---|---|---|---|
Line 870... | Line 870... | ||
870 | eax - SF_SYSTEM (18) |
870 | eax - SF_SYSTEM (18) |
871 | ebx - SSF_MINIMIZE_WINDOW (10) |
871 | ebx - SSF_MINIMIZE_WINDOW (10) |
872 | ====================================================================== |
872 | ====================================================================== |
873 | Function 18, subfunction 11 - get information on the disk subsystem. |
873 | Function 18, subfunction 11 - get information on the disk subsystem. |
874 | ====================================================================== |
874 | ====================================================================== |
- | 875 | ||
- | 876 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 877 | ||
875 | Parameters: |
878 | Parameters: |
876 | * eax = 18 - function number |
879 | * eax = 18 - function number |
877 | * ebx = 11 - subfunction number |
880 | * ebx = 11 - subfunction number |
878 | * ecx = type of the table: |
881 | * ecx = type of the table: |
879 | * 1 = short version, 16 bytes |
882 | * 1 = short version, 16 bytes |
Line 1275... | Line 1278... | ||
1275 | ecx - SSSF_GET_WB (1), SSSF_SET_WB (2) |
1278 | ecx - SSSF_GET_WB (1), SSSF_SET_WB (2) |
1276 | ====================================================================== |
1279 | ====================================================================== |
1277 | ==================== Function 20 - MIDI interface. =================== |
1280 | ==================== Function 20 - MIDI interface. =================== |
1278 | ====================================================================== |
1281 | ====================================================================== |
Line -... | Line 1282... | ||
- | 1282 | ||
- | 1283 | !!! WARNING. This interface is outdated and should not be used !!! |
|
1279 | 1284 | ||
1280 | ----------------------- Subfunction 1 - reset ------------------------ |
1285 | ----------------------- Subfunction 1 - reset ------------------------ |
1281 | Parameters: |
1286 | Parameters: |
1282 | * eax = 20 - function number |
1287 | * eax = 20 - function number |
Line 1298... | Line 1303... | ||
1298 | eax - SF_MIDI (20) |
1303 | eax - SF_MIDI (20) |
1299 | ebx - SSF_RESET (1), SSF_OUTPUT (2) |
1304 | ebx - SSF_RESET (1), SSF_OUTPUT (2) |
1300 | ====================================================================== |
1305 | ====================================================================== |
1301 | ======== Function 21, subfunction 1 - set MPU MIDI base port. ======== |
1306 | ======== Function 21, subfunction 1 - set MPU MIDI base port. ======== |
1302 | ====================================================================== |
1307 | ====================================================================== |
- | 1308 | ||
- | 1309 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 1310 | ||
1303 | Parameters: |
1311 | Parameters: |
1304 | * eax = 21 - function number |
1312 | * eax = 21 - function number |
1305 | * ebx = 1 - subfunction number |
1313 | * ebx = 1 - subfunction number |
1306 | * ecx = number of base port |
1314 | * ecx = number of base port |
1307 | Returned value |
1315 | Returned value |
Line 1473... | Line 1481... | ||
1473 | ---------------------- Constants for registers: ---------------------- |
1481 | ---------------------- Constants for registers: ---------------------- |
1474 | eax - SF_WAIT_EVENT_TIMEOUT (23) |
1482 | eax - SF_WAIT_EVENT_TIMEOUT (23) |
1475 | ====================================================================== |
1483 | ====================================================================== |
1476 | ======= Function 24, subfunction 4 - eject tray of disk drive. ======= |
1484 | ======= Function 24, subfunction 4 - eject tray of disk drive. ======= |
1477 | ====================================================================== |
1485 | ====================================================================== |
- | 1486 | ||
- | 1487 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 1488 | ||
1478 | Parameters: |
1489 | Parameters: |
1479 | * eax = 24 - function number |
1490 | * eax = 24 - function number |
1480 | * ebx = 4 - subfunction number |
1491 | * ebx = 4 - subfunction number |
1481 | * ecx = position of CD/DVD-drive |
1492 | * ecx = position of CD/DVD-drive |
1482 | from 0=Primary Master to 3=Secondary Slave for first IDE contr. |
1493 | from 0=Primary Master to 3=Secondary Slave for first IDE contr. |
Line 1496... | Line 1507... | ||
1496 | eax - SF_CD (24) |
1507 | eax - SF_CD (24) |
1497 | ebx - SSF_EJECT_TRAY (4), SSF_INSERT_TRAY (5) |
1508 | ebx - SSF_EJECT_TRAY (4), SSF_INSERT_TRAY (5) |
1498 | ====================================================================== |
1509 | ====================================================================== |
1499 | ======== Function 24, subfunction 5 - load tray of disk drive. ======= |
1510 | ======== Function 24, subfunction 5 - load tray of disk drive. ======= |
1500 | ====================================================================== |
1511 | ====================================================================== |
- | 1512 | ||
- | 1513 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 1514 | ||
1501 | Parameters: |
1515 | Parameters: |
1502 | * eax = 24 - function number |
1516 | * eax = 24 - function number |
1503 | * ebx = 5 - subfunction number |
1517 | * ebx = 5 - subfunction number |
1504 | * ecx = position of CD/DVD-drive |
1518 | * ecx = position of CD/DVD-drive |
1505 | from 0=Primary Master to 3=Secondary Slave for first IDE contr. |
1519 | from 0=Primary Master to 3=Secondary Slave for first IDE contr. |
Line 1537... | Line 1551... | ||
1537 | ---------------------- Constants for registers: ---------------------- |
1551 | ---------------------- Constants for registers: ---------------------- |
1538 | eax - SF_SCREEN_PUT_IMAGE (25) |
1552 | eax - SF_SCREEN_PUT_IMAGE (25) |
1539 | ====================================================================== |
1553 | ====================================================================== |
1540 | ======== Function 26, subfunction 1 - get MPU MIDI base port. ======== |
1554 | ======== Function 26, subfunction 1 - get MPU MIDI base port. ======== |
1541 | ====================================================================== |
1555 | ====================================================================== |
- | 1556 | ||
- | 1557 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 1558 | ||
1542 | Parameters: |
1559 | Parameters: |
1543 | * eax = 26 - function number |
1560 | * eax = 26 - function number |
1544 | * ebx = 1 - subfunction number |
1561 | * ebx = 1 - subfunction number |
1545 | Returned value: |
1562 | Returned value: |
1546 | * eax = port number |
1563 | * eax = port number |
Line 2073... | Line 2090... | ||
2073 | function call, not on moment of event arrival. |
2090 | function call, not on moment of event arrival. |
Line 2074... | Line 2091... | ||
2074 | 2091 | ||
2075 | ---------------------- Constants for registers: ---------------------- |
2092 | ---------------------- Constants for registers: ---------------------- |
2076 | eax - SF_SET_EVENTS_MASK (40) |
2093 | eax - SF_SET_EVENTS_MASK (40) |
2077 | ====================================================================== |
- | |
2078 | ================ Function 43 - input/output to a port. =============== |
- | |
2079 | ====================================================================== |
- | |
2080 | - | ||
2081 | ------------------------ Output data to port ------------------------- |
- | |
2082 | Parameters: |
- | |
2083 | * eax = 43 - function number |
- | |
2084 | * bl = byte for output |
- | |
2085 | * ecx = port number 0xnnnn (from 0 to 0xFFFF) |
- | |
2086 | Returned value: |
- | |
2087 | * eax = 0 - success |
- | |
2088 | * eax = 1 - the thread has not reserved the selected port |
- | |
2089 | - | ||
2090 | ------------------------ Input data from port ------------------------ |
- | |
2091 | Parameters: |
- | |
2092 | * eax = 43 - function number |
- | |
2093 | * ebx is ignored |
- | |
2094 | * ecx = 0x8000nnnn, where nnnn = port number (from 0 to 0xFFFF) |
- | |
2095 | Returned value: |
- | |
2096 | * eax = 0 - success, thus ebx = entered byte |
- | |
2097 | * eax = 1 - the thread has not reserved the selected port |
- | |
2098 | Remarks: |
- | |
2099 | * Previously the thread must reserve the selected port |
- | |
2100 | for itself by function 46. |
- | |
2101 | * Instead of call to this function it is better to use |
- | |
2102 | processor instructions in/out - this is much |
- | |
2103 | faster and a bit shorter and easier. |
- | |
2104 | - | ||
2105 | ---------------------- Constants for registers: ---------------------- |
- | |
2106 | eax - SF_PORT_IN_OUT (43) |
- | |
2107 | ====================================================================== |
2094 | ====================================================================== |
2108 | ====== Function 46 - reserve/free a group of input/output ports. ===== |
2095 | ====== Function 46 - reserve/free a group of input/output ports. ===== |
2109 | ====================================================================== |
2096 | ====================================================================== |
2110 | To work with reserved ports an application can access directly by |
- | |
2111 | commands in/out (recommended way) and can use function 43 |
2097 | To work with reserved ports an application can access directly by |
2112 | (not recommended way). |
2098 | commands in/out . |
2113 | Parameters: |
2099 | Parameters: |
2114 | * eax = 46 - function number |
2100 | * eax = 46 - function number |
2115 | * ebx = 0 - reserve, 1 - free |
2101 | * ebx = 0 - reserve, 1 - free |
2116 | * ecx = start port number |
2102 | * ecx = start port number |
Line 2985... | Line 2971... | ||
2985 | eax - SF_BOARD (63) |
2971 | eax - SF_BOARD (63) |
2986 | ebx - SSF_DEBUG_WRITE (1), SSF_DEBUG_READ (2) |
2972 | ebx - SSF_DEBUG_WRITE (1), SSF_DEBUG_READ (2) |
2987 | ====================================================================== |
2973 | ====================================================================== |
2988 | ============== Function 64 - resize application memory. ============== |
2974 | ============== Function 64 - resize application memory. ============== |
2989 | ====================================================================== |
2975 | ====================================================================== |
- | 2976 | ||
- | 2977 | !!! WARNING. This interface is outdated and should not be used !!! |
|
- | 2978 | ||
2990 | Parameters: |
2979 | Parameters: |
2991 | * eax = 64 - function number |
2980 | * eax = 64 - function number |
2992 | * ebx = 1 - unique subfunction |
2981 | * ebx = 1 - unique subfunction |
2993 | * ecx = new memory size |
2982 | * ecx = new memory size |
2994 | Returned value: |
2983 | Returned value: |