User interface:
0. Define and draw the window.
2. Get the code of the pressed key.
8. Define/delete the button.
Events
10. Wait for event.
11. Check for event, no wait.
17. Get the identifier of the pressed button.
23. Wait for event with timeout.
37. Get coordinates/status of the mouse.
40. Set the mask for expected events.
66. Work with keyboard.
67. Change position/sizes of window.
71. Window settings.
1. Set window caption.
Graphics:
1. Put pixel in the window.
4. Draw text string in the window.
7. Draw image in the window.
12. Begin/end window redraw.
13. Draw a rectangle in the window.
14. Get screen size.
15. Set background.
1. Set size of the background image.
2. Put pixel on the background image.
3. Redraw background.
4. Set drawing mode for the background.
5. Put block of pixels on the background image.
35. Get screen pixel.
38. Draw line.
39. Get background.
1. Get sizes of background image.
2. Get pixel from background image.
4. Get drawing mode of background.
47. Draw number.
48. Parameters of graphics.
0 = Apply installed parameters.
1 = Set buttons style.
2 = Set standard window colors.
3 = Get standard window colors.
4 = Get skin height.
5 = Get screen working area.
6 = Set screen working area.
7 = Get screen margins.
8 = Set used skin.
50. Set window shape.
61. Direct access to graphics.
Work with system:
3. Get system time.
16. Save ramdisk on a floppy.
18. System service.
1. System shutdown.
2. Terminate process/thread by the slot.
3. Make the given window active.
4. Get CPU idle time.
5. Get CPU clock rate.
6. Save ramdisk on a hard drive.
7. Get active window.
8. Enable/disable internal speaker.
9. System shutdown without exit menu.
10. Minimize application window.
11. Get information on the disk subsystem.
12. Reserved (returns 0).
13. Get kernel version.
14. Wait for screen retrace.
15. Center mouse cursor on the screen.
16. Get size of free RAM.
17. Get total amount of RAM.
18. Terminate process/thread by the identifier.
19. Get/set mouse features.
21. Set system parameters.
1. Set MPU MIDI base.
2. Set keyboard layout.
3. Set CD base.
4. Set Sound Blaster base.
5. Set system language.
6. Set WSS base.
7. Set HD base.
8. Set used HD partition.
10. Set sound DMA channel.
11. Enable/disable low-level LBA access.
12. Enable/disable low-level access to PCI.
13. Interface of videodriver vmode.
1. Initialize + get information on driver.
2. Get information on current videomode.
3. Set videomode.
4. Return to the initial videomode.
5. Increase/decrease the size of the visible area of monitor.
6. Reserved for graphics accelerator, do not call.
22. Set date/time.
26. Get system parameters.
1. Get MPU MIDI base.
2. Get keyboard layout.
3. Get CD base.
4. Get Sound Blaster base.
5. Get system language.
6. Get WSS base.
7. Get HD base.
8. Get used HD partition.
9. Get time counter value.
10. Get sound DMA channel.
11. Find out whether low-level HD access is enabled.
12. Find out whether low-level PCI access is enabled.
29. Get system date.
59. Trace last system calls.
63. Work with debug board.
68. Internal system services.
0. Get the value of task switch counter.
1. Switch to the next thread.
2. Cache + rdpmc.
3. Read MSR-register.
4. Write to MSR-register.
5. Allocate physical memory.
6. Free physical memory.
7. Write to physical memory.
8. Read from physical memory.
69. Debugging.
0. Define data area for debug messages.
1. Get contents of registers of debugged thread.
2. Set contents of registers of debugged thread.
3. Detach from debugged process.
4. Suspend debugged thread.
5. Resume debugged thread.
6. Read from memory of debugged process.
7. Write to memory of debugged process.
8. Terminate debugged thread.
9. Set/clear hardware breakpoint.
Processes and threads:
9. Get information on execution thread.
51. Create thread.
60. IPC (Inter Process Communication).
64. Resize application memory.
70.7. Start application.
-1. Finish execution of thread/process.
File system:
Error codes
6. Read the file from ramdisk.
32. Delete file from ramdisk.
33. Write file to ramdisk.
56. Write file to hard disk.
58. Work with file system with 8.3 names.
0. Read from file/folder.
1. Rewrite file.
2. Delete file/folder.
4. Make folder.
5. Rename/move file/folder.
8. LBA-read from device.
15. Get information on file system.
70. Work with file system with long names support.
0. Read file.
1. Read folder.
2. Create/rewrite folder.
3. Write to existing file.
4. Set file size.
5. Get file information.
6. Set file attributes.
7. Start application.
Sound:
20. MIDI interface - MPU401.
24. CD-audio.
1. Begin play.
2. Tracks information.
3. Stop play.
25. Set SBPro volume.
27. Set WSS volume.
28. Set SB16 volume.
55. Work with sound.
0 = Load data for SB16.
1 = Begin play data on SB16.
2 = Set format of SB16 data.
55 = Built-in speaker control.
Work with hardware:
41. Get IRQ owner.
42. Read IRQ data.
43. Input-output to a port.
44. Define IRQ data format.
45. Reserve/free IRQ.
46. Reserve/free a group of ports.
49. Advanced Power Management (APM).
62. Low-level access to PCI.
0. Get PCI version.
1. Get last PCI-bus.
2. Get mechanism of PCI access.
4,5,6. Read PCI register.
8,9,10. Write PCI-register.
Network:
52. Work with network driver.
0. Get configuration.
1. Get local IP.
2. Set configuration.
3. Set local IP.
6. Send data on network.
8. Read data on network.
9. Get gateway IP.
10. Get subnet mask.
11. Set gateway IP.
12. Set subnet mask.
13. Get DNS IP.
14. Set DNS IP.
53. Sockets interface.
0. Open UDP-socket.
1. Close UDP-socket.
2. Poll socket.
3. Read from socket.
4. Write to UDP-socket.
5. Open TCP-socket.
6. Get TCP-socket status.
7. Write to TCP-socket.
8. Close TCP-socket.
9. Check whether local port is free.
255. Debug information of network driver.
5. Delay.