Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > Assembly Language
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Assembly Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old October 21st, 2008, 11:52 AM
Registered User
 
Join Date: Oct 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to uppermore
Default How to control the direction in Assembly Language

Could someone please guide me how to control the directions
(up-down,left-right) without using the interrupt handler?


  #2 (permalink)  
Old January 10th, 2010, 07:10 AM
Authorized User
 
Join Date: Jan 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by uppermore View Post
Could someone please guide me how to control the directions
(up-down,left-right) without using the interrupt handler?
You need to hook the keyboard and process the scan codes.

This can ONLY be done on XP, and not Vista or Windows 7.

This is because low level support is slowly being out-moded by Windows.

For example, I cannot access the raw data on my hard drive under XP using assembly language. It just does not work.

Can I recommend a website I wrote called www.freshtings.com

This is a really good tutorial site for Windows XP Assembly Language programming.

You have the scan codes for up down left and right on site and maybe a tutorial you will need to find on how to 'hook' the keyboard under assembler.

It's pretty easy - also, check my code for a CLI on you tube - search for Assembly Language CLI on you tube and you'll see my source code for hooking and processing characters from the keyboard under XP!





Similar Threads
Thread Thread Starter Forum Replies Last Post
cool ebook for assembly Language virgoptrex Assembly Language 3 February 10th, 2016 09:31 PM
what is output command in assembly language chottachatri Assembly Language 0 January 28th, 2008 09:13 AM
Assembly Language - HELP Got Computer Assembly Language 0 May 24th, 2007 06:40 AM
assembly language project.... help earthdragon12 Assembly Language 0 July 22nd, 2006 07:20 AM
Compiling Assembly Language swenda C++ Programming 0 March 27th, 2006 05:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.