修改 win32forth61XXX/src/kernel/fkernel.f 的 TR 定義
\ xTR ( adr n table -- ) 2011/11/29 爽哥CODE TR \ ebx <== tablepop edi \ edi <== lenpop ecx \ ecx <== addrpush edx \ save edxadd edi, ecx \ edi <== addr + lenxor eax, eax \ eax <== 0@@1: cmp edi, ecx \ goto @@4, if edi >= ecxjb short @@4mov al, [ecx] \ al <== [ecx]cmp al, # $80 \ goto @@2, if eax >= # $809jae short @@2mov dl, [ebx] [eax] \ dl <== uppercase of almov [ecx], dl \ [ecx] <== dl \ 原字母換成大寫jmp short @@3 \ goto @@3@@2: inc ecx \ ecx <== exc + 1 \ 跳過中文字@@3: inc ecx \ ecx <== exc + 1jmp short @@1 \ back @@1@@4: xor edi, edi \ edi <= 0pop edx \ restore edxpop ebx \ tosnext c;再執行 setup 重新安裝