1 * About ROMAJI-KANA conversion assitant feature.
3 K.Ohta <whatisthis.sowhat _at_ gmail.com>
6 Using ROMAJI-KANA conversion at a few machines,
7 regardless of lacking native ROMAJI-KANA conversion.
8 This aims to be useful for older Japanese adventure-games.
11 a. Check menu entry, "ROMA-KANA Conversion" at "Emulator" section.
12 b. Press [PF12] to toggle enabling ROMAJI-KANA conversion.
13 If enable , display "[R]" at head of status message.
14 ** This feature has not all of VMs, now only a few VMs have. **
28 ・PC-6001/6601(But, code of Kana-key is differ, not works well)
34 4.Conversion code list
64 *y* : *ャ/ィ/ュ/ェ/ョ (例: pya -> ピャ)
74 At CSP, when inputting from host's keyboard, RAW key code has
75 converted to virtual keyboard code(VK_foo) of windows
76 temporally and queueing.
77 Now, snooping VK code before queueing, send to
78 alphabet_to_kana() at src/romakana.cpp to convert ROMAJI to KATAKANA,
79 result is put to array of wchar_t (UTF-8).
81 And, queueing this result (converted to QString, Qt native string type)
82 to ROMAJI-KANA conversion queue.
83 At emulation loop (i.e. calling emu->run()), when AUTO-KEY(Copy and Paste)
84 FIFO has empty, dequeueing from ROMAJI-KANA conversion queue and enqueue
85 these characters to AUTO-KEY fifo, then, process AUTO-KEY function.
88 "romakana.cpp" use wchar_t and use UTF-8 to process internally,
89 C++ compiler is required later than C++99?.
90 And, you need convert coding result of ROMAJI-KANA conversion to
91 internal coding EMU::auto_key_foo() (mostly Shift-JIS).
93 Sorry for irrational...(´・ω・`)