Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Freepascal and binary files? (Developers)

posted by RayeR Homepage, CZ, 21.05.2020, 01:46

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:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 223 users online (0 registered, 223 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum