Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kismetlafiete

  1. kismetlafiete

    clearing the keyboard buffer

    I couldnt get it to work with ah=0ch, but it did point me in the right direction to find that mov ah,08h int 21h works like a charm. Thanks for your help!
  2. kismetlafiete

    clearing the keyboard buffer

    If there is an edit button here I couldn't find it. Anyway, I wrote the values for ah above incorrectly... when ah = 1, the bios will not wait; when it is 0, it will wait for a key to be pressed.
  3. kismetlafiete

    clearing the keyboard buffer

    My classmate and I are working on a pong game for our final project in our assembly class this semster... it's completely finished, the one problem we have is getting the input. We use the 16h interrupt (ah = 0) to see if a key was pressed in order to move a paddle. The problem comes after...
  4. kismetlafiete

    putpixel via memory in mode 13h

    Yes, you are correct... here is the working code for drawing a pixel (assembler used was NASM): [ORG 0100h] ; set code start at 100h (COM file) [SECTION .text] ; code section follows START: mov ax,13h ; move the number of the mode to ax int 10h ; and enter the mode...
  5. kismetlafiete

    putpixel via memory in mode 13h

    Got it to work, thanks! Now, if I can only figure out page-flipping in asm :)
  6. kismetlafiete

    putpixel via memory in mode 13h

    So, I can get into mode 13h and use BIOS interrupts to handle drawing pixels, but it seems to be pretty slow. After doing a bit of internet research, I have read that it would be faster to do it in memory by using the equation "Mem [VGA:X+(Y*320)]=Color; where VGA is the starting point $a000...
  7. kismetlafiete

    Using FSINCOS

    So, how would I use it?
  8. kismetlafiete

    Using FSINCOS

    For my midterm project our instructor gave us a graphical program in qbasic that he wants us to translate into assembly. I've got pretty much everything figured out, how to initialize graphics mode and how to put a pixel where I want it. What I need now is some way to find the sine of certain...

Part and Inventory Search

Back
Top