News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

procedural texturing

Started by daydreamer, October 20, 2009, 03:35:52 PM

Previous topic - Next topic

daydreamer

recommend test it in dosbox
can it become smaller?
ok its not finished yet
want advice on howto easily create a good palette for it

dedndave

i ran it in a console window under XP MCE2005 (XP Pro) SP2
i got a black screen
i dunno if these (10Fh;112h;101h) are valid values...

    mov ah,4fh
    mov al,2
    mov bx,10Fh;112h;101h
    int 10h

bit 15 of BX is set if you do not want to clear the video buffer
i don't find any doc for bit 16, however
you might try 0Fh, 12h, 1

daydreamer

Quote from: dedndave on October 20, 2009, 04:45:05 PM
i ran it in a console window under XP MCE2005 (XP Pro) SP2
i got a black screen
bit 15 of BX is set if you do not want to clear the video buffer
i don't find any doc for bit 16, however
you might try 0Fh, 12h, 1
it is correct mode numbers
if you have too new video hardware its not sure it supports VESA modes
I am testing in 640x480 256 color, 640x480 16 million color(32bit), 320x200 16million color
its VESA mode numbers, it works on my old stationary AMD 2ghz with XP but I have to run dosbox on my new laptop because its too new hardware but I havent yet tested to put WinXP to run it in for example win95 compability mode etc

FORTRANS

Hi,

   Ran it full screen, and got the top third of the screen filled
with noise.

Regards,

Steve