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. **
20 ・PC-6001/6601(But, code of Kana-key is differ, not works well)
24 4.Conversion code list
54 *y* : *ャ/ィ/ュ/ェ/ョ (例: pya -> ピャ)
64 At CSP, when inputting from host's keyboard, RAW key code has
65 converted to virtual keyboard code(VK_foo) of windows
66 temporally and queueing.
67 Now, snooping VK code before queueing, send to
68 alphabet_to_kana() at src/romakana.cpp to convert ROMAJI to KATAKANA,
69 result is put to array of wchar_t (UTF-8).
71 And, queueing this result (converted to QString, Qt native string type)
72 to ROMAJI-KANA conversion queue.
73 At emulation loop (i.e. calling emu->run()), when AUTO-KEY(Copy and Paste)
74 FIFO has empty, dequeueing from ROMAJI-KANA conversion queue and enqueue
75 these characters to AUTO-KEY fifo, then, process AUTO-KEY function.
78 "romakana.cpp" use wchar_t and use UTF-8 to process internally,
79 C++ compiler is required later than C++99?.
80 And, you need convert coding result of ROMAJI-KANA conversion to
81 internal coding EMU::auto_key_foo() (mostly Shift-JIS).
83 Sorry for irrational...(´・ω・`)