Announcement

Collapse
No announcement yet.

What is it?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vladimir Shulakov
    replied
    Ok.
    I send trim code for Your.

    Regard,
    V.Shulakov




    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Vlad, can you trim the example down to a workable size? the code you sent does not run because of some sort of file-protection scheme that relies on file(s) you did not submit.

    If you can trim you code down to the *smallest* possible size, it will make life easier for us to experiment with it. Thanks!

    JFYI, I only have access to one machine with a Trio32 card, and I don't have access to any machines with 3D cards.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Vladimir Shulakov
    replied
    I send Your a code .
    Problems appears with =S3 Trio 3D/DX=
    and(other S3 Trio 3D) video adapters
    with videomem 4-16mb for WINDOWS 98.

    Regard
    V.Shualkov


    ------------------

    Leave a comment:


  • Lance Edmonds
    replied
    Can you post a complete (compilable) example to demonstrate the problem please?

    Thanks!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Vladimir Shulakov
    started a topic What is it?

    What is it?

    Hi
    I have odd situation.
    I test my program on computers with new 3dfx(16mb video memory) video adapter.
    And ,when video mode is modyfy - DDT is lose (don't work with
    new video mode) ??? .But DIB section is worked correctly !
    On other computers - program working good...

    I use this SUB for change video mode.
    I want to know - WHAT IS IT?
    Thank,
    Regard,
    V.Shualkov

    =====================================================
    SUB SetVideoMode(BYVAL SETMODE AS LONG) 'VIDEOMODE
    LOCAL dm AS DEVMODE
    IF SETMODE=0 THEN
    dm.dmPelsWidth = 1024
    dm.dmPelsHeight = 768
    ' dm.dmBitsPerPel = 32
    ELSE
    dm.dmPelsWidth = 800
    dm.dmPelsHeight = 600
    ' dm.dmBitsPerPel = 32
    END IF
    dm.dmSize = LEN(dm)
    dm.dmFields = %DM_PELSWIDTH + %DM_PELSHEIGHT' + %DM_BITSPERPEL
    ChangeDisplaySettings dm,%CDS_UPDATEREGISTRY
    END SUB

Working...
X
😀
🥰
🤢
😎
😡
👍
👎