News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

RadASM v2.2.1.2 for Masm32 test for chinese

Started by learn64bit, August 06, 2022, 03:46:34 PM

Previous topic - Next topic

learn64bit


learn64bit


learn64bit

Unzip to D:\RadRAM2212Test\
Masm32 in D:\MASM32\
Windows 7 SP1 us
Microsoft Pinyin Input (10.1.7601.0)
NSimSux(win7sp1's simsun.ttc, name be changed from NSimSun to NSimSux, 0 character be changed with a forward slash, so it's easy to identify 0 and O) font

learn64bit

How to:
Unzip to D:\RadASM2212Test

What's it:
Special version for Tiny Screen and Alt+C toggle Column Selection (aka. Block Edit Mode)

Why you tampering it:
Don't know why, Maybe just I can. You wanna tell me how big your screen is? Okay... but it's not mine!

Post source code:
Yes, but wait for me delete my comments (it's a lot shit, 25MB size...)

learn64bit

Another quick and dirty fix.

FileBrowser(Alt -> V -> P -> The "File Browser" Button)
RadASM.exe.cmd
  Ctrl + MouseLButtonDoubleClick
   Open in Hex Editor
    This is wrong!  It should be open in TextEdit as a Text file (maybe a batch programming language in a anothor time).
     Okay, Fixed.
  Shift + MouseLButtonDoubleClick
   Open in HexEdit still works.

learn64bit

I think if you can post your input and font settings, than maybe we can make:

Re: RadASM v2.2.1.2 for Masm32 test for Japanese
Re: RadASM v2.2.1.2 for Masm32 test for Russian

Of cause I don't know that is possible yet

learn64bit

#6
Another quick and dirty fix.
Can not find "^i", "^I", "^m" and "^M".
Fixed.
Alt -> e -> a or f
Replace or Find
  Find what
   Regular string
    ^i or ^I
     VK_TAB (tab character)
      File and memory TAB key is the 09h byte
    ^m or ^M
     VK_RETURN (end of line mark, special: last not empty line did not have the mark in file but have in memory)
      File is the 0D0Ah word
      Memory is the 0Dh byte

learn64bit

#7
Text file's code-page convertion tips.


Text file's code-page "Windows 1252"'s special characters which are not compatiable with "Chinese Simplified (GB2312) 936"
A4h "¤"
  This byte is ok, it will be convert to 0A1E8h word.
ABh "«"
AFh "¯"
BBh "»"
FDh "ý"
Text code-page "Windows 1251"'s special characters which are not compatiable with "Chinese Simplified (GB2312) 936"
A0h " "(俄罗斯全角空格)(Russian full-width space character)

Chinese Simplified (GB2312) 936
2 bytes full width characters
  一二三四五六七八九十百千万亿兆
  壹贰叁肆伍陆柒捌玖拾佰仟微亿兆
  〇
  零
  吉拍太艾
  吉皮太阿
  纳毫厘分
2 bytes half width characters
  āáǎà
  ōóǒò
  ēéěè
  īíǐì
  ūúǔù
  ǖǘǚǜ

bluedevil

..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

learn64bit

don't know the Windows code-page, font, input method.

I guess:

0BBh byte ğ
code-page is Latin 3 (iso-8859-3) 28593
font is Microsoft YaHei (Language: Turkish)

learn64bit

Keyboard shortcuts
Ctrl+Alt+End
  Toggle the Splitter Bar in middle of window
Ctrl+Shift+Up
  Move the splitter up
Ctrl+Shift+Down
  Move the splitter down

Regular strings
^
  Beginning of line
\t
  Tab
\n
  Enter

learn64bit


learn64bit

Another quick and dirty fix!
Deal with chinese gb2312 two bytes and half width characters.

learn64bit

Another quick and dirty fix.
Deal with jj2007 style masm source code file.

zedd151

Quote from: learn64bit on September 18, 2022, 01:24:00 AM
Deal with jj2007 style masm source code file.
I was expecting some type of reformatting source code but all I see in the attachment is a .dll. How exactly are you making these changes? Wheres the source code?