Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. GCC & bitmap.c__

GCC & bitmap.c__

Scheduled Pinned Locked Moved C / C++ / MFC
graphicscomhelptutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tuan1111
    wrote on last edited by
    #1

    I write bitmap.c display bitmap > 256 color on screen But I have VGA card on board.Result bad color. How to: display bitmap > 256 color on screen ? Palette have ...color ? Struct of bitmap: Struct tagBITMAP{ Word w,h; Byte *data; Byte palette[256*3]; }BITMAP; Or answer is:1. Desktop> right button click\properties\Setting\Display:Plug & Play on intel(R) 82845G GL/GE/PE/GV Graphics Controller Color Qualtily:Hightest(32 bit) 2.I change 16 bit to 32 bit.how to do ? write boot.asm -> compiler NASM-> strip header -. not copy to floppy disk,I copt to CD-ROM,normal as floppy.Can I do ?:confused: Floppy is old man.clear it Help me How to:compile this code with NASM 2. --End,vietnam not register on www.osdev.org. Please,register osdev for me.Account:TUAN_OS My Mail:thoong00biet@yahoo.com.vn

    Z 1 Reply Last reply
    0
    • T tuan1111

      I write bitmap.c display bitmap > 256 color on screen But I have VGA card on board.Result bad color. How to: display bitmap > 256 color on screen ? Palette have ...color ? Struct of bitmap: Struct tagBITMAP{ Word w,h; Byte *data; Byte palette[256*3]; }BITMAP; Or answer is:1. Desktop> right button click\properties\Setting\Display:Plug & Play on intel(R) 82845G GL/GE/PE/GV Graphics Controller Color Qualtily:Hightest(32 bit) 2.I change 16 bit to 32 bit.how to do ? write boot.asm -> compiler NASM-> strip header -. not copy to floppy disk,I copt to CD-ROM,normal as floppy.Can I do ?:confused: Floppy is old man.clear it Help me How to:compile this code with NASM 2. --End,vietnam not register on www.osdev.org. Please,register osdev for me.Account:TUAN_OS My Mail:thoong00biet@yahoo.com.vn

      Z Offline
      Z Offline
      zhu_lin
      wrote on last edited by
      #2

      mark

      it's my pleasure to make friend with you.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups