Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem about font Pin
rxgmoral24-Oct-06 22:03
rxgmoral24-Oct-06 22:03 
GeneralRe: problem about font Pin
Hamid_RT25-Oct-06 19:31
Hamid_RT25-Oct-06 19:31 
QuestionProgramatically Open Folder Eplorer Pin
Imtiaz Murtaza24-Oct-06 18:17
Imtiaz Murtaza24-Oct-06 18:17 
AnswerRe: Programatically Open Folder Eplorer Pin
_AnsHUMAN_ 24-Oct-06 18:34
_AnsHUMAN_ 24-Oct-06 18:34 
AnswerRe: Programatically Open Folder Eplorer Pin
Hamid_RT24-Oct-06 19:26
Hamid_RT24-Oct-06 19:26 
GeneralRe: Programatically Open Folder Eplorer Pin
Imtiaz Murtaza24-Oct-06 19:28
Imtiaz Murtaza24-Oct-06 19:28 
GeneralRe: Programatically Open Folder Eplorer Pin
Hamid_RT24-Oct-06 19:35
Hamid_RT24-Oct-06 19:35 
QuestionPrinting CPU register values in ASM/C/C++ Pin
digitalmythology24-Oct-06 17:57
digitalmythology24-Oct-06 17:57 
First of all, you fellows really need an ASM forum in this place, so I won't have to ask all of my ASM questions in here. I do tie in most of my ASM code into C++ anyway, but its just disorganized to post it this way. I've been a member for over 3 years now and no ASM board? What's up with that? Other than that, it is a wonderfully great site ...

Anyway, on to my question. I need to :
1] print out the value in the AX register
2] I prefer to do it using int 10h, service 13h
[write string with attributes]
3] I need to be able to use the basic 16 colors
4] I need to be able to print it onto the screen
at any row and column that I wish
5] I can only use BIOS interrupts, so that means
10h for video, not 21h, since DOS will not be
loaded yet.

In summary, I need to display conventional memory size, and that means using int 12h. However the memory size is returned in AX, and I have no idea how to print that. I have googled things to death, and all I can come up with is 100s of sites telling me that it is returned in AX [duh ...] but how in the #$@% do I get to see AX ??!?
If I do not get that, then I get a bunch of hoo-hah about that awful NASM and such.

Apologies for all the griping, please help ...
Any ASM and / or C/C++ programmers feel free to
contact me via Y! messenger @ digitalmythology
or via e-mail @ digitalmythology@yahoo.com ...

Thanks in advance to all ...


-digitalmythology -dm
webmaster@digitalmythologywebdesigns.com
http://www.digitalmythologywebdesigns.com

AnswerRe: Printing CPU register values in ASM/C/C++ Pin
PJ Arends25-Oct-06 5:46
professionalPJ Arends25-Oct-06 5:46 
Questioncoding help? Pin
With_problem24-Oct-06 17:46
With_problem24-Oct-06 17:46 
Questionhow to show a box inside a dialog box? Pin
cyn824-Oct-06 15:42
cyn824-Oct-06 15:42 
AnswerRe: how to show a box inside a dialog box? Pin
Hamid_RT24-Oct-06 19:15
Hamid_RT24-Oct-06 19:15 
AnswerRe: how to show a box inside a dialog box? Pin
Cedric Moonen24-Oct-06 20:38
Cedric Moonen24-Oct-06 20:38 
GeneralRe: how to show a box inside a dialog box? Pin
cyn825-Oct-06 2:44
cyn825-Oct-06 2:44 
GeneralRe: how to show a box inside a dialog box? Pin
cyn826-Oct-06 6:09
cyn826-Oct-06 6:09 
QuestionCan't make any more buttons in VC++ / MFC (visual stuadio 2005). Pin
aquawicket24-Oct-06 15:30
aquawicket24-Oct-06 15:30 
AnswerRe: Can't make any more buttons in VC++ / MFC (visual stuadio 2005). Pin
PJ Arends24-Oct-06 17:45
professionalPJ Arends24-Oct-06 17:45 
GeneralRe: Can't make any more buttons in VC++ / MFC (visual stuadio 2005). Pin
aquawicket24-Oct-06 18:28
aquawicket24-Oct-06 18:28 
AnswerRe: Can't make any more buttons in VC++ / MFC (visual stuadio 2005). Pin
Hamid_RT24-Oct-06 19:51
Hamid_RT24-Oct-06 19:51 
AnswerRe: Can't make any more buttons in VC++ / MFC (visual stuadio 2005). Pin
Michael Dunn24-Oct-06 21:16
sitebuilderMichael Dunn24-Oct-06 21:16 
QuestionHow to set the backcolor of MS Excel cells Pin
freeman86824-Oct-06 15:08
freeman86824-Oct-06 15:08 
AnswerRe: How to set the backcolor of MS Excel cells Pin
fefe.wyx24-Oct-06 15:40
fefe.wyx24-Oct-06 15:40 
GeneralRe: How to set the backcolor of MS Excel cells Pin
freeman86824-Oct-06 21:48
freeman86824-Oct-06 21:48 
QuestionSetTimer Function Pin
Jader8924-Oct-06 12:51
Jader8924-Oct-06 12:51 
AnswerRe: SetTimer Function Pin
Mark Salsbery24-Oct-06 13:20
Mark Salsbery24-Oct-06 13:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.