Cook: dega 1.12 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): nasm-2.14.02-i486 Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Extracting source archive "dega-1.12.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed gcc -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -D_GLIBCXX_USE_C99_MATH=1 -c -o sdl/main.o sdl/main.c g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/doze.o doze/doze.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/dam.o doze/dam.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/dama.o doze/dama.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damc.o doze/damc.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/dame.o doze/dame.cpp sdl/main.c: In function 'main': sdl/main.c:202:2: warning: implicit declaration of function 'MastLoadRom'; did you mean 'MastSetRom'? [-Wimplicit-function-declaration] MastLoadRom(argv[optind], &rom, &romlength); ^~~~~~~~~~~ MastSetRom doze/damc.cpp: In function 'int DamcRotate(unsigned int)': doze/damc.cpp:26:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",r,Ext); ^ doze/damc.cpp:28:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ doze/damc.cpp:29:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sahf\n"); ^ doze/damc.cpp:30:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" %s dl,1\n",Opco[a]); ^ doze/damc.cpp:31:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setc dh ; ---- ---C\n"); ^ doze/damc.cpp:35:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test dl,dl\n"); ^ doze/damc.cpp:36:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/damc.cpp:37:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc4 ; SZ-- -P--\n"); ^ doze/damc.cpp:38:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ-- -P-C\n"); ^ doze/damc.cpp:39:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ doze/damc.cpp:44:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc4 ; ..00 0.00\n"); ^ doze/damc.cpp:45:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; ..00 0.0C\n"); ^ doze/damc.cpp:46:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ doze/damc.cpp:49:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext || r==6) DamPut8("dl",6,Ext); // Put to memory ^ doze/damc.cpp:50:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r!=6) DamPut8("dl",r,0); // Put to register ^ doze/damc.cpp: In function 'int DamcBit(unsigned int)': doze/damc.cpp:77:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",r,Ext); ^ doze/damc.cpp:78:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/damc.cpp:79:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dl,0x%.2x\n",1< AH\n"); ^ doze/dama.cpp:12:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" seto dh ; dh=1 or 0\n"); ^ doze/dama.cpp:13:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xd1 ; SZ-A ---C\n"); ^ doze/dama.cpp:14:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,2\n"); ^ doze/dama.cpp:15:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; Get overflow flag\n"); ^ doze/dama.cpp:18:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xd5 ; SZ-A -P-C\n"); ^ doze/dama.cpp:20:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,%s\n",Bits35); ^ doze/dama.cpp:21:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x28 ; S-5- 3---\n"); ^ doze/dama.cpp:22:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5A 3P-C\n"); ^ doze/dama.cpp:24:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; End of get the correct flags ----\n"); ^ doze/dama.cpp: In function 'int Dama_00xx_x10x(unsigned int)': doze/dama.cpp:55:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] t+=7; ot ("; Takes more cycles from memory\n"); ^ doze/dama.cpp:59:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0x01 ; Keep carry flag\n"); ^ doze/dama.cpp:64:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec "); else ot(" inc "); ^ doze/dama.cpp:64:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec "); else ot(" inc "); ^ doze/dama.cpp:65:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("%s\n",DamLoc8(d,Ext)); ^ doze/dama.cpp:66:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,%s\n",DamLoc8(d,Ext)); ^ doze/dama.cpp:71:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",d,Ext); ^ doze/dama.cpp:72:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec dl\n"); else ot(" inc dl\n"); ^ doze/dama.cpp:72:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec dl\n"); else ot(" inc dl\n"); ^ doze/dama.cpp:73:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",d,Ext); ^ doze/dama.cpp:76:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/dama.cpp:77:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) { ot(" or ah,byte [DecFlag+edx]\n"); } ^ doze/dama.cpp:78:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else { ot(" or ah,byte [IncFlag+edx]\n"); } ^ doze/dama.cpp: In function 'int Dama_00xx_x110(unsigned int)': doze/dama.cpp:102:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Load Value 8-bit\n"); ^ doze/dama.cpp:118:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",d,op>>8); ^ doze/dama.cpp: In function 'int Dama_001x_x000(unsigned int)': doze/dama.cpp:140:61: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sahf ; Get flags so we can test for the condition\n"); ^ doze/dama.cpp:141:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (c==0) ot(" jz "); else if (c==1) ot(" jnz "); ^ doze/dama.cpp:141:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (c==0) ot(" jz "); else if (c==1) ot(" jnz "); ^ doze/dama.cpp:142:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (c==2) ot(" jc "); else ot(" jnc "); ^ doze/dama.cpp:142:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (c==2) ot(" jc "); else ot(" jnc "); ^ doze/dama.cpp:143:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("ConditionFalse%d\n",Lab); ^ doze/dama.cpp:145:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Jump offset:\n"); ^ doze/dama.cpp:147:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dl,0x80\n"); ^ doze/dama.cpp:148:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/dama.cpp:149:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dx,0x80\n"); ^ doze/dama.cpp:150:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add %s,dx\n",DamPc); ^ doze/dama.cpp:153:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("ConditionFalse%d:\n",Lab++); ^ doze/dama.cpp: In function 'int DamaHalt(unsigned int)': doze/dama.cpp:161:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 76 - halt\n"); ^ doze/dama.cpp:164:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Reduce cycle counter to 1,2,3 or 4\n"); ^ doze/dama.cpp:165:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" dec si ; Stay on halt instruction\n"); ^ doze/dama.cpp:166:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and %s,3\n",DamCycles); ^ doze/dame.cpp: In function 'int Dame_00xx_0001(unsigned int)': doze/dame.cpp:19:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Load Immediate 16-bit\n"); ^ doze/dama.cpp:167:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; todo - add R counter by cycles/4\n"); ^ doze/dame.cpp:21:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",d,Ext); ^ doze/dama.cpp: In function 'int Dama_01xx_xxxx(unsigned int)': doze/dama.cpp:199:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Load 8-bit\n"); ^ doze/dame.cpp: In function 'int Dame_00xx_x011(unsigned int)': doze/dame.cpp:38:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/dame.cpp:38:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/dame.cpp:39:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("%s\n",DamLoc16(d,Ext)); ^ doze/dama.cpp:223:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,%s\n",DamLoc8(d,de),DamLoc8(s,se)); ^ doze/dame.cpp:41:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; (With 16-bit inc, flags aren't changed)\n"); ^ doze/dama.cpp:228:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Copy to dl, then to destination\n"); ^ doze/dama.cpp:229:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",s,se); DamPut8("dl",d,de); ^ doze/dama.cpp:229:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",s,se); DamPut8("dl",d,de); ^ doze/dame.cpp: In function 'int Dame_00xx_1001(unsigned int)': doze/dame.cpp:59:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov bh,ah\n"); ^ doze/dame.cpp:60:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and bh,0xc4 ; Remember SZ---P--\n"); ^ doze/dame.cpp:61:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",s,Ext); ^ doze/dame.cpp:62:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror ebx,16 ; Get access to a spare bit of ebx\n"); ^ doze/dama.cpp: In function 'int DoArith(int)': doze/dama.cpp:240:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *Bits35=""; ^~ doze/dame.cpp:63:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov bx,dx\n"); ^ doze/dama.cpp:242:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a==1 || a==3) { ot(" sahf ; Get the carry flag\n"); } ^ doze/dame.cpp:64:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,Ext); ^ doze/dama.cpp:243:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else { ot(" xor ah,ah ; Start with blank flags\n"); } ^ doze/dame.cpp:66:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Do operation in two bytes to get the correct z80 flags (for the msb)\n"); ^ doze/dama.cpp:245:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a==7) Bits35="dl"; // bits copied from argument ^~~~ doze/dame.cpp:67:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add dl,bl\n"); ^ doze/dama.cpp:246:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else Bits35="al"; // bits copied from result ^~~~ doze/dame.cpp:68:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" adc dh,bh\n"); ^ doze/dama.cpp:248:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" %s al,dl ; DO ARITHMETIC OPERATION\n",Opco[a]); ^ doze/dame.cpp:69:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/dame.cpp:71:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",2,Ext); ^ doze/dama.cpp:252:96: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a==2 || a==3 || a==7) ot(" or ah,0x02 ; Set bit 1 - last operation was a subtraction\n"); ^ doze/dame.cpp:72:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror ebx,16 ; Done with ebx\n"); ^ doze/dame.cpp:74:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0x11 ; ---H---C get flags.\n"); ^ doze/dama.cpp:253:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (a==4) ot(" or ah,0x10 ; Set bit 4 to 1 (AND operation)\n"); ^ doze/dame.cpp:76:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x28\n"); ^ doze/dame.cpp:77:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; --5H3--C\n"); ^ doze/dame.cpp:79:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,bh\n"); ^ doze/dama.cpp: In function 'int Dama_10xx_xxxx(unsigned int)': doze/dama.cpp:276:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Arithmetic\n"); ^ doze/dama.cpp:291:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",s,Ext); ^ doze/dame.cpp: In function 'int Dame_11xx_0x01(unsigned int)': doze/dame.cpp:97:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub word [DozeSP],2\n"); ^ doze/dame.cpp:98:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dame.cpp:99:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==3) ot(" mov dx,ax\n ror dx,8\n"); // AF ^ doze/dama.cpp: In function 'int DamaJumpOnCond(unsigned int)': doze/dama.cpp:303:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test ah,0x%.2x\n",nAnd[c>>1]); ^ doze/dame.cpp:100:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else DamGet16("dx",r,Ext); ^ doze/dame.cpp:101:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/dama.cpp:304:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (c&1) ot(" jnz "); else ot(" jz "); ^ doze/dame.cpp:106:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dama.cpp:304:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (c&1) ot(" jnz "); else ot(" jz "); ^ doze/dame.cpp:107:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/dame.cpp:108:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==3) ot(" mov ax,dx\n ror ax,8\n"); // AF ^ doze/dame.cpp:109:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else DamPut16("dx",r,Ext); ^ doze/dama.cpp: In function 'int Dama_11xx_x000(unsigned int)': doze/dama.cpp:318:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamaJumpOnCond(c); ot("DoRet%d\n",Lab); ^ doze/dame.cpp:110:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add word [DozeSP],2\n"); ^ doze/dama.cpp:321:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("DoRet%d:\n",Lab++); ^ doze/dama.cpp:322:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dama.cpp:323:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/dame.cpp: In function 'int DameExHL(unsigned int)': doze/dame.cpp:122:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Find the memory location:\n"); ^ doze/dama.cpp:324:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/dame.cpp:123:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dama.cpp:325:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add word [DozeSP],2\n"); ^ doze/dame.cpp:124:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Swap HL with it:\n"); ^ doze/dame.cpp:125:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/dame.cpp:126:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [Tmp16],dx\n"); ^ doze/dame.cpp:127:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,Ext); ^ doze/dama.cpp: In function 'int Dama_11xx_x010(unsigned int)': doze/dama.cpp:340:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamaJumpOnCond(c); ot("DoJump%d\n",Lab); ^ doze/dame.cpp:128:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/dame.cpp:129:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,word [Tmp16]\n"); ^ doze/dama.cpp:343:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("DoJump%d:\n",Lab++); ^ doze/dame.cpp:130:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",2,Ext); ^ doze/dama.cpp:345:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/dame.cpp: In function 'int DameDirectMem16(unsigned int)': doze/dame.cpp:153:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Direct access to a memory location\n"); ^ doze/dame.cpp:155:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/dama.cpp: In function 'int Dama_11xx_x100(unsigned int)': doze/dama.cpp:361:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamaJumpOnCond(c); ot("DoCall%d\n",Lab); ^ doze/dama.cpp:364:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("DoCall%d:\n",Lab++); ^ doze/dame.cpp:158:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/dame.cpp:159:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",r,Ext); ^ doze/dama.cpp:366:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub word [DozeSP],2\n"); ^ doze/dame.cpp:163:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",r,Ext); ^ doze/dama.cpp:367:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dame.cpp:164:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/dama.cpp:368:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,%s\n",DamPc); ^ doze/dama.cpp:369:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/dama.cpp:372:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/dame.cpp: In function 'int DameAdcSbc16(unsigned int)': doze/dame.cpp:181:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,0); ^ doze/dame.cpp:182:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word[Tmp16],dx\n"); ^ doze/dame.cpp:183:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",s,0); ^ doze/dama.cpp: In function 'int Dama_11xx_x110(unsigned int)': doze/dama.cpp:389:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Arithmetic (Immediate value)\n"); ^ doze/dame.cpp:185:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sahf ; Get the carry flag\n"); ^ doze/dama.cpp:391:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get value:\n"); ^ doze/dame.cpp:186:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Do operation in two bytes to get the correct z80 flags (for the msb)\n"); ^ doze/dame.cpp:189:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" adc byte [Tmp16] ,dl\n"); ^ doze/dame.cpp:190:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setz dl\n"); ^ doze/dama.cpp: In function 'int Dama_11xx_x111(unsigned int)': doze/dama.cpp:406:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub word [DozeSP],2\n"); ^ doze/dama.cpp:407:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dame.cpp:191:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" adc byte [Tmp16+1],dh\n"); ^ doze/dama.cpp:408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,%s\n",DamPc); ^ doze/dame.cpp:195:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sbb byte [Tmp16] ,dl\n"); ^ doze/dama.cpp:409:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/dame.cpp:196:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setz dl\n"); ^ doze/dama.cpp:410:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,0x%.2x\n",DamPc,nNewPc); ^ doze/dame.cpp:197:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sbb byte [Tmp16+1],dh\n"); ^ doze/dame.cpp:200:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamaFlags(1,"byte [Tmp16+1]"); // Get flags with overflow ^ doze/dame.cpp:201:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((op&8)==0) ot(" or ah,0x02 ; Set bit 1 - last operation was a subtraction\n"); ^ doze/dame.cpp:202:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or dl,0xfe ; 1111 1110 if high byte not zero\n"); ^ doze/dame.cpp:203:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dl,6 ; 1011 1111\n"); ^ doze/dame.cpp:204:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,dl ; Correct zero flag\n"); ^ doze/dame.cpp:206:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,word[Tmp16]\n"); ^ doze/dame.cpp:207:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",2,0); ^ doze/dame.cpp: In function 'int Dame_ED_01xx_x110(unsigned int)': doze/dame.cpp:228:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; im %d\n",i); ^ doze/dame.cpp:229:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov byte[DozeIM],%d\n",i); ^ doze/dame.cpp: In function 'int Dame_ED_01xx_x00x(unsigned int)': doze/dame.cpp:241:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",0,0); ^ doze/dame.cpp:246:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0x01 ; Remember carry\n"); ^ doze/dame.cpp:247:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/dame.cpp:248:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor ah,ah\n"); ^ doze/dame.cpp:249:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortIn ; Read port dl <-- di\n"); ^ doze/dame.cpp:250:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test dl,dl\n"); ^ doze/dame.cpp:251:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/dame.cpp:252:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc4 ; SZ-- -P--\n"); ^ doze/dame.cpp:253:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ-- -P-C\n"); ^ doze/dame.cpp:255:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (d!=6) DamPut8("dl",d,0); ^ doze/dame.cpp:260:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (d==6) ot("xor dl,dl\n"); else DamGet8("dl",d,0); ^ doze/dame.cpp:260:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (d==6) ot("xor dl,dl\n"); else DamGet8("dl",d,0); ^ doze/dame.cpp:261:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortOut ; Write port dl --> di\n"); ^ doze/dame.cpp: In function 'int Dame_ED_01xx_x101(unsigned int)': doze/dame.cpp:274:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; retn/i\n"); ^ doze/dame.cpp:275:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/dame.cpp:276:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/dame.cpp:277:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/dame.cpp:278:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add word [DozeSP],2\n"); ^ doze/dame.cpp:279:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,byte [DozeIFF+1]\n"); ^ doze/dame.cpp:280:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov byte [DozeIFF],dl ; iff1 <-- iff2\n"); ^ doze/dame.cpp: In function 'int Dame_ED_0110_x111(unsigned int)': doze/dame.cpp:294:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",6,0); ^ doze/dame.cpp:298:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; aaaa DDDD dddd, rotate <---\n"); ^ doze/dame.cpp:299:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dx,8 ; DDDD dddd ---- ----\n"); ^ doze/dame.cpp:300:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror al,4\n"); ^ doze/dame.cpp:301:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/dame.cpp:302:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror al,4\n"); ^ doze/dame.cpp:303:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dl,0xf0 ; DDDD dddd aaaa ----\n"); ^ doze/dame.cpp:304:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dx,4 ; dddd aaaa ---- DDDD\n"); ^ doze/dame.cpp:305:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and al,0xf0\n"); ^ doze/dame.cpp:306:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or al,dl ; GOT aaaa=DDDD\n"); ^ doze/dame.cpp:307:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,dh ; dddd aaaa dddd aaaa\n"); ^ doze/dame.cpp:308:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh ; ---- ---- dddd aaaa GOT new d\n"); ^ doze/dame.cpp:312:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; aaaa DDDD dddd, rotate --->\n"); ^ doze/dame.cpp:313:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dl,4 ; ---- ---- dddd DDDD\n"); ^ doze/dame.cpp:314:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dx,8 ; dddd DDDD ---- ----\n"); ^ doze/dame.cpp:315:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror al,4\n"); ^ doze/dame.cpp:316:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/dame.cpp:317:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror al,4\n"); ^ doze/dame.cpp:318:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dl,0xf0 ; dddd DDDD aaaa ----\n"); ^ doze/dame.cpp:319:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dx,4 ; DDDD aaaa ---- dddd\n"); ^ doze/dame.cpp:320:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and al,0xf0\n"); ^ doze/dame.cpp:321:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or al,dl ; GOT aaaa=dddd\n"); ^ doze/dame.cpp:322:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,dh ; DDDD aaaa DDDD aaaa\n"); ^ doze/dame.cpp:323:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh ; ---- ---- DDDD aaaa\n"); ^ doze/dame.cpp:324:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dl,4 ; ---- ---- aaaa DDDD GOT new d\n"); ^ doze/dame.cpp:327:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",6,0); ^ doze/dame.cpp:329:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/dame.cpp:330:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x01 ; Preserve Carry\n"); ^ doze/dame.cpp:331:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test al,al\n"); ^ doze/dame.cpp:332:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/dame.cpp:333:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc4 ; SZ-- -P--\n"); ^ doze/dame.cpp:334:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ-- -P-C\n"); ^ doze/dame.cpp: In function 'int DameOpEd(unsigned int)': doze/dame.cpp:349:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; ed 44 (and others) - neg\n"); ^ doze/dame.cpp:350:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0x01 ; Remember carry\n"); ^ doze/dame.cpp:351:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/dame.cpp:352:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" neg al\n"); ^ doze/dame.cpp:353:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamaFlags(1,"al"); ^ doze/dame.cpp:354:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,0x02\n"); ^ doze/dame.cpp:366:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov bl,al ; ld r,a\n"); ^ doze/dame.cpp:367:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol bl,1\n"); ^ doze/dame.cpp:369:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(" mov byte [DozeIR+1],al ; ld i,a\n"); ^ doze/dame.cpp:377:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/dame.cpp:378:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x01 ; ---- ---C\n"); ^ doze/dame.cpp:382:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov al,bl\n"); ^ doze/dame.cpp:383:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror al,1 ; ld a,r\n"); ^ doze/dame.cpp:385:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(" mov al,byte [DozeIR+1] ; ld a,i\n"); ^ doze/dame.cpp:387:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test al,al\n"); ^ doze/dame.cpp:388:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/dame.cpp:389:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc0 ; SZ-- ----\n"); ^ doze/dame.cpp:390:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ-- ---C\n"); ^ doze/dame.cpp:391:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,al\n"); ^ doze/dame.cpp:392:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x28\n"); ^ doze/dame.cpp:393:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5- 3--C\n"); ^ doze/dame.cpp:394:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,byte [DozeIFF+1] ; get iff2\n"); ^ doze/dame.cpp:395:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,2\n"); ^ doze/dame.cpp:396:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x04\n"); ^ doze/dame.cpp:397:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5- 3V-C\n"); ^ g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damf.o doze/damf.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damj.o doze/damj.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damm.o doze/damm.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damo.o doze/damo.cpp doze/damf.cpp: In function 'int Damf_ED_101x_x00x(unsigned int)': doze/damf.cpp:14:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; cp/ld/i/d/r\n"); ^ doze/damf.cpp:15:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",2,0); ^ doze/damf.cpp:16:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ8\n"); ^ doze/damf.cpp:21:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/damf.cpp:22:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x01\n"); ^ doze/damf.cpp:23:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" cmp al,dl\n"); ^ doze/damf.cpp:24:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" lahf\n"); ^ doze/damf.cpp:25:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xd0 ; SZ-H ----\n"); ^ doze/damf.cpp:26:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,0x02 ; SZ-H --N-\n"); ^ doze/damf.cpp:27:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ-H --NC\n"); ^ doze/damf.cpp:28:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Now work out A-(HL)-H: for bits 5 and 3\n"); ^ doze/damf.cpp:29:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dl,al\n"); ^ doze/damf.cpp:30:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" neg dl ; A-(HL)\n"); ^ doze/damf.cpp:31:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/damf.cpp:32:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror dh,4\n"); ^ doze/damf.cpp:33:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x01\n"); ^ doze/damf.cpp:34:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dl,dh ; A-(HL)-H\n"); ^ doze/damf.cpp:39:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",1,0); ^ doze/damf.cpp:40:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE8\n"); ^ doze/damf.cpp:41:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc1 ; SZ-H --NC (SZC preserved, H=0, N=0)\n"); ^ doze/damf.cpp:42:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Now work out A+(HL): for bits 5 and 3\n"); ^ doze/damf.cpp:43:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add dl,al\n"); ^ doze/damf.cpp:46:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damf.cpp:47:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test dl,0x02 ; Bit 5 is copied from bit 1\n"); ^ doze/damf.cpp:48:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setnz dh\n"); ^ doze/damf.cpp:49:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,5\n"); ^ doze/damf.cpp:50:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5H --NC\n"); ^ doze/damf.cpp:52:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,dl\n"); ^ doze/damf.cpp:53:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x08\n"); ^ doze/damf.cpp:54:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5H 3-NC\n"); ^ doze/damf.cpp:58:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Update DE\n"); ^ doze/damf.cpp:59:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/damf.cpp:59:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/damf.cpp:60:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("%s\n",DamLoc16(1,0)); ^ doze/damf.cpp:63:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Update HL\n"); ^ doze/damf.cpp:64:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/damf.cpp:64:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec "); else ot(" inc "); ^ doze/damf.cpp:65:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("%s\n",DamLoc16(2,0)); ^ doze/damf.cpp:67:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Update BC\n"); ^ doze/damf.cpp:68:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" dec %s\n",DamLoc16(0,0)); ^ doze/damf.cpp:70:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Check if BC==0\n"); ^ doze/damf.cpp:71:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damf.cpp:72:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test %s,0xffff\n",DamLoc16(0,0)); ^ doze/damf.cpp:73:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setnz dh\n"); ^ doze/damf.cpp:74:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,2\n"); ^ doze/damf.cpp:75:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5H 3VNC\n"); ^ doze/damf.cpp:80:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Stop repeating if BC==0\n"); ^ doze/damf.cpp:81:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test ah,0x04 ; ---- -V--\n"); ^ doze/damf.cpp:82:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jz Done%d\n",Lab); ^ doze/damf.cpp:86:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Stop repeating if a-(HL) == 0\n"); ^ doze/damf.cpp:87:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test ah,0x40 ; -Z-- ----\n"); ^ doze/damf.cpp:88:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jnz Done%d\n",Lab); ^ doze/damf.cpp:91:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Repeat instruction\n"); ^ doze/damf.cpp:92:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" INC_R\n"); ^ doze/damf.cpp:96:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("Done%d:\n",Lab++); ^ doze/damf.cpp: In function 'int Damf_ED_101x_x11x(unsigned int)': doze/damf.cpp:109:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Repeating I/O\n"); ^ doze/damf.cpp:113:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Read port (bc)\n"); ^ doze/damf.cpp:114:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",0,0); ^ doze/damf.cpp:115:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortIn ; Read port dl <-- di\n"); ^ doze/damf.cpp:116:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov bh,dl ; Remember port byte\n"); ^ doze/damf.cpp:117:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Write to (hl)\n"); ^ doze/damf.cpp:118:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",2,0); ^ doze/damf.cpp:119:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE8\n"); ^ doze/damf.cpp:123:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Read from (hl)\n"); ^ doze/damf.cpp:124:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",2,0); ^ doze/damf.cpp:125:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ8\n"); ^ doze/damf.cpp:126:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov bh,dl ; Remember port byte\n"); ^ doze/damf.cpp:129:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&8) ot(" dec di ; Decrement hl\n"); ^ doze/damf.cpp:130:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(" inc di ; Increment hl\n"); ^ doze/damf.cpp:131:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("di",2,0); ^ doze/damf.cpp:135:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Write to port (bc)\n"); ^ doze/damf.cpp:136:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",0,0); ^ doze/damf.cpp:137:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortOut ; Write port dl --> di\n"); ^ doze/damf.cpp:140:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Decrease b\n"); ^ doze/damf.cpp:141:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",0,0); ^ doze/damf.cpp:142:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" dec dl\n"); ^ doze/damf.cpp:143:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",0,0); ^ doze/damf.cpp:145:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damf.cpp:146:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov ah,byte [DecFlag+edx] ; flags based on dec b\n"); ^ doze/damf.cpp:147:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xe8 ; SZ5- 3---\n"); ^ doze/damf.cpp:149:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get negative bit from the port byte\n"); ^ doze/damf.cpp:150:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,bh\n"); ^ doze/damf.cpp:151:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,2\n"); ^ doze/damf.cpp:152:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,2\n"); ^ doze/damf.cpp:153:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5- 3-N-\n"); ^ doze/damf.cpp:155:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get H and C based on c + byte\n"); ^ doze/damf.cpp:156:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",1,0); ^ doze/damf.cpp:157:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec dl\n"); else ot(" inc dl\n"); ^ doze/damf.cpp:157:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op&1) ot(" dec dl\n"); else ot(" inc dl\n"); ^ doze/damf.cpp:158:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add dl,bh\n"); ^ doze/damf.cpp:159:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" setc dl\n"); ^ doze/damf.cpp:160:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dl,1\n"); ^ doze/damf.cpp:161:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,dl\n"); ^ doze/damf.cpp:162:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,4\n"); ^ doze/damf.cpp:163:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or dl,dh\n"); ^ doze/damf.cpp:164:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dl ; SZ5H 3-NC\n"); ^ doze/damf.cpp:168:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("; Stop repeating if B==0\n"); ^ doze/damf.cpp:169:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test ah,0x40\n"); ^ doze/damf.cpp:170:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jnz IoStop%d\n",Lab); ^ doze/damf.cpp:171:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Repeat instruction\n"); ^ doze/damf.cpp:172:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" INC_R\n"); ^ doze/damf.cpp:176:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("IoStop%d:\n",Lab++); ^ doze/damf.cpp:177:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,0x04 ; SZ5H 3VNC\n"); ^ doze/damj.cpp: In function 'int DamJumpTab()': doze/damj.cpp:10:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n\n"); ^ doze/damj.cpp:24:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==0) ot("JumpTab: ; Normal opcodes:\n"); ^ doze/damj.cpp:25:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==1) ot("JumpTabCB: ; CBxx opcodes:\n"); ^ doze/damj.cpp:26:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==2) ot("JumpTabED: ; EDxx opcodes:\n"); ^ doze/damj.cpp:27:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==3) ot("JumpTabDD: ; DDxx opcodes:\n"); ^ doze/damj.cpp:28:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==4) ot("JumpTabFD: ; FDxx opcodes:\n"); ^ doze/damj.cpp:29:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==5) ot("JumpTabDDCB: ; DDCB__xx opcodes:\n"); ^ doze/damj.cpp:30:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (t==6) ot("JumpTabFDCB: ; FDCB__xx opcodes:\n"); ^ doze/damj.cpp:33:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (((i+0)&0x0f)==0) ot("dd "); ^ doze/damj.cpp:35:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("Op%.2X",nTarget); ^ doze/damj.cpp:37:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (((i+1)&0x0f)==0) ot("\n"); ^ doze/damj.cpp:38:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(","); ^ doze/damj.cpp:40:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op==0xff) ot("\n"); ^ doze/damj.cpp:42:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o doze/damt.o doze/damt.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/area.o mast/area.cpp doze/damo.cpp: In function 'int DamoOp(unsigned int)': doze/damo.cpp:9:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 00 - nop\n"); ^ doze/damo.cpp:18:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 02 - ld (bc),a\n"); ^ doze/damo.cpp:19:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Save address:\n"); ^ doze/damo.cpp:20:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",0,0); ^ doze/damo.cpp:21:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/damo.cpp:22:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE8 ; Save to address\n"); ^ doze/damo.cpp:30:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 08 - ex af,af'\n"); ^ doze/damo.cpp:31:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol ax,8\n"); ^ doze/damo.cpp:32:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,ax\n"); ^ doze/damo.cpp:33:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov ax,word [DozeAF2]\n"); ^ doze/damo.cpp:34:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [DozeAF2],dx\n"); ^ doze/damo.cpp:35:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol ax,8\n"); ^ doze/damo.cpp:43:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 0a - ld a,(bc)\n"); ^ doze/damo.cpp:44:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Load address:\n"); ^ doze/damo.cpp:45:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",0,0); ^ doze/damo.cpp:46:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ8 ; Load from address\n"); ^ doze/damo.cpp:47:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov al,dl\n"); ^ doze/damo.cpp:57:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 10 nn - djnz +nn\n"); ^ doze/damo.cpp:59:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet8("dl",0,0); ^ doze/damo.cpp:60:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" dec dl\n"); ^ doze/damo.cpp:61:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jnz BNotZero%d\n",Lab); ^ doze/damo.cpp:62:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",0,0); ^ doze/damo.cpp:65:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("BNotZero%d:\n",Lab++); ^ doze/damo.cpp:66:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut8("dl",0,0); ^ doze/damo.cpp:67:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Jump offset:\n"); ^ doze/damo.cpp:69:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:70:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dl,0x80\n"); ^ doze/damo.cpp:71:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dx,0x80\n"); ^ doze/damo.cpp:72:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add %s,dx\n",DamPc); ^ doze/damo.cpp:80:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 02 - ld (de),a\n"); ^ doze/damo.cpp:81:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Save address:\n"); ^ doze/damo.cpp:82:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",1,0); ^ doze/damo.cpp:83:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/damo.cpp:84:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE8 ; Save to address\n"); ^ doze/damo.cpp:91:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 18 nn - jr +nn\n"); ^ doze/damo.cpp:93:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Jump offset:\n"); ^ doze/damo.cpp:95:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:96:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dl,0x80\n"); ^ doze/damo.cpp:97:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dx,0x80\n"); ^ doze/damo.cpp:98:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add %s,dx\n",DamPc); ^ doze/damo.cpp:106:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 0a - ld a,(de)\n"); ^ doze/damo.cpp:107:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Load address:\n"); ^ doze/damo.cpp:108:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",1,0); ^ doze/damo.cpp:109:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ8 ; Load from address\n"); ^ doze/damo.cpp:110:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov al,dl\n"); ^ doze/damo.cpp:118:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 27 - daa\n"); ^ doze/damo.cpp:119:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/damo.cpp:120:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ror dh,2 ;H-- ---- ----\n"); ^ doze/damo.cpp:121:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dx,0x400\n"); ^ doze/damo.cpp:122:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ax,0x3ff\n"); ^ doze/damo.cpp:123:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or dx,ax ; HNC nnnn nnnn\n"); ^ doze/damo.cpp:124:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov ax,word[DaaTable+edx*2] ; Get flags and value in one go\n"); ^ doze/damo.cpp:132:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 2f - cpl\n"); ^ doze/damo.cpp:133:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc5 ; SZ-- -P-C\n"); ^ doze/damo.cpp:134:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" not al\n"); ^ doze/damm.cpp: In function 'char* DamLoc8(int, int)': doze/damm.cpp:7:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==0) return "byte [DozeBC+1]"; ^~~~~~~~~~~~~~~~~ doze/damm.cpp:8:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==1) return "byte [DozeBC]"; ^~~~~~~~~~~~~~~ doze/damo.cpp:135:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,0x12 ; SZ-H -PNC\n"); ^ doze/damo.cpp:136:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,al\n"); ^ doze/damm.cpp:9:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==2) return "byte [DozeDE+1]"; ^~~~~~~~~~~~~~~~~ doze/damo.cpp:137:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x28\n"); ^ doze/damm.cpp:10:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==3) return "byte [DozeDE]"; ^~~~~~~~~~~~~~~ doze/damm.cpp:13:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xdd) return "byte [DozeIX+1]"; ^~~~~~~~~~~~~~~~~ doze/damo.cpp:138:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; SZ5H 3PNC\n"); ^ doze/damm.cpp:14:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xfd) return "byte [DozeIY+1]"; ^~~~~~~~~~~~~~~~~ doze/damm.cpp:15:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "ch"; ^~~~ doze/damo.cpp:146:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 32 nn nn - ld ($nnnn),a\n"); ^ doze/damo.cpp:147:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Save address:\n"); ^ doze/damm.cpp:19:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xdd) return "byte [DozeIX]"; ^~~~~~~~~~~~~~~ doze/damm.cpp:20:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xfd) return "byte [DozeIY]"; ^~~~~~~~~~~~~~~ doze/damo.cpp:149:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/damm.cpp:21:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "cl"; ^~~~ doze/damo.cpp:150:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/damm.cpp:23:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==7) return "al"; ^~~~ doze/damm.cpp:24:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ doze/damo.cpp:151:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE8 ; Save to address\n"); ^ doze/damo.cpp:159:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 37 - scf - set carry flag\n"); ^ doze/damo.cpp:160:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc4\n"); ^ doze/damo.cpp:161:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,0x01\n"); ^ doze/damm.cpp: In function 'int DamGet8(char*, int, int)': doze/damm.cpp:39:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==6) { ot(" DAM_READ8\n"); return 0; } ^ doze/damm.cpp:40:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,%s\n",To,DamLoc8(r,Ext)); ^ doze/damo.cpp:169:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 3a nn nn - ld a,($nnnn)\n"); ^ doze/damo.cpp:170:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get Load address:\n"); ^ doze/damm.cpp: In function 'int DamPut8(char*, int, int)': doze/damm.cpp:47:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==6) { ot(" DAM_WRITE8\n"); return 0; } ^ doze/damo.cpp:172:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/damo.cpp:173:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ8 ; Load from address\n"); ^ doze/damm.cpp:48:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,%s\n",DamLoc8(r,Ext),From); ^ doze/damo.cpp:174:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov al,dl\n"); ^ doze/damm.cpp: In function 'char* DamLoc16(int, int)': doze/damm.cpp:54:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==0) return "word [DozeBC]"; ^~~~~~~~~~~~~~~ doze/damm.cpp:55:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==1) return "word [DozeDE]"; ^~~~~~~~~~~~~~~ doze/damo.cpp:182:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; 3f - ccf - complement carry flag\n"); ^ doze/damo.cpp:183:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,ah\n"); ^ doze/damm.cpp:58:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xdd) return "word [DozeIX]"; ^~~~~~~~~~~~~~~ doze/damm.cpp:59:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0xfd) return "word [DozeIY]"; ^~~~~~~~~~~~~~~ doze/damo.cpp:184:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and ah,0xc5\n"); ^ doze/damm.cpp:60:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return "cx"; ^~~~ doze/damo.cpp:185:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" rol dh,4\n"); ^ doze/damm.cpp:62:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (r==3) return "word [DozeSP]"; ^~~~~~~~~~~~~~~ doze/damo.cpp:186:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor ah,0x01\n"); ^ doze/damm.cpp:63:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] return ""; ^~ doze/damo.cpp:187:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" and dh,0x10\n"); ^ doze/damo.cpp:188:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" or ah,dh ; H is last Carry value\n"); ^ doze/damm.cpp: In function 'int DamGet16(char*, int, int)': doze/damm.cpp:69:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,%s\n",To,DamLoc16(r,Ext)); ^ doze/damo.cpp:196:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; c3 nn nn - jp $nnnn\n"); ^ doze/damm.cpp: In function 'int DamPut16(char*, int, int)': doze/damm.cpp:76:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,%s\n",DamLoc16(r,Ext),From); ^ doze/damo.cpp:198:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/damm.cpp: In function 'void DamIxIyOffset(int)': doze/damm.cpp:83:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Get IX/IY offset into di\n"); ^ doze/damm.cpp:85:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:206:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; c9 - ret\n"); ^ doze/damm.cpp:86:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dl,0x80\n"); ^ doze/damo.cpp:207:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/damm.cpp:87:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub dx,0x80\n"); ^ doze/damo.cpp:208:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_READ16\n"); ^ doze/damm.cpp:88:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/damo.cpp:209:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/damo.cpp:210:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" add word [DozeSP],2\n"); ^ doze/damm.cpp: In function 'void DamGetHL(int)': doze/damm.cpp:95:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (Ext==0) DamGet16("di",2,Ext); ^ doze/damo.cpp:218:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; %x - extend opcode, take 4 cycles\n",op); ^ doze/damm.cpp:96:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(" add di,%s\n",DamLoc16(2,Ext)); ^ doze/damo.cpp:221:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:222:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jmp [JumpTabCB+edx*4]\n\n"); ^ doze/damm.cpp: In function 'int DamMacros()': doze/damm.cpp:109:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damm.cpp:139:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damo.cpp:229:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; cd nn nn - call $nnnn\n"); ^ doze/damm.cpp:209:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damo.cpp:230:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub word [DozeSP],2\n"); ^ doze/damo.cpp:231:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word [DozeSP]\n"); ^ doze/damm.cpp:214:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damo.cpp:233:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dx,%s\n",DamPc); ^ doze/damm.cpp:221:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damm.cpp:227:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ); ^ doze/damo.cpp:234:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" DAM_WRITE16\n"); ^ doze/damo.cpp:236:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/damm.cpp: In function 'int DamAddPc(int)': doze/damm.cpp:234:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (n== 1) ot(" inc %s\n",DamPc); ^ doze/damo.cpp:244:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; %x - extend opcode, take another 4 cycles\n",op); ^ doze/damm.cpp:235:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (n==-1) ot(" dec %s\n",DamPc); ^ doze/damo.cpp:246:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Fetch op, and skip the I?+nn byte:\n"); ^ doze/damm.cpp:236:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (n > 0) ot(" add %s,%d\n",DamPc, n); ^ doze/damo.cpp:248:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damm.cpp:237:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (n < 0) ot(" sub %s,%d\n",DamPc,-n); ^ doze/damo.cpp:249:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (op==0xfdcb) ot(" jmp [JumpTabFDCB+edx*4]\n"); ^ doze/damo.cpp:250:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else ot(" jmp [JumpTabDDCB+edx*4]\n"); ^ doze/damm.cpp: In function 'int DamFetch(int, int)': doze/damm.cpp:245:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nRel== 1) ot(" inc si\n"); ^ g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/dpsg.o mast/dpsg.cpp doze/damm.cpp:246:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel==-1) ot(" dec si\n"); ^ doze/damo.cpp:257:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; d3 nn - out ($nn),a\n"); ^ doze/damm.cpp:247:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel > 0) ot(" add si,%d\n", nRel); ^ doze/damo.cpp:259:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,al ; Fill high port byte with a\n"); ^ doze/damm.cpp:248:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel < 0) ot(" sub si,%d\n",-nRel); ^ doze/damo.cpp:260:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/damm.cpp:250:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nSize==2) ot(" DAM_FETCH16\n"); ^ doze/damo.cpp:261:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dl,al\n"); ^ doze/damm.cpp:251:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nSize==1) ot(" DAM_FETCH8\n"); ^ doze/damo.cpp:262:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortOut ; Write port dl --> di\n"); ^ doze/damm.cpp:255:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if (nRel== 1) ot(" inc si\n"); ^ doze/damm.cpp:256:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel==-1) ot(" dec si\n"); ^ doze/damo.cpp:270:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; db nn - in a,($nn)\n"); ^ doze/damm.cpp:257:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel > 0) ot(" add si,%d\n", nRel); ^ doze/damo.cpp:272:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov dh,al ; Fill high port byte with a\n"); ^ doze/damm.cpp:258:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] else if (nRel < 0) ot(" sub si,%d\n",-nRel); ^ doze/damo.cpp:273:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,dx\n"); ^ doze/damo.cpp:274:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" call PortIn ; Read port dl <-- di\n"); ^ doze/damo.cpp:275:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov al,dl\n"); ^ doze/damo.cpp:283:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; exx - flip registers BC,DE and HL with prime registers\n"); ^ doze/damo.cpp:285:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",0,0); ^ doze/damo.cpp:286:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word[DozeBC2]\n"); ^ doze/damo.cpp:287:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word[DozeBC2],dx\n"); ^ doze/damo.cpp:288:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("di",0,0); ^ doze/damo.cpp:290:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",1,0); ^ doze/damo.cpp:291:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word[DozeDE2]\n"); ^ doze/damo.cpp:292:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word[DozeDE2],dx\n"); ^ doze/damo.cpp:293:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("di",1,0); ^ doze/damo.cpp:295:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,0); ^ doze/damo.cpp:296:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov di,word[DozeHL2]\n"); ^ doze/damo.cpp:297:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word[DozeHL2],dx\n"); ^ doze/damo.cpp:298:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("di",2,0); ^ doze/damo.cpp:306:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; dd - extend opcode, take 4 cycles\n"); ^ doze/damo.cpp:309:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:310:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jmp [JumpTabDD+edx*4]\n\n"); ^ doze/damo.cpp:319:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; e9 - jp (hl) - PC <- HL/IX/IY\n"); ^ doze/damo.cpp:320:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,Ext); ^ doze/damo.cpp:321:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov %s,dx\n",DamPc); ^ doze/damo.cpp:329:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; ed - extend opcode, take 4 cycles\n"); ^ doze/damo.cpp:332:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:333:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jmp [JumpTabED+edx*4]\n\n"); ^ doze/damo.cpp:340:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; ex de,hl (DE <==> HL)\n"); ^ doze/damo.cpp:341:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",1,0); ^ doze/damo.cpp:342:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("di",2,0); ^ doze/damo.cpp:343:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("dx",2,0); ^ doze/damo.cpp:344:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamPut16("di",1,0); ^ doze/damo.cpp:352:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; di - Disable Interrupts\n"); ^ doze/damo.cpp:353:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [DozeIFF],0x0000\n"); ^ doze/damo.cpp:362:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; f9 - ld sp,HL/IX/IY\n"); ^ doze/damo.cpp:364:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] DamGet16("dx",2,Ext); ^ doze/damo.cpp:365:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [DozeSP],dx\n"); ^ doze/damo.cpp:373:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; ei - Enable Interrupts\n"); ^ doze/damo.cpp:375:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; See if we need to quit after enabling interrupts\n"); ^ doze/damo.cpp:376:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" test word [_nDozeEi],1\n"); ^ doze/damo.cpp:377:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jz EiContinue\n"); ^ doze/damo.cpp:379:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" cmp word [DozeIFF],0x0101\n"); ^ doze/damo.cpp:380:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jz EiContinue ; Interrupts are already enabled\n"); ^ doze/damo.cpp:382:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; Yes: need to quit now\n"); ^ doze/damo.cpp:383:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [DozeIFF],0x0101\n"); ^ doze/damo.cpp:384:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [_nDozeEi],2\n"); ^ doze/damo.cpp:385:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub %s,4\n",DamCycles); ^ doze/damo.cpp:386:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jmp DozeRunEnd\n\n"); ^ doze/damo.cpp:387:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("EiContinue:\n"); ^ doze/damo.cpp:388:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" mov word [DozeIFF],0x0101\n"); ^ doze/damo.cpp:389:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" sub %s,4\n",DamCycles); ^ doze/damo.cpp:390:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" FETCH_OP\n\n"); ^ doze/damo.cpp:397:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" ; fd - extend opcode, take 4 cycles\n"); ^ doze/damo.cpp:400:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" xor dh,dh\n"); ^ doze/damo.cpp:401:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot(" jmp [JumpTabFD+edx*4]\n"); ^ g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/draw.o mast/draw.cpp doze/damt.cpp: In function 'int DamTables()': doze/damt.cpp:8:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("IncFlag:\n"); ^ doze/damt.cpp:19:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)== 0) ot("db "); ^ doze/damt.cpp:20:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("0x%.2x",f); ^ doze/damt.cpp:21:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)< 15) ot(","); else ot("\n"); ^ doze/damt.cpp:21:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)< 15) ot(","); else ot("\n"); ^ doze/damt.cpp:23:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ doze/damt.cpp:25:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("DecFlag:\n"); ^ doze/damt.cpp:36:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)== 0) ot("db "); ^ doze/damt.cpp:37:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("0x%.2x",f); ^ doze/damt.cpp:38:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)< 15) ot(","); else ot("\n"); ^ doze/damt.cpp:38:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((r&15)< 15) ot(","); else ot("\n"); ^ doze/damt.cpp:40:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ doze/damt.cpp:44:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("DaaTable: ;(HNC nnnn nnnn)\n"); ^ doze/damt.cpp:97:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((d&15)== 0) ot("dw "); ^ doze/damt.cpp:98:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("0x%.4x",(f<<8)|e); ^ doze/damt.cpp:99:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((d&15)<15) ot(","); else ot(" ; %.3x\n",d-15); ^ doze/damt.cpp:99:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ((d&15)<15) ot(","); else ot(" ; %.3x\n",d-15); ^ doze/damt.cpp:101:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ot("\n"); ^ gcc -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/emu2413.o mast/emu2413.c g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/frame.o mast/frame.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/load.o mast/load.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/map.o mast/map.cpp mast/load.cpp: In function 'int MastLoadRom(char*, unsigned char**, int*)': mast/load.cpp:30:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(Mem,1,Len,h); ~~~~~^~~~~~~~~~~~~ g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/mast.o mast/mast.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/mem.o mast/mem.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/samp.o mast/samp.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/snd.o mast/snd.cpp g++ -O3 -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Imast -Idoze -D__cdecl= -fno-exceptions -D_GLIBCXX_USE_C99_MATH=1 -c -o mast/vgm.o mast/vgm.cpp gcc -o doze/dam doze/dam.o doze/dama.o doze/damc.o doze/dame.o doze/damf.o doze/damj.o doze/damm.o doze/damo.o doze/damt.o cd doze ; ./dam sed -f doze/doze.cmd.sed doze/dozea.asm.new mv doze/dozea.asm.new doze/dozea.asm nasm -f elf doze/dozea.asm gcc -o dega sdl/main.o doze/doze.o doze/dozea.o mast/area.o mast/dpsg.o mast/draw.o mast/emu2413.o mast/frame.o mast/load.o mast/map.o mast/mast.o mast/mem.o mast/samp.o mast/snd.o mast/vgm.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm ================================================================================ ================================================================================ Build dependencies to remove: 14 Removing: libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev nasm sdl sdl-dev tslib tslib-dev xorgproto Pack: dega 1.12 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "dega-1.12-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/dega-1.12... Done Checking site script in source/dega-1.12... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: dega 1.12 ================================================================================ Src file : dega-1.12.tar.gz Src size : 100.0K Source dir : 2.1M Cook time : 16s Cook date : 2020-07-19 20:46 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 404.0K : 82.3K : 1 : dega-1.12-i486.tazpkg ================================================================================