Re: more pixel questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

>The video memory, is not managed in the same way as the other parts of
>memory. Which are thanks to Euphoria (causeway dos extender actually)
>flat.
>We can acces the memory as if it is a long one dimension sequence. But
>actually it is not. At least, not for the video memory.

>First of all, know, that poking in MCGA (Eu-mode 19) actually splits
>up the bytes over a line of 4. So of you poke {1,2,3} it pokes 1, skips
>three, pokes 2, skips three, pokes 3. The video card expects this. And
will
>load it up like that. Why is this done ? Internally the videocard always
>does things 4-bytes by 4-bytes. It's the size of an fast machine
integer,
>speed is quite crucial for a video card.

First: I thought that Mode 19 was the only flat mode video mode? (All
others are different. That's why Mode 19 is the fastest, as well as why
the double-buffer is 64000 bytes long. (320 * 200) Read this in a C Game
Programming book a while back.)

Second: poke() only sends the lower 8 bytes of the number. (Sorta like
remainder(value, 256)) This is in LIBRARY.DOC.


_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu