Fortraneries/Modules/README.md

37 lines
699 B
Markdown
Raw Normal View History

2022-11-30 01:02:11 +01:00
# General purpose modules
2022-11-27 12:04:34 +01:00
2023-05-07 23:48:37 +02:00
## Modules disponibles
### spitpgm
Write gray level 2d buffer (aka picture) to disk in the NetPNM format.
2023-05-07 23:48:37 +02:00
### pixrgb
2023-01-07 10:40:29 +01:00
2024-01-17 01:13:49 +01:00
Write 8 bits or 16 bits RGB pictures to PNM format.
**Warning!** The width of the picture MUST be a multiple of 4 !
2023-01-07 10:40:29 +01:00
2023-05-07 23:48:37 +02:00
### trials
Experimental WIPs from hell.
2023-05-07 23:48:37 +02:00
### dummy
2024-01-17 01:13:49 +01:00
A "do nothing" useless module.
But you cas use it to fool an optimizing compiler,
or have a sane place to put a breakpoint with gdb
## Compiler un module
You can use the same options as for a main program.
And when you use the module, you have to specify the paths
for the .mod and the .o to the linker.
See [Makefile](./Makefile) for an example.
2023-05-07 23:48:37 +02:00
## TODO
- écrire la doc !