Modifications and bug-fixes to make Mosaic compile and run under UNICOS. (part 2)

The changes mostly revolve around:
- Type changes and casts to make the picky C-compiler happy
- Fixed bug in XmxExtractToken where it would not zero out bits 16-31 on a non-32-bit system
- Added back old getline implementation as its missing on UNICOS
- Added some missing typedefs and conditional directives to turn on the relevant code pieces for UNICOS
This commit is contained in:
Andras Tantos
2019-03-04 15:20:14 -08:00
committed by Robert Clausecker
parent 075b2e4911
commit 8baf5f2e62
34 changed files with 430 additions and 404 deletions

View File

@@ -1,6 +1,6 @@
#define busy_3_mask_width 18
#define busy_3_mask_height 18
static unsigned char busy_3_mask_bits[] = {
static char busy_3_mask_bits[] = {
0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0xff, 0xff, 0x03, 0x3e, 0xf7, 0x01,
0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xfe, 0xff, 0x01, 0xee, 0xdf, 0x01,
0xce, 0xcf, 0x01, 0xce, 0xcf, 0x01, 0xee, 0xdf, 0x01, 0xfe, 0xff, 0x01,