• 0. Define and draw the window.
  • 1. Put pixel in the window.
  • 2. Get the code of the pressed key.
  • 3. Get system time.
  • 4. Draw text string in the window.
  • 5. Delay.
  • 6. Read the file from ramdisk.
  • 7. Draw image in the window.
  • 8. Define/delete the button.
  • 9. Get information on execution thread.
  • 10. Wait for event.
  • 11. Check for event, no wait.
  • 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.
  • 16. Save ramdisk on a floppy.
  • 17. Get the identifier of the pressed button.
  • 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.
  • 19. Reserved (returns -1 in eax).
  • 20. MIDI interface - MPU401.
  • 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.
  • 23. Wait for event with timeout.
  • 24. CD-audio.
    • 1. Begin play.
    • 2. Tracks information.
    • 3. Stop play.
  • 25. Set SBPro volume.
  • 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.
  • 27. Set WSS volume.
  • 28. Set SB16 volume.
  • 29. Get system date.
  • 30. Reserved (returns -1 in eax).
  • 31. Reserved (returns -1 in eax).
  • 32. Delete file from ramdisk.
  • 33. Write file to ramdisk.
  • 34. Reserved (returns -1 in eax).
  • 35. Get screen pixel.
  • 36. Reserved (does nothing, only destroys eax).
  • 37. Get coordinates/status of the mouse.
  • 38. Draw line.
  • 39. Get background.
    • 1. Get sizes of background image.
    • 2. Get pixel from background image.
    • 4. Get drawing mode of background.
  • 40. Set the mask for expected events.
  • 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.
  • 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.
  • 49. Advanced Power Management (APM).
  • 50. Set window shape.
  • 51. Create thread.
  • 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.
  • 54. Reserved (writes 0x12345678 in eax).
  • 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.
  • 56. Write file to hard disk.
  • 57. Reserved (returns -1 in eax).
  • 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.
  • 59. Trace last system calls.
  • 60. IPC (Inter Process Communication).
  • 61. Direct access to graphics.
  • 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.
  • 63. Work with debug board.
  • 64. Resize application memory.
  • 65. Reserved (returns -1 in eax).
  • 66. Work with keyboard.
  • 67. Change position/sizes of window.
  • 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.
  • 70. Work with file system with long names support.
    • 0. Read file.
    • 1. Read folder.
    • 2. Create/rewrite file.
    • 3. Write to existing file.
    • 4. Set file size.
    • 5. Get file information.
    • 6. Set file attributes.
    • 7. Start application.
  • 71. Window settings.
    • 1. Set window caption.
  • -1. Finish execution of thread/process.