MiNT Kernel System Calls
(as of 1998, needs updating)
The following function lists are originally produced by
Yes Crew in 1998. The tables they provide with revision 26 (which can be found
on this page), are the basis for the documentation provided below. Their documentation will be referenced, but not copied. Each function should also contain an example of use, preferably in Assembler as well as C or C++. The C calling convention should be noted as well, however at the time of writing, only GCC successfully compiles the
MiNT kernel.
When an up to date list is completed, the contents will be made available, should anyone in Yes Crew wish to also update there documentation.
Functions by name
Function name |
Opcode |
Purpose |
Dreadlabel()? |
0x0152 |
Read disk label |
Dwritelabel()? |
0x0153 |
Write disk label |
Dxreaddir()? |
0x0142 |
Extended Dreaddir()? |
Pgetauid()? |
0x0145 |
Get process' audit id |
Pgetgroups()? |
0x0147 |
Get process' supplementary group ids |
Pgetpriority()? |
0x0158 |
Get process' priority |
Psetauid()? |
0x0146 |
Set process' audit id |
Psetegid()? |
0x0144 |
Set process' effective group id |
Pseteuid()? |
0x0143 |
Set process' effective user id |
Psetgroups()? |
0x0148 |
Set process' supplementary group ids |
Psetpriority()? |
0x0159 |
Set process' priority |
Psetregid()? |
0x014f |
Set process' real and/or effective group id |
Psetreuid()? |
0x014e |
Set process' real and/or effective user id |
Psigintr()? |
0x013e |
Assign an interrupt to a signal |
Scookie()? |
0x014a |
Cookie Jar management (obsolete). |
Shutdown()? |
0x0151 |
Shut the system down |
Ssystem()? |
0x0154 |
Control various system settings |
Suptime()? |
0x013f |
Get system's uptime and load averages |
Sync()? |
0x0150 |
Sync filesystems |
Tadjtime()? |
0x0157 |
Adjust the clock (not implemented yet) |
Talarm()? |
0x0120 |
Set SIGALRM delivery |
Tgettimeofday()? |
0x0155 |
Interrogate the high resolution system clock |
Tmalarm()? |
0x013d |
Set SIGALRM delivery |
Tsetitimer()? |
0x0149 |
Set timer intervals |
Tsettimeofday()? |
0x0156 |
Set the high resolution system clock |
Functions by opcode
Function name |
Opcode |
Purpose |
Talarm()? |
0x0120 |
Set SIGALRM delivery |
Tmalarm()? |
0x013d |
Set SIGALRM delivery |
Psigintr()? |
0x013e |
Assign an interrupt to a signal |
Suptime()? |
0x013f |
Get system's uptime and load averages |
Dxreaddir()? |
0x0142 |
Extended Dreaddir()? |
Pseteuid()? |
0x0143 |
Set process' effective user id |
Psetegid()? |
0x0144 |
Set process' effective group id |
Pgetauid()? |
0x0145 |
Get process' audit id |
Psetauid()? |
0x0146 |
Set process' audit id |
Pgetgroups()? |
0x0147 |
Get process' supplementary group ids |
Psetgroups()? |
0x0148 |
Set process' supplementary group ids |
Tsetitimer()? |
0x0149 |
Set timer intervals |
Scookie()? |
0x014a |
Cookie Jar management (obsolete). |
Psetreuid()? |
0x014e |
Set process' real and/or effective user id |
Psetregid()? |
0x014f |
Set process' real and/or effective group id |
Sync()? |
0x0150 |
Sync filesystems |
Shutdown()? |
0x0151 |
Shut the system down |
Dreadlabel()? |
0x0152 |
Read disk label |
Dwritelabel()? |
0x0153 |
Write disk label |
Ssystem()? |
0x0154 |
Control various system settings |
Tgettimeofday()? |
0x0155 |
Interrogate the high resolution system clock |
Tsettimeofday()? |
0x0156 |
Set the high resolution system clock |
Tadjtime()? |
0x0157 |
Adjust the clock (not implemented yet) |
Pgetpriority()? |
0x0158 |
Get process' priority |
Psetpriority()? |
0x0159 |
Set process' priority |