top of page
  • Writer's picturerehsd

Using an Assembly Library from C++ for Applications in FreeDOS (on My 286 Build)

Updated: Jun 29, 2023

YouTube user @viti95 suggested avoiding making calls to other procedures within the assembly code, as just the CALL process has overhead. I added an additional test of using C++ to ASM with the WATCOMC calling convention, but without sub calls (functionality is all in the single ASM procedure). It had a noticeable impact.

Source Code

As I work on this graphics code, I will post updated code to GitHub - rehsd/FreeDOS_AppCode: Misc. work for apps to run in FreeDOS on my builds.


46 views0 comments


bottom of page