Commit graph

12 commits

Author SHA1 Message Date
Gered 8acd9a1549 replace ackiff.c and ackpcx.c with the faster borland dos versions
these were on the book cd under /ACK/DOS/BORLAND. this version of
ackiff.c is SIGNIFICANTLY faster then the windows one ported back to dos
(i don't think i did anything wrong when i did that, but who knows...)
2019-11-02 17:35:48 -04:00
Gered e2176a10f0 add implemented ackgif.c
despite the book itself stating that this code was not included due
to the old GIF patent back in the 90's, it was actually included on the
cd under /ACK/DOS/WATCOM/ACK_LIB. oops!
2019-11-02 17:21:58 -04:00
Gered 317d65c9ce remove ack_lib/kit.h because the acklib itself doesn't use it
i don't know why it was originally included in that directory on the cd
2019-11-02 17:15:02 -04:00
Gered cb8f47ef27 revert some changes to more closely match the original watcom fdemo.c
with the timer speedup call left in, it feels much closer (speed-wise)
to the original watcom fdemo executable from the book cd. but still not
quite a perfect match in my opinion
2019-11-02 17:11:34 -04:00
Gered a63c33cd84 update mall to build under watcom 2019-11-02 16:55:35 -04:00
Gered 080fb9ae68 fix modplay.asm and re-enable bg music. it actually works now!
i didn't recognize _getds from anywhere so assumed it was something
commented out for a reason, but turns out that it was part of the
original modplayer code (which was originally written for watcom
anyway). _getds is an internal function from the watcom standard
libraries.
2019-11-02 16:40:51 -04:00
Gered 1b11c42c1d changes from borland sources. including disabling bg music
i'm convinced that the modplayer doesn't work as-is. start/stop of bg
music was commented out in the newer borland sources, and neither the
borland 'nor watcom fdemo executable on the book's cd ever played
bg music for me. enabling it (with the mod file present) causes some
crashes.
2019-11-02 14:52:54 -04:00
Gered 5291c7a2de update fdemo to build under watcom
stable build, no crashes, though some timing and/or game speed seems
off (slower) versus original executables from the book's cd
2019-11-02 14:29:31 -04:00
Gered 83aaf0d5b9 update acklib to build under watcom
borland conditionals have been removed. asm sources converted fully
to tasm ideal mode. keyboard and timer interrupt handlers moved to c
code copied from fdemo watcom sources
2019-11-02 13:56:52 -04:00
Gered 7933231c9d convert tabs to spaces, because there is a LOT of mixing going on
lots of random tabs used (for both indentation and spacing). lets just
use spaces everywhere for consistency
2019-11-02 13:44:19 -04:00
Gered 1c590f344f get rid of sources we won't be using
i'm not interested in doing a windows build, and ACKSND uses a sound
library that apparently doesn't work in a flat memory model
2019-11-02 13:41:41 -04:00
Gered 865b466995 initial commit
sources taken from book CD:

ack_lib -> /ACK/WIN/ACK_LIB
fdemo -> /ACK/DOS/FDEMO/SOURCE (and /ACK/DOS/BORLAND as needed)
mall -> /ACK/DOS/MALL/SOURCE (and /ACK/DOS/BORLAND as needed)

some source files were missing for the demo projects and needed to be
copied from /ACK/DOS/BORLAND (as indicated above)
2019-11-02 13:17:24 -04:00