Fats vga graphics 
Author Message
 Fats vga graphics

On 4 Jul 1996 Tyler.Barnes said:
 Ty>KB>I've got a question though... Is ModeX 320x200? I can't really
 Ty>KB>determine it from the Source code I have... Best I can make out
 Ty>KB>is that it's like 160x200 or something, hardly worth the trouble.
 Ty>KB>`[1;31;45mNet-Tamer V 1.04 - Test Drive
 Ty>It's 320x200
I've been tinkering with it a bit.... I found a code snippit in ABC-July for
a 320x400-256c 2 page ModeX, but his explaination of the addressing scheme
was, to say the least, incomprehensible. Oy, anyway... Do you (or anyone)
know of any "manuals" on ModeX?
`[1;32;47mNet-Tamer V 1.04 - Test Drive



Tue, 22 Dec 1998 03:00:00 GMT  
 Fats vga graphics

Quote:

> On 4 Jul 1996 Tyler.Barnes said:
>  Ty>KB>I've got a question though... Is ModeX 320x200? I can't really
>  Ty>KB>determine it from the Source code I have... Best I can make out
>  Ty>KB>is that it's like 160x200 or something, hardly worth the trouble.
>  Ty>KB>`[1;31;45mNet-Tamer V 1.04 - Test Drive
>  Ty>It's 320x200
> I've been tinkering with it a bit.... I found a code snippit in ABC-July for
> a 320x400-256c 2 page ModeX, but his explaination of the addressing scheme
> was, to say the least, incomprehensible. Oy, anyway... Do you (or anyone)
> know of any "manuals" on ModeX?
> `[1;32;47mNet-Tamer V 1.04 - Test Drive

Those docs always make it sound tough.  Mode X uses bit planes--there are 4
bit planes for each pixel.  You select the bit planes using port 3C4h index
2.  Try this:

DEF SEG = &HA000    'CHANGE TO VIDEO SEG
OUT &H3C4, &H2          'INDEX 2
OUT &H3C5, &HFF         'SELECT ALL FOUR PLANES (4 BITS)
POKE 0, 14              'BLIT FOUR PIXELS

--
______________________________

Steven Sensarn

______________________________



Wed, 23 Dec 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Fats vga graphics

2. Accessing VGA graphics via GWBASIC/QBASIC

3. Custom Char in vga graphics mode?

4. QB 4.5 VGA GUI+Graphics

5. VGA Graphics help

6. Printing VGA graphics in QB 4.5

7. QBasic and VGA graphics question.

8. HELP - AUTOSIZING FORMS AND CONTROLS FOR VGA & S-VGA

9. Creating a web interface from a fat client

10. VGA Retrace

11. VGA ART|STS/MIDI COMPOSERS/SFX SPECIALISTS WANTED!

 

 
Powered by phpBB® Forum Software