DREAMWEB: 'delthisone' isn't used
This commit is contained in:
parent
018e304555
commit
0567d6cec5
3 changed files with 2 additions and 47 deletions
|
@ -169,6 +169,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||||
'getexpos',
|
'getexpos',
|
||||||
'paneltomap',
|
'paneltomap',
|
||||||
'obpicture',
|
'obpicture',
|
||||||
|
'delthisone',
|
||||||
], skip_output = [
|
], skip_output = [
|
||||||
# These functions are processed but not output
|
# These functions are processed but not output
|
||||||
'dreamweb',
|
'dreamweb',
|
||||||
|
|
|
@ -2766,50 +2766,6 @@ void DreamGenContext::createpanel2() {
|
||||||
showframe();
|
showframe();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DreamGenContext::delthisone() {
|
|
||||||
STACK_CHECK;
|
|
||||||
push(ax);
|
|
||||||
push(ax);
|
|
||||||
al = ah;
|
|
||||||
ah = 0;
|
|
||||||
_add(ax, data.word(kMapady));
|
|
||||||
bx = (320);
|
|
||||||
_mul(bx);
|
|
||||||
bx = pop();
|
|
||||||
bh = 0;
|
|
||||||
_add(bx, data.word(kMapadx));
|
|
||||||
_add(ax, bx);
|
|
||||||
di = ax;
|
|
||||||
ax = pop();
|
|
||||||
push(ax);
|
|
||||||
al = ah;
|
|
||||||
ah = 0;
|
|
||||||
bx = 22*8;
|
|
||||||
_mul(bx);
|
|
||||||
bx = pop();
|
|
||||||
bh = 0;
|
|
||||||
_add(ax, bx);
|
|
||||||
si = ax;
|
|
||||||
es = data.word(kWorkspace);
|
|
||||||
ds = data.word(kMapstore);
|
|
||||||
dl = cl;
|
|
||||||
dh = 0;
|
|
||||||
ax = (320);
|
|
||||||
_sub(ax, dx);
|
|
||||||
_neg(dx);
|
|
||||||
_add(dx, 22*8);
|
|
||||||
deloneloop:
|
|
||||||
push(cx);
|
|
||||||
ch = 0;
|
|
||||||
_movsb(cx, true);
|
|
||||||
cx = pop();
|
|
||||||
_add(di, ax);
|
|
||||||
_add(si, dx);
|
|
||||||
_dec(ch);
|
|
||||||
if (!flags.z())
|
|
||||||
goto deloneloop;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DreamGenContext::transferinv() {
|
void DreamGenContext::transferinv() {
|
||||||
STACK_CHECK;
|
STACK_CHECK;
|
||||||
di = data.word(kExframepos);
|
di = data.word(kExframepos);
|
||||||
|
@ -17776,7 +17732,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
|
||||||
case addr_createpanel2: createpanel2(); break;
|
case addr_createpanel2: createpanel2(); break;
|
||||||
case addr_vsync: vsync(); break;
|
case addr_vsync: vsync(); break;
|
||||||
case addr_doshake: doshake(); break;
|
case addr_doshake: doshake(); break;
|
||||||
case addr_delthisone: delthisone(); break;
|
|
||||||
case addr_transferinv: transferinv(); break;
|
case addr_transferinv: transferinv(); break;
|
||||||
case addr_transfermap: transfermap(); break;
|
case addr_transfermap: transfermap(); break;
|
||||||
case addr_fadedos: fadedos(); break;
|
case addr_fadedos: fadedos(); break;
|
||||||
|
|
|
@ -558,7 +558,6 @@ public:
|
||||||
static const uint16 addr_fadedos = 0xc248;
|
static const uint16 addr_fadedos = 0xc248;
|
||||||
static const uint16 addr_transfermap = 0xc244;
|
static const uint16 addr_transfermap = 0xc244;
|
||||||
static const uint16 addr_transferinv = 0xc240;
|
static const uint16 addr_transferinv = 0xc240;
|
||||||
static const uint16 addr_delthisone = 0xc214;
|
|
||||||
static const uint16 addr_doshake = 0xc20c;
|
static const uint16 addr_doshake = 0xc20c;
|
||||||
static const uint16 addr_vsync = 0xc208;
|
static const uint16 addr_vsync = 0xc208;
|
||||||
static const uint16 addr_createpanel2 = 0xc200;
|
static const uint16 addr_createpanel2 = 0xc200;
|
||||||
|
@ -1517,7 +1516,7 @@ public:
|
||||||
void usetempcharset();
|
void usetempcharset();
|
||||||
void discops();
|
void discops();
|
||||||
//void printdirect();
|
//void printdirect();
|
||||||
void delthisone();
|
//void delthisone();
|
||||||
//void makebackob();
|
//void makebackob();
|
||||||
void middlepanel();
|
void middlepanel();
|
||||||
void dumpwatch();
|
void dumpwatch();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue