FPCE:PC-Engine(TurboGrafx16) Emulator

(fpce means Free PC-engine Emulator)

Download 0.0 AT/98(70k)
Download 0.01 PlayStation(13k)
Download 0.01 source(40k)

xpce: Windows/DirectX3 port by hmmx
XPC68: X68000 port by YOUCH
Hu-Go: DOS, improvements from XPCE, used ALLEGRO

Sorry,my English is very poor. English corrected by James,thanks.

This software is at a *VERY* early stage. It currently only works with few carts. If you wish to play games,there are other decent emulators available. If you are interested in how this emulator was written, you may find my source code useful (Although it's very dirty code.) The source is for PC-AT/VGA and PC-9801/9821 on DOS with DJGPP v2, and PlayStation.

Why did I make a PC-Engine emulator when there are other good emulators = already available? Well I originally wanted to port PC-Engine emulator to PlayStation, but = I couldn't find the source. For the time being I'm now working on a PC-Engine emulator for DOS/VGA. My last target is PlayStation, if a PC-Engine CD-ROM run on PS console, which is quite funny,don't you think? At the present moment I don't know if I will finish this project or not.

Notes for PC-AT:
This software runs only with DPMI. If you run it in Windows your DOS-box have DPMI. However if you are running pure DOS, you require CWSDPMI.EXE to be loaded. You can find CWSDPMI on DJGPP site, www.delorie.com. Although you probably already have it,try searching your harddisk.
The PC-Engine's vertical resolution is 256, but VGA mode 13h is only 200, so the upper and lower 28 line isn't shown.

Notes for PC-98:
This software runs only with DPMI. If you run it in Windows your DOS-box have DPMI. However if you are running pure DOS,you must run DPMI.EXE(included DOS command) before you launch the emulator.
It auto-detects 9801/9821, use 16 color with dithering on 9801, use 256 color on 9821. On 9821,if display frequency is 24Khz,then use 640x400 resolution,if display frequency is 31Khz,then use 640x480. If resolution is 640x400,upper and lower 28 line isn't shown.

Notes for PlayStation:
The emulator only outputs in NTSC, and it's *VERY* slow. To transfer the ROM images you'll need PS-PAR, PC-LINK and CAETLA. First of all send the ROM-image(MagicEngine format,512byte header+image) at 80090000. Then use fpce.exe send and exec. Using CAETLA and psexe,

   psexe <ROM-file> -d80090000
   psexe fpce.psx

このソフトは極めて初期段階です。 ゲームで遊ぶのが目的なら、他にもっといいエミュレータがあります。 エミュレータの内部構造に興味があるなら、ソースコードが役に立つかもしれません(汚いけど)。 このソースはPC-AT/VGAとPC-9801/9821のDOS用で、DJGPP v2でコンパイルできます。

他にエミュレータがあるのに、何でいまさらPC-Engineエミュレータなんか作るのか? MasterSystemエミュレータをPlayStationに移植してからエミュレータの内部構造に興味が出てきて、他のエミュレータも移植したくなったけど、適当な公開されたソースが見つからなかったので、仕方ないので自分で作りました。 とりあえず実験的にDOS/VGA用です。PlayStation版もリリースしました。 PC-EngineのCD-ROMがそのままPlayStationで動いたら面白いと思うけど、(技術的・時間の暇的に)できるかどうかわかりません。

PC-Engineの垂直解像度は256ですが、VGA mode 13hの垂直解像度は200しかないので、上下の28ラインは表示されません。

実行にはDPMIが必要です。WinのDOS窓にはDPMIがあります。MS-DOSの場合はDPMI.EXE (DOSに付属)等を事前に実行してください。
9801/9821を自動判別し、9801は16色ディザ、9821は256色モードで動作します。 9821では、現在のディスプレイ周波数が24khzであれば640x400、31Khzであれば640x480になります。 640x400では画面の上下が切れます。

これはNTSC用で、とても遅いです。 実行にはPS-PAR,PC-LINK,CAETLAが必要です。 最初にROMイメージ(MagicEngine形式の512バイトヘッダ+イメージ)を80090000に転送 します。次にfpce.psxを転送実行します。CAETLAとpsexeを使って

   psexe <ROM-file> -d80090000
   peexe fpce.psx


Not Support:


	fpce <cart-file>
	(wait option is none,so too first.)


	RUN	Enter
	I	X or Space or Alt(PC98-GRPH)
	II	Z or Ctrl
	(exit)	ESC


This software is freeware.you can use it non-commercially. PC-Engine is registered trademarks of NEC-HE.
このソフトはフリーウェアです。非商用なら自由に利用できます。 PC-EngineはNEC-HEの登録商標です。


6502 core by Marat Fayzullin:
PC-Engine document by Jens Ch. Restemeier:
PC-Enigne document DEVELO book by Tokumashoten Intermedia:
  ISBN T10664509535001
Keyboard interrupt and 256x240 mode from SVGALib for DJGPP by Mihai Cartoaje:
DJGPP by GNU and DJ Delorie:
PlayStation hardware internals:
PlayStation develop enviroment "CAETLA":
Especialy,Marat's great emulator resource. I learn inside emultator with his MasterGear(SEGA MasterSystem/GameGear Emulator) source code.


  version 0.01	support PlayStation
  version 0.0	first release