//#include "lib/16text.h"\r
#include "lib/modex16.h"\r
\r
+global_game_variables_t gvar;\r
+\r
void main(int argc, char near *argv[])\r
{\r
//JMOJI\r
// static byte *rosa;\r
static word chx, chy, colpee;\r
textInit();\r
- modexEnter();\r
+ VGAmodeX(1, &gvar);\r
/* setup camera and screen~ */\r
screen = modexDefaultPage();\r
- screen.width += (16*2);\r
- screen.height += (16*2);\r
+ //screen.width += (16*2);\r
+ //screen.height += (16*2);\r
+//++++ modexShowPage(&screen);\r
//modexprint(16, 16, 1, 15, "wwww");\r
//getch();\r
chx=0;\r
colpee=32;\r
for(e=0x00; e<=0xFE; e++)\r
{\r
- if(chx+8>(SCREEN_WIDTH/2)-16)\r
+ if(chx+8>(screen.width/2))\r
{\r
chx=0;\r
chy+=8;\r
//modexprint(100, 100, 1, 47, 0, "wwww");\r
getch();\r
// modexprint(0, 0, 1, 0, colpee, &rose);\r
- modexprint(&screen, 0, 0, 0, 0, colpee, &ibmlogo);\r
+//++++ modexprint(&screen, 0, 0, 0, 0, colpee, &ibmlogo);\r
+ modexprintbig(&screen, 0, 0, 1, colpee, 0, "IBM");\r
// modexprint(0, 0, 1, 0, colpee, ROSE);\r
getch();\r
- modexLeave();\r
+ VGAmodeX(0, &gvar);\r
// rosa=malloc(sizeof(ROSE));\r
// (*rosa)=(byte)ROSE;\r
printf("\n%s\n", rose);\r