home *** CD-ROM | disk | FTP | other *** search
- The following changes may be useful for other ports as well, but I've
- left them #ifdef atarist (except for defs.h, see below). All the other
- #ifdef atarist stuff really is Atari specific.
-
- cut.c:
- calling bit_destroy() on bitmaps allocated with static data causes
- problems, since (on the Atari at least) free()ing memory that didn't
- come from malloc() causes corruption of the memory free list
- defs.h:
- the only place that isn't #ifdef atarist -- it's #ifdef __STDC__
- instead, because ANSI C does give a portable way of turning a
- macro parameter into a character (gcc was interpreting the definition
- of dprintf() to mean that only the literal character 'x' was meant,
- not the the character given as the parameter to dprintf; I got around
- this by using the ANSI "stringizing" operator #)
- get_menu.c:
- declaring save_bits to be "unsigned short" means that not enough
- space is allocated for saving the mouse blip if BITS > 4; this
- shows up as garbage being left behind by the mouse bullet as it
- tracks the mouse in menus
-