Author Topic: RadASM v2.2.1.2 for Masm32 test for chinese  (Read 920 times)

learn64bit

  • Member
  • **
  • Posts: 76
RadASM v2.2.1.2 for Masm32 test for chinese
« on: August 06, 2022, 03:46:34 PM »
Tampering a very old RadASM.
Have fun!

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #1 on: August 06, 2022, 03:47:59 PM »
zip limited, so add another post

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #2 on: August 06, 2022, 04:03:50 PM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #3 on: August 09, 2022, 06:25:37 PM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #4 on: August 17, 2022, 05:41:58 PM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #5 on: August 20, 2022, 05:01:33 PM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #6 on: September 10, 2022, 02:33:30 AM »
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
« Last Edit: September 10, 2022, 03:48:24 AM by learn64bit »

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #7 on: September 11, 2022, 11:47:57 PM »
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
  āáǎà
  ōóǒò
  ēéěè
  īíǐì
  ūúǔù
  ǖǘǚǜ
« Last Edit: September 18, 2022, 02:09:06 PM by learn64bit »

bluedevil

  • Member
  • **
  • Posts: 163
  • Binary Grinder
    • SCTZine
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #8 on: September 12, 2022, 05:40:06 AM »
Can you write this letter: ğ Ğ
This is g with breve
..Dreams make the future
But the past never lies..
BlueDeviL // SCT
My Code Site:
BlueDeviL Github

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #9 on: September 12, 2022, 09:01:16 AM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #10 on: September 13, 2022, 11:22:26 PM »
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

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #11 on: September 14, 2022, 11:33:20 PM »
Regular String
 $
  End of line

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #12 on: September 15, 2022, 03:36:03 PM »
Another quick and dirty fix!
 Deal with chinese gb2312 two bytes and half width characters.

learn64bit

  • Member
  • **
  • Posts: 76
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #13 on: September 18, 2022, 01:24:00 AM »
Another quick and dirty fix.
 Deal with jj2007 style masm source code file.

zedd151

  • Member
  • *****
  • Posts: 1294
  • Eratosthenes
Re: RadASM v2.2.1.2 for Masm32 test for chinese
« Reply #14 on: September 18, 2022, 02:02:50 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?
... :biggrin: