| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | VioGetPhysBuf 2/ |
>>> Continued from previous message
viocreg.cb = sizeof(VIOCOLORREG);
viocreg.type = 3; /* Apparently no #define for this */
viocreg.firstcolorreg = 0;
viocreg.numcolorregs = size;
viocreg.colorregaddr=palette;
VioSetState(&viocreg, (HVIO) 0);
};
int lockgraph(void) {
unsigned char status;
VioScrLock(VP_WAIT, &status, (HVIO) 0);
return(grOk);
};
int unlockgraph(void) {
VioScrUnLock((HVIO) 0);
return(grOk);
};
int graphblit(void *buf, int width, int height) {
if (debug) return(-10);
lockgraph();
memcpy(VGARAMptr,buf,width*height);
unlockgraph();
return(grOk);
};
___
X SLMR 2.1a X recursive (ree 'cuhr siv) adj. - see recursive.
--- Maximus/2 2.01wb
* Origin: The Idle Task... (604)275-0835 Richmond BC. (1:153/905)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809 @PATH: 153/905 828 800 270/101 712/515 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.