The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: UtillMasm on April 29, 2009, 11:54:34 AM

Title: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 11:54:34 AM
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
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 01:13:52 PM
"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]
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 01:31:46 PM
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.
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 01:41:27 PM
worked fine for me


[attachment deleted by admin]
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: hutch-- on April 29, 2009, 01:44:52 PM
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.
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 01:47:11 PM
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
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 01:55:23 PM
on my computer,
it looks like empty! :(

[attachment deleted by admin]
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 01:56:49 PM
grab the test.zip file from my previous post and try it
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 01:59:51 PM
oh - you are using RadAsm editor - i am using Hutch's Q Editor
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 02:01:10 PM
your test.zip is BDh not ABh.
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 02:07:50 PM
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]
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 02:13:18 PM
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
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 02:13:31 PM
big thanks!

this ABh is so beautiful!
this is my first time to see it.
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 02:14:59 PM
i'm glad you like it - lol
that'll be $50
who's the ping-pong cutie ?
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 29, 2009, 02:17:36 PM
Oh, my money! :wink
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 29, 2009, 02:19:10 PM
and......
how 'bout that winzip compression ratio, eh ?
1 byte in - 115 bytes out
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: Mark Jones on April 30, 2009, 04:14:56 AM
Try this...
http://www.masm32.com/board/index.php?topic=10523.msg77201#msg77201
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 30, 2009, 04:27:14 AM
how to display the beautiful character in my computer?
entry what codepage can do this?

i must try all codepage? :(
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: dedndave on April 30, 2009, 05:17:54 AM
well, true enough the codepages may re-map the keyboard
but, i am in the us - all us settings
i tried Alt-171 and got BDh
i tried Alt-174 and got ABh
this does not jive with code page 437 as your post mentions
what is up ? - lol
perhaps it is notepad ?
Title: Re: Masm32 Version 10 Examples Source & ABh Character
Post by: UtillMasm on April 30, 2009, 05:22:52 AM
I use hex editor input text. :lol