06-04-2003, 12:47 AM
Quote:has over 45?
You have more functions in 7.1 ... like ON LOCAL ERROR , etc .. and lots of useless functions ! lol
Is usage of expanded memory the only advantage that qb71...
|
06-04-2003, 12:47 AM
Quote:has over 45? You have more functions in 7.1 ... like ON LOCAL ERROR , etc .. and lots of useless functions ! lol
06-04-2003, 01:30 AM
Quote:Can I make a SUB containing "SCREEN 13" compile it, Nope. Mainly 'cause every QB function/command relies heavily on its runtime library.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
06-17-2003, 12:52 AM
SCREEN 13 under C:
#define VIDEO_INT 0x10 /* the BIOS video interrupt. */ #define SET_MODE 0x00 /* BIOS function to set the video mode. */ #define VGA_256_COLOR_MODE 0x13 /* use to set 256-color mode. */ #define TEXT_MODE 0x03 /* use to set 80x25 text mode. */ void set_mode(byte mode) { union REGS regs; regs.h.ah = SET_MODE; regs.h.al = mode; int86(VIDEO_INT, ®s, ®s); } This code will do it, then draw on the screen using the memory location A000 (A000:0000 - first pixel, A000:0001 - second pixel ...) |
« Next Oldest | Next Newest »
|