News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Masm32 Version 10 Examples Source & ABh Character

Started by UtillMasm, April 29, 2009, 11:54:34 AM

Previous topic - Next topic

UtillMasm

Masm32 Version 10 Examples Source & ABh Character

ahe ABh character in many source files.

qeditor.exe can not display this character,
i want to know, this character looks like what?

anybody post a picutre? :wink

dedndave

"1/2" ?
½

AB hex = 171 dec

to generate the character, hold down the Alt key, then use the 10-key pad to enter 171
when you release the Alt key, the character is generated
this works for most characters (not 0, though)
of course, 0Dh or 0Ah generate carriage return or line-feed

attached is a screen-shot of it in Q Editor

[attachment deleted by admin]

UtillMasm

open a hex editor, input AB, and save as test.txt.
this test.txt file only one byte ABh.
open test.txt in qeditor.

then capture a picture.

dedndave

worked fine for me


[attachment deleted by admin]

hutch--

UtillMasm,

The technique that Dave suggested works on a normal western US keyboard but you may be using a different keyboard layout. Try using the ALT key with numbers below 32 to see if you dsisplay unusual characters. The other fator is if you are using a non US version of Windows the font may have different characters about 127 which may give you a different display character.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

dedndave

hmmmm - that 10-key-pad character generation is done in the BIOS
i think he may have a prob generating the test file
i opened notepad and used the 10-key-pad to generate the file
it's size is 1 byte
if he creates the file with a hex editor, perhaps he is generating a 0-byte length file

UtillMasm

on my computer,
it looks like empty! :(

[attachment deleted by admin]

dedndave


dedndave

oh - you are using RadAsm editor - i am using Hutch's Q Editor

UtillMasm


dedndave

huh ?
lol
sumpin not right, here - lol
hmmmmmm
Alt - 174
«
this time, the zip has the screen-shot and the text file
i modified the file with debug, so i know it is ABh, now - lol


[attachment deleted by admin]

dedndave

hmmmmmm
it appears that windows re-maps the character set generated by the keyboard in this manner
i have no easy way to view the bios data area to see for sure
0ABh is 171 dec, right ? - lol

UtillMasm

big thanks!

this ABh is so beautiful!
this is my first time to see it.

dedndave

i'm glad you like it - lol
that'll be $50
who's the ping-pong cutie ?

UtillMasm