2ちゃんねる スマホ用 ■掲示板に戻る■ 全部 1- 最新50    

■ このスレッドは過去ログ倉庫に格納されています

MSXスレッド Part 46【安全】

1 :ナイコンさん:2016/02/21(日) 12:16:16.67 .net
MSXスレッド Part 45
http://hanabi.2ch.net/test/read.cgi/i4004/1440035009/

878 :ナイコンさん:2017/07/04(火) 00:48:21.16 .net
*日*
o Teturo Tokuyama [.JP]
Teturo has done an excellent port of fMSX to Windows. As much as
I hate MeSsyWindoze, I must admit that Teturo's fMSX-Win32 with
its resizable window and the drivers partially rewritten in
assembly language rules. Period.

o Murakami Reki [.JP]
Murakami has written PC9801 port of fMSX. He is the guy whom you
have to thank for the disk support in fMSX. If not for him, I
wouldn't ever started implementing it :).

879 :ナイコンさん:2017/07/04(火) 00:50:21.60 .net
//投//
o Paul Chapman [.CA]
Paul Chapman is the author of fMSX-MAC/PowerMAC. Although his
program has bugs, it looks great and works faster than the original
MSX computer on an average PowerMAC. As Paul is not able to develop
fMSX-MAC actively at this moment, he has given me the source code
which I put onto fMSX WWW page.

o Arnold Metselaar [.NL]
If you happen to have a non-256-color X11 display, get Arnold's X11
drivers fixed to work for any screen depth.

o Guenter Woigk [.DE]
Found a bug with offsets in Z80 commands using IX/IY registers.

o Martial Benoit [.FR]
Explained how VDP deals with sprites and sent me copies of V9938
and WD2793 databooks [WOW! Thanks, Martial :)].

880 :ナイコンさん:2017/07/04(火) 00:52:26.41 .net
###
o Alex Wulms [.NL]
Sent me a copy of WD1793 databook.

o Maarten Huurne
Has done some extensive bug-hunting on the Solid Snake cartridge ;).

...and to all of .NL/.CL/.SU people who helped me with advices,
information, and encouragment.

ENJOY THE EMULATOR AND LET US KEEP MSX ALIVE :)


Marat.

881 :ナイコンさん:2017/07/07(金) 23:27:09.17 .net
ゴーファーとか今やると超理不尽だな
1回だけおしい所まで行ったけど
こんなもんを当時は夢中になってやってたんだよな
まあレトロゲームなんてそんなもんか

882 :ナイコンさん:2017/07/08(土) 20:18:57.51 .net
******* fMSX *******
The Portable MSX/MSX2/MSX2+ Emulator
version 1.0

by Marat Fayzullin

email: fms@wam.umd.edu
IRC: RST38h
WWW: http://www.cs.umd.edu/users/fms/

883 :ナイコンさん:2017/07/08(土) 20:19:52.94 .net
* INTRODUCTION *

fMSX is a portable emulator of the MSX home computers written in C.
You can always get the latest fMSX source code, binaries, and support
files from

http://www.cs.umd.edu/users/fms/MSX/Sources.html

There are versions of fMSX for Amiga, MAC, PowerMAC and IBM PC
[MeSsyDOS and WindozeNT]. Following people are maintaining ports
of fMSX to these systems:

Amiga: Hans Guijt [jguijt@WI.LeidenUniv.NL]
MSDOS: Igor Sharfmesser [igor@asni.itpm.alma-ata.su]
Alex Krasivsky [al@ares.iki.rssi.ru]
Windows: Tekuro Tokuyama [94i23@ieee.hokudai.ac.jp]
Marat Fayzullin [fms@wam.umd.edu]
WindowsNT: Igor Zaika [igorz@netcom.netcom.com]
PowerMAC: Paul Chapman [pchapman@cs.stmarys.ca]
PC9801: Murakami Reki [90315054@ex.ecip.osaka-u.ac.jp]

884 :ナイコンさん:2017/07/08(土) 20:23:52.22 .net
If you would like to write new drivers, *please*, contact me by
email or some other means. Feel free to look at existing drivers
as well as at other code. More explanations follow.

This manual covers two different fMSX distributions:

1. *** Source Code Distribution ***
This distribution includes C sources for a portable MSX emulator,
and screen/keyboard drivers for Unix/X and MSDOS. fMSX has been
tested on following Unix systems:

NetBSD FreeBSD Linux SunOS Solaris OSF/1 Ultrix Irix AIX

885 :ナイコンさん:2017/07/08(土) 20:32:52.67 .net
2. *** fMSX-Windows Distribution ***
Due to the flood of requests from the people who use DOS/Windows
running PCs and are unable to compile the emulator on their own, I have
ported fMSX under Microsoft Windows. This distribution contains an
executable of a limited version of fMSX-Windows which doesn't allow you
to use the second cartridge slot and the second disk drive, and has
an annoying "fMSX DEMO" message across its window. The uncrippled
version of fMSX-Windows is available for $35US from

Marat Fayzullin
6304 Hampton Place
Elkridge, MD 21227
USA

fMSX-Windows is a 32-bit application which runs under Windows 3.11,
Windows 95, and Windows NT. It is compiled with Borland C++ and needs
Microsoft WinG library which can be obtained from

ftp%3A//ftp.microsoft.com/Softlib/MSFILES/WING10.EXE

886 :ナイコンさん:2017/07/08(土) 20:45:34.14 .net
There is also another Windows port available from Teturo Tokuyama.
It is *free* and has some pros and cons over my port:

o Teturo's version uses faster SCREEN 2 and 5 drivers written in
assembly. It also better handles the screen with a limited number
of colors (256).
o My version supports disk drives, 512x212 screen modes [SCREENs 6,7,
and TEXT80], and external fonts. It also pauses when its window is
iconified or deactivated to save CPU cycles.

Both versions use the same MIDI sound drivers written by Teturo.

887 :ナイコンさん:2017/07/08(土) 20:47:09.86 .net
* NEW IN THIS VERSION OF FMSX *

o ROM mappers are rewritten and new kinds are added. Try SolidSnake
with the Konami4 mapper ;).
o RAM mapper and disk support are changed. More disk programs should
work now.
o Windoze port is done by me. It has a nice resizable window, control
panel, and the *real* support for 512-pixel-wide screens such as
SCREENs 6,7, and TEXT80.

888 :ナイコンさん:2017/07/09(日) 01:40:55.54 .net
* SHORT MANUAL FOR THE WINDOWS USERS *

In order to use fMSX-Windows, you will first have to install WinG
graphical library which can be obtained from Microsoft [see address
above]. Also, the fMSX-Windows distribution contains a file called
BWCC32.DLL which should be either kept in a directory from which
fMSX runs, or copied into \WINDOWS\SYSTEM directory.
fMSX-Windows runs in a resizable window with the following menus:

o File
o New
This opton allows to restart fMSX with a new cartridge in slot A.
o Setup
This option pops up a setup dialog allowing to change emulation
parameters:
o Cart A and B
You can set the names of .ROM files to be used as cartridges
in slots A and B using these options. Notice that slot B
is *disabled* in the unregistered version of fMSX-Windows.
This option will only take effect after fMSX is restarted.
o Disk A and B
You can set the names of .DSK files to be used as floppies
in drives A and B using these options. Notice that drive B
is *disabled* in the unregistered version of fMSX-Windows.
Read FAQ section below to find out more about using disks
with fMSX. This option will only take effect after fMSX is
restarted.

889 :ナイコンさん:2017/07/14(金) 03:30:42.75 .net
o Font
Using this option, you can set the .FNT file from which the
external font will be taken (See "Use External Font" below).
This option will only take effect after fMSX is restarted.
o Hardware Version
This set of radioboxes allows you to select a version of MSX
you want to emulate. THe original MSX requires MSX.ROM to be
present in the current directory. MSX2 needs MSX2.ROM and
MSX2EXT.ROM, while MSX2+ requires MSX2P.ROM and MSX2PEXT.ROM.
o MegaROM Type
If you are playing a game from a MegaROM cartridge (>32kB),
these radioboxes are used to select the MegaROM mapper type.
There is no simple way to say which type each particular game
requires, so you will have to try all of them. All Konami games
using SCC chip are of type Konami5 though, while all Konami
MegaROMs without SCC chip are of type Konami4.
o Use External Font
If this checkbox is checked, text screens will use an external
8x8 font loaded from a given file instead of MSX's own font
contained in MSX VRAM. This may be useful in Russia where people
may want to use KOI8 font while running fMSX on the "european"
ROMs, in Japan, and other countries which used localized
models of MSX.

890 :ナイコンさん:2017/07/14(金) 03:35:15.03 .net
o Automatic Fire
When you check this checkbox, the space bar will generate
multiple keypresses while you hold it down. This option is
useful in games and plays the role of "joystick autofire".
o Save CPU
When this checkbox is checked, fMSX will "fall asleep" when its
window is iconized or deactivated. In this mode, no CPU cycles
are spent, and the emulation is paused. It may be useful for
those who want to pause a game, do some work and then return
to the game and those who run extensive computations in
background and don't want to tie up the CPU.
o Interrupt Period
This parameter determines how many CPU commands will be executed
between vertical blanking interrupts. Setting it lower may speed
up the emulation, but setting it too low will hang it.
o Update Period
This parameter determines how many vertical blanking interrupts
will pass between window refreshes. It is usually set to 2, but
you can increase it to make fMSX work faster. The sprite
movements become jerky at high update periods though, and some
sprites may simply disappear.
o Reset!
By pressing this button, you restart fMSX with the new emulation
parameters (cartridge, disk, and font files).

891 :ナイコンさん:2017/07/14(金) 04:01:04.17 .net
o Quit
Quit the emulation. CMOS.ROM file will be saved on exit, if CMOS
was changed (with SET command, for example).
o Size
o 1:1 These options change the window size to be the same as in real
o 2:1 MSX, or 2/3 times bigger. Please, note that you can change
o 3:1 window size by simple dragging the bottom-right corner of a
window with the mouse. Also, the 512-pixel wide screen modes
require at least 2:1 size to show up correctly.
o Help
o About
This option will display a dialog box with copyright information
and other legal stuff.

892 :ナイコンさん:2017/07/14(金) 04:03:15.54 .net
* FREQUENTLY ASKED QUESTIONS *

1. What is MSX?
MSX is an old Z80-based family of home computers which appeared in 1982
as an attempt to establish a single standard in home computing similar to
VHS in video. They were popular in Asian [Korea, Japan] and South
American [Brazil, Chilie] countries as well as in Europe [Holland,
France] and former Soviet Union, but they are virtually unknown in USA.
Although MSX standard quietly died to year 1988, the world got to see
MSX2, MSX2+ and TurboR extensions of it.
In spite of its sad history, MSX is a very nice computer, especially
useful for educational purposes which is clearly indicated by example of
the Soviet Union. Russian Ministry of Education bought hundreds of MSXes
[and later MSX2s] grouped into "computerized classroom systems" of 10-16
machines interconnected by a simple network. Entire generation of
programmers has grown up using these computers.

893 :ナイコンさん:2017/07/14(金) 04:07:52.88 .net
Hardware-wise, MSX represents a hybride of a Nintendo Entertainment
System and a generic CP/M-80 machine. Its heart is Z80 CPU working at
3.58MHz in the base model [frequency was doubled in TurboR]. The video
subsystem is built around TI9918 or TI9928 VDP chip also used in Texas
Instruments' TI-99/4 computers. In the later MSX models this chip was
upgraded to V9938 [MSX2] and V9958 [MSX2+ and TurboR]. The latest version
is V9990. The audio system is handled by AY-3-8910 chip by General
Electric, same as the one used in Sinclair ZXSpectrum128 audio. AY-3-8910
provides 3 channels of synthetized sound, noise generation, and two
general purpose parallel IO ports which are used for joysticks and some
other things in the MSX design. Due to their hardware structure, MSX
machines were perfectly suitable for games and there is a lot of good
games either written or ported to them. You can find more information
about MSX and remaining MSX fans at

894 :ナイコンさん:2017/07/14(金) 04:10:30.40 .net
http://www.cs.umd.edu/users/fms/MSX/

2. Where do I get MSX software?
ftp%3A//ftp.funet.fi/pub/msx/
ftp%3A//stargate.imagine.com/pub/MSX/
ftp%3A//riaph.irkutsk.su/pub/
ftp%3A//ftp.saitama-u.ac.jp/pub/msx/

3. What do I do with .BAS,.GMB,.CRC,.LDR files?
These are BASIC programs. You run them from MSX BASIC with

RUN "filename"

4. What do I do with .BIN,.OBJ,.GM files?
These are so-called BLOADable binary files. They can be run from MSX
BASIC with

BLOAD "filename",R

5. What do I do with .COM files?
These are MSX DOS command files. Boot MSX DOS and run them from there.

895 :ナイコンさん:2017/07/14(金) 04:13:00.95 .net
6. What are the .ROM files?
.ROM files are the binary images of cartridge ROMs which can be loaded
into fMSX. There are "standard" cartridge ROMs which are 16kB or 32kB
big, and the MegaROMs which can be 128kB, 256kB and even 512kB. Latter
require a special MegaROM-Mapper feature of fMSX which can be adjusted
with -rom option.

896 :ナイコンさん:2017/07/14(金) 04:28:40.89 .net
7. What are the .ROM files included with fMSX?
Following are the files used by fMSX:

MSX.ROM - Standard MSX BIOS and BASIC code
MSX2.ROM - MSX2 BIOS and BASIC code
MSX2EXT.ROM - MSX2 ExtROM containing system extensions
MSX2P.ROM - MSX2+ BIOS and BASIC code
MSX2PEXT.ROM - MSX2+ ExtROM containing system extensions
DISK.ROM - MSX DiskROM containing BDOS and DISK BASIC [optional]
RS232.ROM - RS232 BIOS and BASIC extensions [optional]
CMOS.ROM - Non-volatile memory used in MSX2 and MSX2+. This file gets
rewritten on exit if non-volatile memory was changed.

8. How do I use disks with fMSX?
fMSX includes disk support starting with version 0.9. If you have an
earlier version, you can not use disks. The following instructions assume
that you have a version including the disk support.
First, make sure that the DISK.ROM file containing MSX DiskROM is in
the current directory. Then, use an MSDOS program called DCOPY.EXE to
create disk images of your MSX disks:

DCOPY <drive>: <filename>.DSK

897 :ナイコンさん:2017/07/14(金) 04:32:39.25 .net
The images are just raw files with all disk blocks written in a sequence.
They can also be created on a Unix machine with

cp /dev/rfd0 <filename>.DSK

or a similar command. If you have a 1.44MB HD floppy formatted on MSX
for 720kB, don't forget to stick a piece of tape on the HD/DD indicator
hole.
After you have created disk image files, run fMSX in the following way:

fmsx -diska <filename1>.DSK -diskb <filename2>.DSK

where two image filenames will become your drives A: and B:. You can
also have default disks called DRIVEA.DSK and DRIVEB.DSK and located in
the current directory.

898 :ナイコンさん:2017/07/14(金) 04:42:17.04 .net
9. Why is fMSX is so slow on my PC?
Because your PC is too slow to run fMSX. fMSX is written entirely in C
language and therefore is quite slow. Although it works on 486/33 and even
386/33 PCs, it runs best on a Pentium/90 or a DEC Alpha/150. You can try to
speed it up by increasing -uperiod value controlling the number of
interrupts between screen updates to 3-6, and by decreasing -iperiod value
controlling the number of Z80 cycles between interrupts to 2000-5000.
Please, DO NOT SEND ME MAIL about fMSX speed.

10. How can I get sound out of PC version of fMSX?
Use -adlib option. You soundcard should be SoundBlaster-compatible though.
The Windows versions of fMSX produce sound via General MIDI Interface.

11. Can I compile fMSX with my Borland/Turbo C compiler?
You can, given that your compiler creates executables using flat 32bit
memory model. Two PC compilers which do that are WATCOM [using DOS4GW DOS
extender] and GCC [using DJPP extender]. The only 32bit Borland/Turbo C
compiler that I'm aware is for Windows though.

899 :ナイコンさん:2017/07/14(金) 04:53:57.65 .net
12. Where is the complete list of command line options of fMSX?
Use -help option. It will tell fMSX to display all options available in
your version. Following are the options available in fMSX 1.0:

-verbose <level> - Select debugging messages [1]
0 - Silent 1 - Startup messages
2 - V9938 ops 4 - Disk
8 - Memory 16 - Illegal Z80 ops
-ifreq <frequency> - Set external interrupts frequency [50Hz]
-iperiod <period> - Set internal interrupts period [6000ops]
-uperiod <period> - Number of interrupts per screen update [2]
-help - Print this help page
-printer <filename> - Redirect printer output to file [stdout]
-shm/-noshm - [UNIX] Use/don't use MIT SHM extensions for X [-shm]
-ram <pages> - Number of 16kB RAM pages [4/8/8]
-vram <pages> - Number of 16kB VRAM pages [2/4/4]
-trap <address> - [DEBUG] Trap execution when PC reaches address [FFFFh]
-msx1/-msx2/-msx2+ - Select MSX model [-msx1]
-rom <type> - Select MegaROM mapper type [0]
0 - Konami 8kB 1 - Konami 16kB
2 - Konami5 8kB 3 - Konami4 8kB
4 - ASCII 8kB 5 - ASCII 16kB

900 :ナイコンさん:2017/07/14(金) 04:54:52.19 .net
-diska <filename> - Set disk image used for drive A: [DRIVEA.DSK]
-diskb <filename> - Set disk image used for drive B: [DRIVEB.DSK]
-font <filename> - Set fixed font for text modes [DEFAULT.FNT]
-serial <filename> - Redirect serial I/O to file [stdin/stdout]
-saver/-nosaver - [UNIX] Save/don't save CPU when inactive [-saver]
-adlib - [PC] Emulate sound via ADLib

901 :ナイコンさん:2017/07/14(金) 04:59:07.48 .net
13. What are the special keys used in fMSX?

fMSX-Unix/X 1.0 keys:

F6 - HOME/CLS
F7 - DEL
F8 - INS
F9 - SELECT
F10 - STOP
F11 - Exit
F12 - Trace on/off [if #define DEBUG is used]
F13 - Turn fixed font on/off in the text modes
RSHIFT - CAPS Lock
ALT - GRAPH

fMSX-Windows 1.0 keys:

Insert - INS
Delete - DEL
Home - HOME/CLS
End - SELECT
PageUp - STOP
PageDn - GRAPH
CpsLck - CAPS Lock
F12 - National Alphabet [Cyrillic, Kana, etc.]

902 :ナイコンさん:2017/07/14(金) 05:26:12.75 .net
14. I can't get some .ROM files to work with fMSX.
With 16kB or 32kB .ROM files, try increasing -iperiod value to 10000.
With larger files [i.e. MegaROMs], try different values of the -rom
parameter: one of them should work. If you can't get .ROM to work, send
it to me for analysis.

15. Is it legal to spread MSX ROMs and cartridge ROMs?
NO. Nobody seems to care though, mainly because there is no profit to
be made on these ROMs any longer. Nevertheless, be aware of the fact that
by using commercial software you haven't bought, you are commencing an
act of piracy. Not that I care, anyway...

16. When compiling fMSX under Unix, I get "undefined name" errors.
This means that your linker can not find the libraries necessary
for fMSX [namely, libX11.a and libXext.a]. Find these libraries in
your system and modify the Makefile so that the final invocation
of the C compiler has "-L<path_to_libs>" options. If the errors
persist, try #undefining MITSHM option.

903 :ナイコンさん:2017/07/14(金) 05:27:21.57 .net
17. When starting fMSX under Unix, I get X_ShmAttach error.
You are probably trying to run fMSX on a remote Xterminal while it
attempts to use shared memory for interfacing with X. Use -noshm option
to tell fMSX not to use shared memory.

18. fMSX starts under Unix, but then I get X_PutImage error.
Unix/X version of fMSX currently needs 256-color X. Neither 2-color
nor TrueColor Xterminals will work with the drivers included into
"official" fMSX distribution Arnold Metselaar [metselr@fys.ruu.nl]
developed the drivers supporting any Xterminal. These drivers are
available at

http://www.fys.ruu.nl/~metselr/X-drivers.html

904 :ナイコンさん:2017/07/14(金) 05:32:16.19 .net
19. I start Unix version of fMSX but the window stays black.
Some other X application took over all available colors so that fMSX
could not allocate any for itself. Check if you run XV, Netscape, or
something similar.

20. I get distorted colors in fMSX-Windows.
You are probably running Windows in 256-color mode. In this mode,
not all of 256 colors are accessible as some of them are taken over by
other programs. Therefore, the system is trying to pick the closest
possible colors, which do not always look right. Switch Windows into
16bit or 24bit colors mode for the right colors.

905 :ナイコンさん:2017/07/14(金) 05:33:07.70 .net
* COMPILATION TIPS *

If you are compiling fMSX under Unix, use Makefile. Notice that #define
UNIX is present in this case. In the case of MeSsyDOS, #define MSDOS and
compile using Makefile.wc included into the package.
The fMSX is written in fairly portable C code and may therefore be
compiled with any decent ANSI C compiler. It relies on a flat 32bit
memory model though, so Borland compilers will choke on it. Standard CC
or GCC should do the job under Unix [although beware of GCC code generation
bugs]. If you are working under MeSsyDOS or [God prohibits] Windows, use
WATCOM C which is known to compile fMSX right. On Amiga, use SAS/C.

906 :ナイコンさん:2017/07/14(金) 05:34:05.74 .net
Always put #define LAME and try optimizing the code: this will give you
better perfomance than compiling a more complex version without
optimization. Also, don't even try to optimize code generated from Z80.c
file if LAME was not #defined: most compilers will run out of memory
doing this because the resulting code is just to complex to optimize. The
simplified code can be optimized though: I tried GCC with -O2 option on
it and it worked.
If you are using an Intel-based computer or any other machine which has
least-significant-byte-first data layout [for example, DEC Alpha], insert

#define LSB_FIRST

907 :ナイコンさん:2017/07/14(金) 05:35:36.99 .net
in the beginning of Z80.h file. fMSX will not work otherwise.

If you put

#define DEBUG

in the beginning of Z80.h, the emulator will print debugging information
about Z80 registers after executing each command. You can turn debugging
on and off by setting Trace variable to 1 and 0 accordingly. Also, by
setting Trap variable to some address you will make fMSX start tracing
when PC reaches this address [-trap option].

908 :ナイコンさん:2017/07/14(金) 05:36:32.40 .net
When you port fMSX to a new machine, you have to write a set of drivers
for keyboard, sprites, and each screen mode you want to emulate [usually
SCREENs 0 - 2]. fMSX comes with a set of drivers for XWindows system and
SVGA screen under MeSsyDOS. The common code for these drivers is in
Common.h. Screen drivers use simple XSIZE*YSIZE array of bytes to
generate image, so in most cases you will only need to adjust these
drivers to your own needs. Note that the X11 drivers use so-called MIT
Shared Memory Extension for fast transfers from buffer to a window. If
you do not have MIT SHM extension in your system,remove

909 :ナイコンさん:2017/07/14(金) 05:37:17.71 .net
#define MITSHM

from MSX.h file. You can also turn MITSHM off [for example, if you use
remote X terminal] by setting UseSHM variable to 0 before starting the
emulation [-noshm option].

910 :ナイコンさん:2017/07/14(金) 05:38:12.06 .net
* CODE STRUCTURE *

Several other variables control the behaviour of fMSX. All
of them should be set before starting the emulation in order to
take effect:

Verbose = 0..4
Defines amount of debugging information printed by emulator. Default
value is 1.
IPeriod = 1000..50000
Defines how many Z80 commands should be execute between two interrupts.
Normal interrupt rate is 60Hz for NTSC systems or 50Hz for PAL systems.
Default value of IPeriod is 10000.
UseSHM = 0/1
Use MIT SHM extension in X11 screen drivers. Default value is 1.
#define MITSHM should be present in order to use this option.

911 :ナイコンさん:2017/07/14(金) 05:39:49.84 .net
_____________
UseFont = 0/1
Use external font taken from the FontName file, Default value is 0.
CPURunning = 0/1
Set this variable to 0 to stop Z80 CPU and leave StartMSX()
function.
Trace = 0/1
Print debugging information about Z80 state. Default value is 1.
#define DEBUG should be present in order to use this option. Tracing
can be turned on and off during execution [for example, in keyboard
driver].
Trap = 0x0000..0xFFFF
Automatically start tracing when PC reaches given address. #define
DEBUG should be present in order to use this option.
Printer = "printer.out"
Name of file to output data sent to MSX printer. Default value of this
variable is NULL which causes fMSX to "print" to stdout.

912 :ナイコンさん:2017/07/14(金) 05:42:00.73 .net
CartA = "cartridge.file"
Name of a .ROM file to load into Slot 1. Default value is "CARTA.ROM".
This variable is ignored if no file exists.
CartB = "cartridge.file"
Name of a .ROM file to load into Slot 2. Default value is "CARTB.ROM".
This variable is ignored if no file exists.
DiskA = "diskimage.file"
Name of disk image to use for drive A:. Default value is "DRIVEA.DSK".
This variable is ignored if no file exists.
DiskB = "diskimage.file"
Name of disk image to use for drive B:. Default value is "DRIVEB.DSK".
This variable is ignored if no file exists.
FontName = "font.file"
Name of the font to be used in text modes. Default value is
"DEFAULT.FNT". This variable is ignored if no file exists.
ROMType = 0..5
MegaROM mapper type.
RAMPages = 4..16
Number of 16kB RAM pages to use. MSX1 needs 4 RAM pages. MSX2 needs 8
RAM pages which are accessible via mapper.
VRAMPages = 2..8
Number of 16kB VRAM pages to use. MSX1 needs 2 VRAM pages. MSX2 needs 8
VRAM pages.

913 :ナイコンさん:2017/07/14(金) 05:43:23.22 .net

In order to run the emulation:

1. Set all necessary variables.
2. Initialize screen and keyboard drivers [in the case of X11 drivers,
it is done by calling InitMachine() implemented in Unix.c and
returning 1 on success or 0 otherwise]
3. Call StartMSX().
4. Call TrashMSX().
5. Shut down screen and keyboard [in X11 case, by calling TrashMachine()].
6. Exit the program.

Take a look at fMSX.c to see an example of a sequence
explained above.

914 :ナイコンさん:2017/07/14(金) 05:46:45.54 .net
* THANKS TO... *

o Hans Guijt [.NL]
Working on Amiga port, Hans has done a very good job in getting
fMSX run fast on an Amiga. He rewrote the CPU emulation and the
screen drivers in assembler, optimized the VDP emulation, wrote
sound drivers, and added many more things making fMSX-Amiga the
best, if not the fastest MSX emulator for this platform. Thanks,
Hans [and yes, I do remember those .ROM files too ;)].

o Igor Sharfmesser [.KZ] and Alex Krasivsky [.RU]
Igor and Alex has brought to life fMSX-MSDOS. The first version,
including screen and keyboard drivers, was done by Igor. AdLib
sound was added by Alex. The development is done using WATCOM C.

o Teturo Tokuyama [.JP]
Teturo has done an excellent port of fMSX to Windows. As much as
I hate MeSsyWindoze, I must admit that Teturo's fMSX-Win32 with
its resizable window and the drivers partially rewritten in
assembly language rules. Period.

915 :ナイコンさん:2017/07/14(金) 05:47:58.48 .net

o Murakami Reki [.JP]
Murakami has written PC9801 port of fMSX. He is the guy whom you
have to thank for the disk support in fMSX. If not for him, I
wouldn't ever started implementing it :).

o Paul Chapman [.CA]
Paul Chapman is the author of fMSX-MAC/PowerMAC. Although his
program has bugs, it looks great and works faster than the original
MSX computer on an average PowerMAC. As Paul is not able to develop
fMSX-MAC actively at this moment, he has given me the source code
which I put onto fMSX WWW page.

o Arnold Metselaar [.NL]
If you happen to have a non-256-color X11 display, get Arnold's X11
drivers fixed to work for any screen depth.

916 :ナイコンさん:2017/07/14(金) 05:49:07.47 .net

o Guenter Woigk [.DE]
Found a bug with offsets in Z80 commands using IX/IY registers.

o Martial Benoit [.FR]
Explained how VDP deals with sprites and sent me copies of V9938
and WD2793 databooks [WOW! Thanks, Martial :)].

o Alex Wulms [.NL]
Sent me a copy of WD1793 databook.

o Maarten Huurne
Has done some extensive bug-hunting on the Solid Snake cartridge ;).

...and to all of .NL/.CL/.SU people who helped me with advices,
information, and encouragment.

ENJOY THE EMULATOR AND LET US KEEP MSX ALIVE :)


Marat.

917 :ナイコンさん:2017/07/14(金) 05:50:18.95 .net
******* fMSX *******
The Portable MSX/MSX2/MSX2+ Emulator
version 1.0

by Marat Fayzullin

email: fms@wam.umd.edu
IRC: RST38h
WWW: http://www.cs.umd.edu/users/fms/

918 :ナイコンさん:2017/07/14(金) 05:52:30.10 .net
* INTRODUCTION *

fMSX is a portable emulator of the MSX home computers written in C.
You can always get the latest fMSX source code, binaries, and support
files from

http://www.cs.umd.edu/users/fms/MSX/Sources.html

There are versions of fMSX for Amiga, MAC, PowerMAC and IBM PC
[MeSsyDOS and WindozeNT]. Following people are maintaining ports
of fMSX to these systems:

Amiga: Hans Guijt [jguijt@WI.LeidenUniv.NL]
MSDOS: Igor Sharfmesser [igor@asni.itpm.alma-ata.su]
Alex Krasivsky [al@ares.iki.rssi.ru]
Windows: Tekuro Tokuyama [94i23@ieee.hokudai.ac.jp]
Marat Fayzullin [fms@wam.umd.edu]
WindowsNT: Igor Zaika [igorz@netcom.netcom.com]
PowerMAC: Paul Chapman [pchapman@cs.stmarys.ca]
PC9801: Murakami Reki [90315054@ex.ecip.osaka-u.ac.jp]

919 :ナイコンさん:2017/07/14(金) 05:54:30.55 .net

If you would like to write new drivers, *please*, contact me by
email or some other means. Feel free to look at existing drivers
as well as at other code. More explanations follow.

This manual covers two different fMSX distributions:

1. *** Source Code Distribution ***
This distribution includes C sources for a portable MSX emulator,
and screen/keyboard drivers for Unix/X and MSDOS. fMSX has been
tested on following Unix systems:

NetBSD FreeBSD Linux SunOS Solaris OSF/1 Ultrix Irix AIX

920 :ナイコンさん:2017/07/14(金) 06:35:53.45 .net
2. *** fMSX-Windows Distribution ***
Due to the flood of requests from the people who use DOS/Windows
running PCs and are unable to compile the emulator on their own, I have
ported fMSX under Microsoft Windows. This distribution contains an
executable of a limited version of fMSX-Windows which doesn't allow you
to use the second cartridge slot and the second disk drive, and has
an annoying "fMSX DEMO" message across its window. The uncrippled
version of fMSX-Windows is available for $35US from

Marat Fayzullin
6304 Hampton Place
Elkridge, MD 21227
USA

fMSX-Windows is a 32-bit application which runs under Windows 3.11,
Windows 95, and Windows NT. It is compiled with Borland C++ and needs
Microsoft WinG library which can be obtained from

ftp%3A//ftp.microsoft.com/Softlib/MSFILES/WING10.EXE

921 :ナイコンさん:2017/07/14(金) 06:36:36.08 .net
There is also another Windows port available from Teturo Tokuyama.
It is *free* and has some pros and cons over my port:

o Teturo's version uses faster SCREEN 2 and 5 drivers written in
assembly. It also better handles the screen with a limited number
of colors (256).
o My version supports disk drives, 512x212 screen modes [SCREENs 6,7,
and TEXT80], and external fonts. It also pauses when its window is
iconified or deactivated to save CPU cycles.

Both versions use the same MIDI sound drivers written by Teturo.

922 :ナイコンさん:2017/07/14(金) 06:37:17.38 .net
* NEW IN THIS VERSION OF FMSX *

o ROM mappers are rewritten and new kinds are added. Try SolidSnake
with the Konami4 mapper ;).
o RAM mapper and disk support are changed. More disk programs should
work now.
o Windoze port is done by me. It has a nice resizable window, control
panel, and the *real* support for 512-pixel-wide screens such as
SCREENs 6,7, and TEXT80.

923 :ナイコンさん:2017/07/14(金) 16:07:50.25 .net
512k制限無くなったのかな

924 :ナイコンさん:2017/07/14(金) 20:28:07.08 .net
* SHORT MANUAL FOR THE WINDOWS USERS *

In order to use fMSX-Windows, you will first have to install WinG
graphical library which can be obtained from Microsoft [see address
above]. Also, the fMSX-Windows distribution contains a file called
BWCC32.DLL which should be either kept in a directory from which
fMSX runs, or copied into \WINDOWS\SYSTEM directory.
fMSX-Windows runs in a resizable window with the following menus:

o File
o New
This opton allows to restart fMSX with a new cartridge in slot A.
o Setup
This option pops up a setup dialog allowing to change emulation
parameters:
o Cart A and B
You can set the names of .ROM files to be used as cartridges
in slots A and B using these options. Notice that slot B
is *disabled* in the unregistered version of fMSX-Windows.
This option will only take effect after fMSX is restarted.
o Disk A and B
You can set the names of .DSK files to be used as floppies
in drives A and B using these options. Notice that drive B
is *disabled* in the unregistered version of fMSX-Windows.
Read FAQ section below to find out more about using disks
with fMSX. This option will only take effect after fMSX is
restarted.

925 :ナイコンさん:2018/12/09(日) 15:22:11.58 ID:QM/wpXmfp
沢山MSXの思いは書いていきたいんだけど、
スマホのやり過ぎもあるかもしれないし、加齢による
老眼が発症したのかもしれない、とにかく目が悪くなったんだ。
生活面では特に支障はないのだけれども、見る事がとにかく辛い。
だから読まない、書かないみたいな習慣が身についてしまって
かなりインターネットから遠いてしまったわけで。
それでもこの2ちゃんねるでの「今は5ちゃんらしいが」レスを
やめるわけにもいかないのでガンバッテMSX関連であるヤフオクで
ゲームやケーブルなと安い物を落札しつつ常にMSX界の動向はリアルに
監視することだけはかかさないよう心がけていた。
そんな中、いつものようにユーチューブで違法アニメを視聴していたんだけど
最近とんでもないことに気づいてしまったんだ、宇宙の心理かもしれないくらいに。

926 :ナイコンさん:2018/12/12(水) 21:50:50.23 ID:80u/ZQU1j
さみしい

927 :ナイコンさん:2019/06/30(日) 00:05:09.40 ID:UN3kA8RG/
保守

総レス数 927
516 KB
掲示板に戻る 全部 前100 次100 最新50
read.cgi ver 2014.07.20.01.SC 2014/07/20 D ★