Freepascal and binary files? (Developers)
I don't know how in FP but in C you can easily use some Bin2H convertor that create a header file with static array definition like const Byte bitmap[32]={0x10, 0x12, ...} and include that generated file in your source (#include "cursor.h"). So if FP can include other files that you can generate during build process you can do it the same way...
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- Freepascal and binary files? - Laaca, 20.05.2020, 23:15 (Developers)
- Freepascal and binary files? - RayeR, 21.05.2020, 01:46
- Freepascal and binary files? - Laaca, 21.05.2020, 10:36
- Freepascal and binary files? - Rugxulo, 21.05.2020, 02:27
- Freepascal and binary files? - marcov, 21.05.2020, 12:25
- Freepascal and binary files? - Laaca, 21.05.2020, 17:30
- Freepascal and binary files? - marcov, 22.05.2020, 13:17
- Freepascal and binary files? - Laaca, 21.05.2020, 17:30
- Freepascal and binary files? - Rugxulo, 31.05.2020, 18:50
- Freepascal and binary files? - CandyMan, 11.06.2020, 12:29
- Freepascal and binary files? - Laaca, 12.06.2020, 07:37
- Freepascal and binary files? - Laaca, 29.10.2021, 00:17
- Freepascal and binary files? - tkchia, 30.10.2021, 07:33
- Freepascal and binary files? - Laaca, 30.10.2021, 12:29
- Freepascal and binary files? - tkchia, 30.10.2021, 19:01
- Freepascal and binary files? - Rugxulo, 28.08.2022, 23:21
- Freepascal and binary files? - tkchia, 30.10.2021, 19:01
- Freepascal and binary files? - Laaca, 30.10.2021, 12:29
- Freepascal and binary files? - tkchia, 30.10.2021, 07:33
- Freepascal and binary files? - RayeR, 21.05.2020, 01:46