This was my game library written in C with embedded x86 assembly, compiled under Borland C. It includes most of the functionality required for a DOS game: video, mouse, keyboard handlers. It also has an Autodesk FLI animation file playback function.
A sample test scroller is included, that loads PCX maps and tiles, using embedded assembler to make fast and smooth scroll with double buffering directly to the video memory. scroll takes an argument for number of pixel to shift each time, without any argument the default is 2 pixels. e.g. scroll 4 results is fast smooth scrolling with any 486 or faster CPU.
This was my first DOS game attempt back in high school days. The entire game is written in C and embedded x86 assembly, compiled under Borland C. The platform was DOS and code was optimized for running under mode13h 320x200x256c. The images handler uses a RLC - run length encoding compression whcih is really the same as what PCX uses. The code was probably poorly designed and not documented. :-)

This was a "loader" - animated graphics in mode13h to advertise a bulletin board system back in the BBS days. Everything was embedded into one single EXE.
A little utility called bin2h is included to convert binary files to hex code format to be embedded in source code.