Version : 0.26.02.11 TEST バージョン : 0.26.02.11 TEST
Author : Makoto Kamada 作者 : Makoto Kamada
Website : https://stdkmd.net/xeij/ ウェブサイト : https://stdkmd.net/xeij/
XEiJ (X68000 Emulator in Java) is an experimental X68000 emulator written in the Java language. Although XEiJ is an emulator, the sameness to real machines over the details of peripheral circuits is not necessarily top priority. I enjoy thinking new form of X68000 rather than copying old form. When I hit on an idea of an implementation method or a new function, I begin to write a program first of all even if I can not see its entire structure. If the idea goes nowhere, I put it aside until another idea occurs to me. I repeat such things. As a result, many unfinished parts are seen here and there. But I believe that it is meaningful to release XEiJ to the public if any comment in the source code helps someone. XEiJ (X68000 Emulator in Java) は Java 言語で記述された実験的な X68000 エミュレータです。エミュレータといっても周辺回路の隅々まで実機とまったく同じものを作ろうとしているわけではなく、どちらかと言えば X68000 の新しい形を考えることを楽しんでいます。実装方法のアイデアや新しい機能を思い付いたら全体像など見えなくてもとりあえずプログラムを書き始め、詰まったらまた何か湧いてくるまで脇に置いておく、そんなことを繰り返しているので ソースコード は作りかけのところばかりですが、注釈のどれか 1 つでも誰かの役に立つことがあれば公開する意味があると思っています。
This is a test version. New features may be substantially changed or removed in the future. これはテスト版です。 新しい機能は今後大幅に変更されるか廃止される可能性があります。
As of this writing, the latest OpenJDK is 25.0.2. Older versions of JDK may not work. Please use the latest OpenJDK if possible. これを書いている時点で最新のOpenJDKは 25.0.2 です。 これより古いバージョンの JDK では動作しないかも知れません。 可能な限り最新の OpenJDK を使用してください。
Implemented RTC ALARM 1Hz/16Hz. (Thanks megazone-mc21) RTC ALARM 1Hz/16Hz を実装しました。(Thanks megazone-mc21)
Fixed an issue where the Mercury-Unit V4 would become unstable at 10MHz. 10MHz のとき Mercury-Unit V4 の動作が安定しない問題を修正しました。
The 768x512 dot 256-color mode of the Mercury-Unit V4 does not function on the first model. This is because only the first model has negative logic for the HSYNC and VSYNC signals on the expansion slot. Mercury-Unit V4 の 768x512 ドット 256 色モードは初代だけ動作しません。 これは初代だけ拡張スロットの HSYNC と VSYNC が負論理であるためです。
Fixed the processing of external transfer requests. (Thanks スズ ロウ) 外部転送要求の処理を修正しました。(Thanks スズ ロウ)
Fixed the behavior of PCT. PCT の挙動を修正しました。
Added mu4sim.pl and mu4sim.c. mu4sim.pl と mu4sim.cを追加しました。
mu4sim.pl and mu4sim.c are programs for obtaining the EXPCL and EXREQ timing information necessary for emulating the Mercury-Unit V4. mu4sim.pl converts ABEL source code into C language, while mu4sim.c acts as a simple circuit simulator to observe signals. This was included as an answer to the question:“How did the author, who doesn't own a Mercury-Unit V4, create its emulator?” mu4sim.pl と mu4sim.c は、Mercury-Unit V4 のエミュレーションに必要な EXPCL と EXREQ のタイミングの情報を得るためのプログラムです。mu4sim.pl が ABEL ソースコードを C 言語に変換し、mu4sim.c が簡易的な回路シミュレータとなって信号を観測します。 「Mercury-Unit V4 を持っていない作者がどうやってそのエミュレータを作ったのか」という疑問に対する回答として収録しました。
I have the ABEL source code for the ispLSI on the Mercury-Unit V4, but I couldn't directly decipher the list of circuits described there. So, I devised and implemented a method:“Create a simple circuit simulator and observe the signals it outputs.”Someone familiar with HDL might think,“Even for a simple one, that's a terrible circuit simulator.”However, since the goal of enabling PCM output and 768x512 dot 256-color mode was achieved, I hope you'll overlook its shortcomings. Mercury-Unit V4 に載っている ispLSI の ABEL ソースコードがあるのですが、私にはそこに書かれている回路の羅列を直接読み解くことができませんでした。 そこで、「簡易的な回路シミュレータを作り、それが出す信号を観測する」という方法を考え、実行しました。HDL に慣れた人が見たら「簡易的だとしても酷い回路シミュレータだ」と思われてしまうかも知れません。PCM 出力と 768x512 ドット 256 色モードが使えるようにするという目的は達成されたということで、大目に見ていただきたいと思います。
Full pattern memory has been added. フルパターンメモリを追加しました。
Enabling the full pattern memory checkbox in the sprite screen menu of the modification menu activates full pattern memory. This setting is saved in the parameter sprfpm. 改造メニューのスプライト画面メニューのフルパターンメモリチェックボックスを ON にすると、フルパターンメモリが有効になります。 この設定はパラメータ sprfpmに保存されます。
The X68000 could handle 256 patterns for sprites and backgrounds, but it was highly anticipated that CYNTHIA could handle 512 patterns. In February 2026, Koucha Yokan confirmed this fact by modifying an actual X68030 unit and verifying its operation. X68000 のスプライトとバックグラウンドで使えるパターンは 256 個ですが、CYNTHIA は 512 個のパターンを扱えることが高い確度で予想されていました。2026 年 2 月、紅茶羊羹さんが実際に X68030 実機を改造して動作を確認したことで、CYNTHIA が 512 個のパターンを扱えるのは事実であると確認されました。
While the sprite scroll registers are located inside CYNTHIA, the pattern memory is outside CYNTHIA. CYNTHIA has two sets of chip select signals for accessing pattern memory: XPC0/PCS0 and XPC1/PCS1. Connecting the pattern memory to the latter set, which is normally unconnected, enables handling of 512 patterns. スプライトスクロールレジスタが CYNTHIA の内側にあるのに対して、パターンメモリは CYNTHIA の外側にあります。CYNTHIA がパターンメモリにアクセスするためのチップセレクト信号は XPC0/PCS0 と XPC1/PCS1 の 2 組あり、非接続になっている後者にパターンメモリを接続すると 512 個のパターンを扱えるようになります。
The chip select bit selects which pattern memory to use: either the one connected to XPC0/PCS0 or the one connected to XPC1/PCS1. When the full pattern memory is disabled, setting the chip select bit to 1 causes the sprite to display as a solid block, and whatever is written to the pattern memory from the MPU will be read as 0xffff. チップセレクトビットで、XPC0/PCS0 と XPC1/PCS1 のどちらに接続されているパターンメモリを使うか選択します。 フルパターンメモリが無効のときチップセレクトビットを 1 にすると、スプライトは豆腐になり、MPU からパターンメモリに何を書き込んでも 0xffff が読み出されます。
| addressアドレス | bitビット | labelラベル | content内容 |
|---|---|---|---|
| $00EB0000+8*n+6 | bit2 | SPCS | chip select for pattern used by sprite スプライトが使うパターンのチップセレクト |
| $00EB0808 | bit10 | MPUCS | chip select for pattern and text visible to MPU MPU から見えるパターンとテキストのチップセレクト |
| bit5 | B1CS | chip select for text used by BG1 BG1 が使うテキストのチップセレクト | |
| bit2 | B0CS | chip select for text used by BG0 BG0 が使うテキストのチップセレクト |
Added bgcstest.x. bgcstest.xを追加しました。
Tests the operation of the chip select in the text used by the BG. BG が使うテキストのチップセレクトの動作をテストします。
Fixed an issue where PCL and REQ were connected even on channels other than Channel 3. チャンネル 3 以外でも PCL と REQ が接続されていた問題を修正しました。
Added the system property -Dsun.java2d.d3d=false. When using the canvas setting with cubic interpolation as the interpolation algorithm, changing the fixed scaling to 200% and then back to 100% caused menus and window borders to disappear. This appears to have been fixed. システムプロパティ -Dsun.java2d.d3d=false を追加しました。 キャンバスを使う設定になっていて補間アルゴリズムが三次補間のとき、固定倍率の選択を 200% に変更してから 100% に戻すとメニューやウインドウの枠が消えてしまう症状がありましたが、それが改善するようです。
Added 1:1 to the 256x256 and 512x512 options in the aspect ratio menu. While this may differ from the aspect ratio the creator intended when the work is displayed on screen, a 256x256 dot screen becomes dot-by-dot at a fixed magnification of 50% and an aspect ratio of 1:1, and a 512x512 dot screen becomes dot-by-dot at a fixed magnification of 100% and an aspect ratio of 1:1. This makes text as easy to read as on a 768x512 dot screen. アスペクト比メニューの 256x256 と 512x512 に 1:1 を追加しました。 画面に表示されている作品があるときその作者が期待するアスペクト比とは違ってしまいますが、256x256 ドットの画面は固定倍率が 50% でアスペクト比が 1:1 のとき、512x512 ドットの画面は固定倍率が 100% でアスペクト比が 1:1 のとき、それぞれドットバイドットになり、768x512 ドットの画面と同様に文字が読みやすくなります。
Added Mercury-Unit V4 (MK-MU1). Supports PCM output and 768x512 dot 256-color mode. Mercury-Unit V4 (MK-MU1) を追加しました。PCM 出力と 768x512 ドット 256 色モードに対応しています。
Check the Mercury-Unit V4 (MK-MU1) checkbox in the sound menu and reset to integrate the Mercury-Unit. Uncheck the MU4 output checkbox to mute only the Mercury-Unit's output. 音声メニューの Mercury-Unit V4 (MK-MU1) チェックボックスを ON にしてリセットすると、Mercury-Unit が組み込まれた状態になります。MU4 出力チェックボックスを OFF にすることで、Mercury-Unit の出力だけミュートできます。
Added m256test.x. m256test.xを追加しました。
――Read more―――― 続きを読む ―― ――Hide more―――― 続きを隠す ――
I would like to thank: Right-holder companies and staffs of the SHARP PRODUCTS USERS FORUM who made efforts to distribute the basic software products of X68000 for free to the public. Keitarou Hiraki and Num Kadoma, they distribute beautiful fonts. Authors of free software that are used as execution examples of XEiJ. Everyone who reported problems and supported XEiJ by warm messages. X68000 の基本的なソフトウェアの無償公開に尽力された権利各社およびシャープ・プロダクツ・ユーザーズ・フォーラムの方々、美しいフォントを公開されている平木敬太郎さん、門真なむさん、実行サンプルとして使わせていただいたフリーソフトウェアの作者の方々、動作報告と応援のメッセージを寄せてくださった皆さん、ありがとうございます。