Also, it is possible to use FreePascal compiler i hope. Newer version is more compatible with Delphi.
The main goal is more convenient programming with KolibriOS API.
Tools needed:
Code: Select all
dcc32 — Delphi compiler
omf2d — utility for converting from Borland omf to Intel omf
link — Microsoft linker
ld — GNU linker
objcopy — utility to convert object files
{1} Just a simple window.
Used functions: DrawWindow, GetScreenSize, WaitEvent, BeginDraw, EndDraw, GetKey, GetButton, ThreadTerminate.
Spoiler:
Used functions: DrawButton, GetButton, SetWindowCaption, GetScreenSize, WaitEvent, BeginDraw, DrawWindow, EndDraw, GetKey, ThreadTerminate.
Spoiler:
Used functions: GetKey, DrawText, GetScreenSize, WaitEvent, BeginDraw, DrawWindow, EndDraw, GetButton, ThreadTerminate.
Spoiler:
Used functions: LoadFile, LoadLibrary, GetProcAddress, ThreadTerminate.
Spoiler:
Used functions: GetCurrentDirectory, LoadLibrary, GetProcAddress, ThreadTerminate.
In the case of new examples they will be added to this topic below.