home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lang / asm / 577 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.4 KB  |  30 lines

  1. Newsgroups: alt.lang.asm
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.umr.edu!sfought
  3. From: sfought@cs.umr.edu (Shane Fought)
  4. Subject: graphics
  5. Date: Sun, 24 Jan 1993 02:03:48 GMT
  6. Nntp-Posting-Host: mcs213j.cs.umr.edu
  7. Organization: University of Missouri - Rolla, Rolla, MO
  8. Sender: cnews@umr.edu (UMR Usenet News Post)
  9. Message-ID: <1993Jan24.020348.17474@umr.edu>
  10. Lines: 18
  11.  
  12.      I am trying to learn how to do some graphics in tasm.  I just want to be able to light up some pixels on the screen in vga.  This is what I want to do..
  13.  
  14.           mov ah, 0
  15.           mov al, 12h ; vga I think
  16.           int 10h
  17.           mov bx, some value that will light up a pixel
  18.           mov [0b88], bx ; plug some value into video memory which starts at b800 I think
  19.           int 10h
  20.  
  21. But I get some errors doing this, something about invalid immediate value at the mov [0b88], bx..  If some one could help me out I would greatly appreciate it..  I need some pixels to light up in vga..  Thanks in advance.  Please either e-mail me or post here..
  22.  
  23.                                --Shane
  24.  
  25. -- 
  26. ===============================================================================
  27. |  "Jack in, Rock out, and feed your head..."    |    s112252@umrvma.umr.edu  |
  28. |    "If it's easy it ain't worth doin..."       |      sfought@cs.umr.edu    |
  29. ===============================================================================
  30.