-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path___135fch.c
More file actions
32 lines (22 loc) · 769 Bytes
/
___135fch.c
File metadata and controls
32 lines (22 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "drally.h"
extern __BYTE__ * ___1a1138h__VESA101_BACKGROUND; // 640*480
extern __BYTE__ * ___1a112ch__VESA101_ACTIVESCREEN_PTR; // 640*480
extern __BYTE__ * ___1a10b4h; // 640x10
#define COOXY(x,y) (0x280*(y)+(x))
void ___135fch(__DWORD__ A1, __DWORD__ A2, __DWORD__ A3, __DWORD__ A4){
int m, n;
n = -1;
while(++n < A4){
memcpy(&___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(A1+2,n+A2-4)], &___1a1138h__VESA101_BACKGROUND[COOXY(A1+2,n+A2-4)], A3-6);
}
m = -1;
while(++m < 0xa){
n = -1;
while(++n < 0x280){
if(___1a10b4h[COOXY(n,m)]){
___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(n,m+A2+1)] = ___1a10b4h[COOXY(n,m)];
___1a112ch__VESA101_ACTIVESCREEN_PTR[COOXY(n,m+A2+A4-9)] = ___1a10b4h[COOXY(n,m)];
}
}
}
}