No encuentro otros emuladores recientes de Apple IIGS, salgo GSPort.
http://gsport.sourceforge.net
https://github.com/robinhood2014/GSport
Lo quiero compilar para mi Linux y aquí hay instrucciones para compilarlo, el problema es que falta un fichero para x86_64:
Use the vars_x86linux file:
cd into the src/ directory
rm vars; ln -s vars_x86linux vars
make
The resulting executable is called gsportx.
The build scripts assume perl is in your path. If it is somewhere else, you need to edit the "PERL = perl" line in the vars file and make it point to the correct place.
For audio, GSport needs access to /dev/dsp. If the permissions do not allow GSport to access /dev/dsp, it can fail with a cryptic error message. As root, just do: chmod 666 /dev/dsp .
If you do not have the /dev/dsp device, GSport will not start unless you tell it to disable audio with the following command-line argument: ./gsportx -audio 0
El problema está en que ese fichero no me vale, ya que esto es x86_64:
TARGET = gsportx
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) xdriver.o
CC = gcc
CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=i686 -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS
OPTS = -DGSPORT_LITTLE_ENDIAN
SUFFIX =
NAME = gsportx
LDFLAGS =
LDOPTS =
LD = g++
EXTRA_LIBS = -lXext
EXTRA_SPECIALS =
AS = cc
PERL = perl
XOPTS = -I/usr/X11R6/include
¿Qué modificar? A ver si cambiando por -march=native y renombrando, vale...
# cat vars_x86_64linux
ARGET = gsportx
OBJECTS = $(OBJECTS1) $(TFEOBJ) $(ATOBJ) $(PCAPOBJ) xdriver.o
CC = gcc
CCOPTS = -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS
OPTS = -DGSPORT_LITTLE_ENDIAN
SUFFIX =
NAME = gsportx
LDFLAGS =
LDOPTS =
LD = g++
EXTRA_LIBS = -lXext
EXTRA_SPECIALS =
AS = cc
PERL = perl
XOPTS = -I/usr/X11R6/include
# rm vars; ln -s vars_x86_64linux vars
Pero hay fallos...
¿Alguna idea?
# make
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o adb.o adb.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o clock.o clock.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o config.o config.c
config.c: In function ‘cfg_stat’:
config.c:1924:6: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
int len;
^~~
config.c:1923:6: warning: variable ‘removed_slash’ set but not used [-Wunused-but-set-variable]
int removed_slash;
^~~~~~~~~~~~~
config.c: In function ‘config_control_panel’:
config.c:3176:9: warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
int i, j;
^
config.c: In function ‘config_parse_config_gsport_file’:
config.c:1060:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow]
if((pos + 4) > len || buf[pos] != s || buf[pos+2] != d ||
^
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o dis.o dis.c
dis.c: In function ‘do_step’:
dis.c:613:6: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
int size;
^~~~
dis.c: In function ‘do_debug_unix’:
dis.c:812:12: warning: variable ‘save’ set but not used [-Wunused-but-set-variable]
int load, save;
^~~~
perl make_inst c 8 instable.h > 8inst_c.h
perl make_inst c 16 instable.h > 16inst_c.h
perl make_size c size_tab.h > size_c.h
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o engine_c.o engine_c.c
engine_c.c: In function ‘get_memory16_pieces_stub’:
engine_c.c:415:9: warning: variable ‘addr_latch’ set but not used [-Wunused-but-set-variable]
word32 addr_latch;
^~~~~~~~~~
engine_c.c: In function ‘get_memory24_pieces_stub’:
engine_c.c:441:9: warning: variable ‘addr_latch’ set but not used [-Wunused-but-set-variable]
word32 addr_latch;
^~~~~~~~~~
engine_c.c: In function ‘get_memory_c’:
engine_c.c:569:9: warning: variable ‘addr_latch’ set but not used [-Wunused-but-set-variable]
word32 addr_latch;
^~~~~~~~~~
engine_c.c: In function ‘fixed_memory_ptrs_shut’:
engine_c.c:780:18: warning: operation on ‘g_rom_cards_ptr’ may be undefined [-Wsequence-point]
g_rom_cards_ptr = g_rom_cards_ptr = NULL;
^
engine_c.c: In function ‘get_remaining_operands’:
engine_c.c:844:9: warning: variable ‘addr_latch’ set but not used [-Wunused-but-set-variable]
word32 addr_latch;
^~~~~~~~~~
engine_c.c: In function ‘enter_engine’:
engine_c.c:937:10: warning: variable ‘tmp_pc_ptr’ set but not used [-Wunused-but-set-variable]
Pc_log *tmp_pc_ptr;
^~~~~~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o scc.o scc.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o iwm.o iwm.c
iwm.c: In function ‘iwm_touch_switches’:
iwm.c:417:8: warning: variable ‘dsk’ set but not used [-Wunused-but-set-variable]
Disk *dsk;
^~~
In file included from iwm.c:1060:0:
iwm_35_525.h: In function ‘iwm_read_data_35’:
iwm_35_525.h:110:4: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if(cycs_passed >= (cycs_this_nib + 11)) {
^
In file included from iwm.c:1071:0:
iwm_35_525.h: In function ‘iwm_read_data_525’:
iwm_35_525.h:110:4: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
if(cycs_passed >= (cycs_this_nib + 11)) {
^
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o joystick_driver.o joystick_driver.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o moremem.o moremem.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o paddles.o paddles.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o parallel.o parallel.c
gcc -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. printer.cpp
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o sim65816.o sim65816.c
sim65816.c:157:19: warning: ‘g_gsport_version_str’ initialized and declared ‘extern’
extern const char g_gsport_version_str[] = "0.31";
^~~~~~~~~~~~~~~~~~~~
sim65816.c: In function ‘show_pc_log’:
sim65816.c:316:6: warning: variable ‘num’ set but not used [-Wunused-but-set-variable]
int num;
^~~
sim65816.c: In function ‘my_exit’:
sim65816.c:739:2: warning: implicit declaration of function ‘imagewriter_close’ [-Wimplicit-function-declaration]
imagewriter_close();
^~~~~~~~~~~~~~~~~
sim65816.c: In function ‘do_reset’:
sim65816.c:752:13: warning: unused variable ‘g_scan_int_events’ [-Wunused-variable]
extern int g_scan_int_events ;
^~~~~~~~~~~~~~~~~
sim65816.c: In function ‘run_prog’:
sim65816.c:1651:6: warning: variable ‘this_type’ set but not used [-Wunused-but-set-variable]
int this_type;
^~~~~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o smartport.o smartport.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o sound.o sound.c
sound.c: In function ‘sound_play’:
sound.c:728:6: warning: variable ‘num_running’ set but not used [-Wunused-but-set-variable]
int num_running;
^~~~~~~~~~~
sound.c: In function ‘doc_write_ctl_reg’:
sound.c:1521:6: warning: variable ‘mode’ set but not used [-Wunused-but-set-variable]
int mode;
^~~~
sound.c: In function ‘doc_read_c03d’:
sound.c:1687:9: warning: variable ‘dsamps’ set but not used [-Wunused-but-set-variable]
double dsamps;
^~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o sound_driver.o sound_driver.c
sound_driver.c: In function ‘child_sound_init_linux’:
sound_driver.c:372:6: warning: variable ‘fragment’ set but not used [-Wunused-but-set-variable]
int fragment;
^~~~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o video.o video.c
In file included from video.c:24:0:
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:217:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000),
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:217:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000),
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:218:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f),
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:219:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f)
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:219:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f)
^~~~~~
defc.h:63:10: warning: result of ‘251658240 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:224:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000000),
^~~~~~
defc.h:64:10: warning: result of ‘251658240 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:224:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000000),
^~~~~~
defc.h:64:10: warning: result of ‘983040 << 24’ requires 45 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:225:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x000f0000),
^~~~~~
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:226:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000),
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:226:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000),
^~~~~~
defc.h:64:10: warning: result of ‘3840 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:228:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f00),
^~~~~~
defc.h:63:10: warning: result of ‘251662080 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:229:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000f00),
^~~~~~
defc.h:64:10: warning: result of ‘251662080 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:229:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000f00),
^~~~~~
defc.h:64:10: warning: result of ‘986880 << 24’ requires 45 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:230:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x000f0f00),
^~~~~~
defc.h:63:10: warning: result of ‘252645120 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:231:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f00),
^~~~~~
defc.h:64:10: warning: result of ‘252645120 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:231:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f00),
^~~~~~
defc.h:63:10: warning: result of ‘251658255 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:234:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f00000f),
^~~~~~
defc.h:64:10: warning: result of ‘251658255 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:234:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f00000f),
^~~~~~
defc.h:64:10: warning: result of ‘983055 << 24’ requires 45 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:235:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x000f000f),
^~~~~~
defc.h:63:10: warning: result of ‘252641295 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:236:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f000f),
^~~~~~
defc.h:64:10: warning: result of ‘252641295 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:236:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f000f),
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:238:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f),
^~~~~~
defc.h:63:10: warning: result of ‘251662095 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:239:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000f0f),
^~~~~~
defc.h:64:10: warning: result of ‘251662095 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:239:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f000f0f),
^~~~~~
defc.h:64:10: warning: result of ‘986895 << 24’ requires 45 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:240:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x000f0f0f),
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:241:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f),
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:241:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f),
^~~~~~
defc.h:63:10: warning: result of ‘50528256 << 8’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:247:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030000), /* 00,0010 = purp , purp , black, black */
^~~~~~
defc.h:64:10: warning: result of ‘50528256 << 24’ requires 51 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:247:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030000), /* 00,0010 = purp , purp , black, black */
^~~~~~
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:248:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 00,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:248:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 00,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘3084 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:249:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000c0c), /* 00,0100 = black, black, green, green */
^~~~~~
defc.h:63:10: warning: result of ‘202116108 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:250:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0c0c), /* 00,0101 = green, green, green, green */
^~~~~~
defc.h:64:10: warning: result of ‘202116108 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:250:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0c0c), /* 00,0101 = green, green, green, green */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:251:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,0110 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:251:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,0110 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:252:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,0111 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:252:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,0111 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘50529027 << 8’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:255:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030303), /* 00,1010 = purp , purp , purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘50529027 << 24’ requires 51 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:255:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030303), /* 00,1010 = purp , purp , purp , purp */
^~~~~~
defc.h:63:10: warning: result of ‘252642051 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:256:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0303), /* 00,1011 = white ,white, purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘252642051 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:256:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0303), /* 00,1011 = white ,white, purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:257:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f), /* 00,1100 = black ,black, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘202116879 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:258:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0f0f), /* 00,1101 = green ,green, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘202116879 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:258:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0f0f), /* 00,1101 = green ,green, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:259:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,1110 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:259:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,1110 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:260:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,1111 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:260:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 00,1111 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘101056512 << 8’ requires 36 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:264:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060000), /* 01,0010 = blue , blue , black, black */
^~~~~~
defc.h:64:10: warning: result of ‘101056512 << 24’ requires 52 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:264:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060000), /* 01,0010 = blue , blue , black, black */
^~~~~~
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:265:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 01,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:265:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 01,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘3084 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:266:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000c0c), /* 01,0100 = black, black, green, green */
^~~~~~
defc.h:63:10: warning: result of ‘151587852 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:267:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090c0c), /* 01,0101 = orang, orang, green, green */
^~~~~~
defc.h:64:10: warning: result of ‘151587852 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:267:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090c0c), /* 01,0101 = orang, orang, green, green */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:268:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,0110 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:268:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,0110 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:269:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,0111 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:269:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,0111 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘101057283 << 8’ requires 36 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:272:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060303), /* 01,1010 = blue , blue , purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘101057283 << 24’ requires 52 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:272:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060303), /* 01,1010 = blue , blue , purp , purp */
^~~~~~
defc.h:63:10: warning: result of ‘252642051 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:273:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0303), /* 01,1011 = white ,white, purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘252642051 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:273:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0303), /* 01,1011 = white ,white, purp , purp */
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:274:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f), /* 01,1100 = black ,black, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘151588623 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:275:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090f0f), /* 01,1101 = orang ,orang, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘151588623 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:275:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090f0f), /* 01,1101 = orang ,orang, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:276:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,1110 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:276:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,1110 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:277:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,1111 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:277:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 01,1111 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘50528256 << 8’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:281:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030000), /* 10,0010 = purp , purp , black, black */
^~~~~~
defc.h:64:10: warning: result of ‘50528256 << 24’ requires 51 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:281:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030000), /* 10,0010 = purp , purp , black, black */
^~~~~~
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:282:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 10,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:282:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 10,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘2313 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:283:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000909), /* 10,0100 = black, black, orang, orang */
^~~~~~
defc.h:63:10: warning: result of ‘202115337 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:284:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0909), /* 10,0101 = green, green, orang, orang */
^~~~~~
defc.h:64:10: warning: result of ‘202115337 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:284:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0909), /* 10,0101 = green, green, orang, orang */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:285:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,0110 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:285:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,0110 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:286:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,0111 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:286:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,0111 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘50529798 << 8’ requires 35 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:289:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030606), /* 10,1010 = purp , purp , blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘50529798 << 24’ requires 51 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:289:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x03030606), /* 10,1010 = purp , purp , blue , blue */
^~~~~~
defc.h:63:10: warning: result of ‘252642822 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:290:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0606), /* 10,1011 = white ,white, blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘252642822 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:290:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0606), /* 10,1011 = white ,white, blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:291:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f), /* 10,1100 = black ,black, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘202116879 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:292:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0f0f), /* 10,1101 = green ,green, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘202116879 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:292:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0c0c0f0f), /* 10,1101 = green ,green, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:293:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,1110 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:293:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,1110 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:294:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,1111 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:294:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 10,1111 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘101056512 << 8’ requires 36 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:298:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060000), /* 11,0010 = blue , blue , black, black */
^~~~~~
defc.h:64:10: warning: result of ‘101056512 << 24’ requires 52 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:298:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060000), /* 11,0010 = blue , blue , black, black */
^~~~~~
defc.h:63:10: warning: result of ‘252641280 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:299:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 11,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘252641280 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:299:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0000), /* 11,0011 = white, white, black, black */
^~~~~~
defc.h:64:10: warning: result of ‘2313 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:300:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000909), /* 11,0100 = black, black, orang, orang */
^~~~~~
defc.h:63:10: warning: result of ‘151587081 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:301:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090909), /* 11,0101 = orang, orang, orang, orang */
^~~~~~
defc.h:64:10: warning: result of ‘151587081 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:301:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090909), /* 11,0101 = orang, orang, orang, orang */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:302:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,0110 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:302:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,0110 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:303:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,0111 = white, white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:303:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,0111 = white, white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘101058054 << 8’ requires 36 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:306:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060606), /* 11,1010 = blue , blue , blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘101058054 << 24’ requires 52 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:306:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x06060606), /* 11,1010 = blue , blue , blue , blue */
^~~~~~
defc.h:63:10: warning: result of ‘252642822 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:307:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0606), /* 11,1011 = white ,white, blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘252642822 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:307:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0606), /* 11,1011 = white ,white, blue , blue */
^~~~~~
defc.h:64:10: warning: result of ‘3855 << 24’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:308:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x00000f0f), /* 11,1100 = black ,black, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘151588623 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:309:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090f0f), /* 11,1101 = orang ,orang, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘151588623 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:309:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x09090f0f), /* 11,1101 = orang ,orang, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:310:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,1110 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:310:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,1110 = white ,white, white, white */
^~~~~~
defc.h:63:10: warning: result of ‘252645135 << 8’ requires 37 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 8) & 0xff0000) +
^
video.c:311:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,1111 = white ,white, white, white */
^~~~~~
defc.h:64:10: warning: result of ‘252645135 << 24’ requires 53 bits to represent, but ‘int’ only has 32 bits [-Wshift-overflow=]
(((a) << 24) & 0xff000000))
^
video.c:311:2: note: in expansion of macro ‘BIGEND’
BIGEND(0x0f0f0f0f), /* 11,1111 = white ,white, white, white */
^~~~~~
video.c: In function ‘video_init’:
video.c:328:9: warning: variable ‘match_col’ set but not used [-Wunused-but-set-variable]
word32 match_col;
^~~~~~~~~
video.c: In function ‘redraw_changed_text_40’:
video.c:1198:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_text_80’:
video.c:1375:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_gr’:
video.c:1563:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_dbl_gr’:
video.c:1689:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_hires_bw’:
video.c:1841:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_hires_color’:
video.c:1964:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_dbl_hires_bw’:
video.c:2111:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘redraw_changed_dbl_hires_color’:
video.c:2232:6: warning: variable ‘ch_bitpos’ set but not used [-Wunused-but-set-variable]
int ch_bitpos;
^~~~~~~~~
video.c: In function ‘video_rebuild_super_hires_palette’:
video.c:2355:6: warning: variable ‘palette_changed’ set but not used [-Wunused-but-set-variable]
int palette_changed;
^~~~~~~~~~~~~~~
In file included from video.c:2479:0:
superhires.h: In function ‘redraw_changed_super_hires_oneline_nofill_8’:
superhires.h:34:14: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~~
In file included from video.c:2495:0:
superhires.h: In function ‘redraw_changed_super_hires_oneline_nofill_32’:
superhires.h:34:14: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~~
superhires.h:34:9: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~
In file included from video.c:2503:0:
superhires.h: In function ‘redraw_changed_super_hires_oneline_fill_8’:
superhires.h:34:14: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~~
In file included from video.c:2519:0:
superhires.h: In function ‘redraw_changed_super_hires_oneline_fill_32’:
superhires.h:34:14: warning: variable ‘tmp2’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~~
superhires.h:34:9: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
word32 tmp, tmp2;
^~~
video.c: In function ‘redraw_changed_super_hires’:
video.c:2539:9: warning: variable ‘kd_tmp_debug’ set but not used [-Wunused-but-set-variable]
word32 kd_tmp_debug;
^~~~~~~~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o scc_socket_driver.o scc_socket_driver.c
gcc -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. imagewriter.cpp
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o scc_imagewriter.o scc_imagewriter.c
scc_imagewriter.c: In function ‘scc_imagewriter_init’:
scc_imagewriter.c:43:2: warning: implicit declaration of function ‘imagewriter_init’ [-Wimplicit-function-declaration]
imagewriter_init(g_imagewriter_dpi,85,110,g_imagewriter_output,g_imagewriter_multipage != 0, port);
^~~~~~~~~~~~~~~~
scc_imagewriter.c: In function ‘scc_imagewriter_empty_writebuf’:
scc_imagewriter.c:125:3: warning: implicit declaration of function ‘imagewriter_loop’ [-Wimplicit-function-declaration]
imagewriter_loop(scc_ptr->out_buf[rdptr],port);
^~~~~~~~~~~~~~~~
scc_imagewriter.c: In function ‘imagewriter_update’:
scc_imagewriter.c:153:3: warning: implicit declaration of function ‘imagewriter_feed’ [-Wimplicit-function-declaration]
imagewriter_feed();
^~~~~~~~~~~~~~~~
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o scc_llap.o scc_llap.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o tfe/tfe.o tfe/tfe.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o tfe/tfearch.o tfe/tfearch.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o tfe/tfesupp.o tfe/tfesupp.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/aarp.o atbridge/aarp.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/atbridge.o atbridge/atbridge.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/elap.o atbridge/elap.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/llap.o atbridge/llap.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/port.o atbridge/port.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o atbridge/pcap_delay.o atbridge/pcap_delay.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o xdriver.o xdriver.c
gcc -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS -I/usr/X11R6/include -c -DGSPORT_LITTLE_ENDIAN -I. -o compile_time.o compile_time.c
g++ -O2 -Wall -fomit-frame-pointer -std=gnu99 -march=native -DHAVE_TFE -DHAVE_ATBRIDGE -DTOGGLE_STATUS adb.o clock.o config.o dis.o engine_c.o scc.o iwm.o joystick_driver.o moremem.o paddles.o parallel.o printer.o sim65816.o smartport.o sound.o sound_driver.o video.o scc_socket_driver.o imagewriter.o scc_imagewriter.o scc_llap.o tfe/tfe.o tfe/tfearch.o tfe/tfesupp.o atbridge/aarp.o atbridge/atbridge.o atbridge/elap.o atbridge/llap.o atbridge/port.o atbridge/pcap_delay.o xdriver.o compile_time.o -o gsportx -L/usr/X11R6/lib -lXext -lX11
/usr/bin/ld: atbridge/pcap_delay.o: undefined reference to symbol dlclose@@GLIBC_2.2.5
/usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:65: gsportx] Error 1