The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: daydreamer on October 20, 2009, 03:35:52 PM

Title: procedural texturing
Post by: daydreamer on October 20, 2009, 03:35:52 PM
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
Title: Re: procedural texturing
Post by: 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
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
Title: Re: procedural texturing
Post by: daydreamer on October 21, 2009, 03:21:21 PM
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
Title: Re: procedural texturing
Post by: FORTRANS on October 21, 2009, 03:47:00 PM
Hi,

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

Regards,

Steve