Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Assembly Language
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 21st, 2008, 12:52 PM
Registered User
 
Join Date: Oct 2008
Location: Bangkok, -, Thailand.
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?


Reply With Quote
  #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!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cool ebook for assembly Language virgoptrex Assembly Language 2 December 9th, 2014 06:23 AM
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 07:40 AM
assembly language project.... help earthdragon12 Assembly Language 0 July 22nd, 2006 08:20 AM
Compiling Assembly Language swenda C++ Programming 0 March 27th, 2006 05:46 AM



All times are GMT -4. The time now is 07:26 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.