Thread: Bitmaps in assembly language

  1. #1
    Registered User
    Join Date
    Aug 2012

    Bitmaps in assembly language

    Hay everyone i am making pack man in assembly language i have no problem with the logic, but the objects are not looking good, all i need is a code to display a bitmap, i'm just a beginner so can't write it myself, i am using windows 7, and masm32, so anyone

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Copying a single row of pixels from one place to another is just a memcpy().
    Copying a bitmap is just a memcpy() in a loop.

    > but the objects are not looking good,
    Here's an idea - post a picture or two.
    • Press "print screen"
    • run mspaint (or your favourite image editing software)
    • paste the screen snapshot
    • use some clip tool to clip off all the irrelevant info, leaving just your interesting bitmap picture.
    • save and upload
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Maybe you're having trouble with alignment?
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assembly Language
    By vhj6 in forum Tech Board
    Replies: 4
    Last Post: 07-28-2012, 11:03 PM
  2. Assembly Language Help ;)
    By shrink_tubing in forum C++ Programming
    Replies: 24
    Last Post: 03-11-2011, 12:47 AM
  3. Assembly language ???
    By kinda in forum C Programming
    Replies: 7
    Last Post: 11-02-2010, 08:28 PM
  4. Assembly language in C
    By lruc in forum C Programming
    Replies: 5
    Last Post: 08-27-2008, 07:29 AM
  5. Assembly Language...
    By Yoshi in forum A Brief History of
    Replies: 18
    Last Post: 12-20-2001, 10:04 AM

Tags for this Thread