English patch for NRTDRV180715

There are so many issues to solve, but I make it public.

This is english patch for NRTDRV, for dual OPM(YM2151) and single SSG(YM2149)/PSG(AY-3-8910) controllable music driver.
It is originally developed for Sharp’s X1, but is ported to other JP PC’s which has OPM options, like X1/X1turbo(with OPM soundboard), X1turboZ(embedded, internal OPM/SSG), MSX(with SFG-01/05), PC88(with Sound board “HIBIKI”). Windows’ or Android’s applications emulates OPM/SSG/PSG well and you can play NRTDRV’s music data on such devices, no need to own rare JP 80’s PCs. Some hardware chiptune modules are supported, like NBVx as well.


You can use NRTDRV MML compiler (NRTC) with English messages.

MML(Music Macro Languages) was very popular in 80-90’s hobby PCs.

It is produced as IPS patch to original Japanese version of NRTDRV.EXE.



NRTDRV – OPM and PSG music driver

Now I am working on translating NRTDRV manuals.

NRTDRV is originally aimed and developed for Sharp “X1” series computers, which has OPM sound board option was very popular. Highest models of “X1turboZ” has OPM inside and as default. These models were released almost same time as X68000 series, which has OPM as well.

NRTDRV developed in 2009, and is not old software at the time of real X1, ’83-around ’89. MML compiler runs on Windows and supports USB-connected hardware chiptune players as well.

NRTDRV is OPM(max. 2 chips) + PSG music driver on Sharp X1 series PCs and ported fine to MSX with SFG-01/05, especially for YAMAHA’s line ups.

Note, it is important that NRTDRV supports SFG-01 and SFG-05 for MSX, in addition to that, double cartridges of that.

Remember, YAMAHA’s OPM(and successor) have been almost vanished options and supported with only few softwares developed by YAMAHA, and it is difficult to get.

There are many FM sound related replayers which has origin in Japanese 80’s PCs.

NRTDRV official support replayers are “hoot”, “ASLPLAY(CLI)”, “nrdplay” and “MDPlayer”. Many of them supports other sound chips other than OPM and PSG. I want these tools get more popularity among retro sound geeks abroad as well.

I am checking NRTDRV related tools whether English mode available or not. I shall translate and make some patches if there are no support in English.

Slowly but step by step, translation is prepared. Let us play with it!!

ワンチャンmml Xevious




#COMPOSER Yuriko Keino

1 v15 q7 t120 f8r8c16f16 a16>c16<a16r16 f16g16r16g16g16 r16d8r16
1 g16f16r16 e16 f8r8 c16f16a16>c16< a16r16 f16f+16r16f+16f+16r16f4


ワンチャンmml Fantasy Zone ST.6 with NRTDRV





;Don’t Stop (stage6)
;Fantasy Zone, SEGA

1 v15 r8 L q7>c8< a+8 r2r4 >d4<>c4<a+4
1 v15 q7 a8a+8a2r8 g8 f8 g8 r1

1 v15 q7 >c8< a+8 r2r4 >d4<>c4<a+4
1 v15 q7 a8a+8a2r4 g8 f8 g8 r1r4

1 v15 q7 d+2>d4<>c2<a4f4 >d2<r4 f4 g1 r4 d+2 >d4< >c2< a4 f8 g1 r4 g8 g4 r16 f8 f4 r16

LSX-DODGERS Port for MSX(LDMSX) report003

ZAS error “Too may symbols”

I continued solve the differences between two assemblers as introduced in previous post, I encountered error “Too may symbols”(sic.) while including other source file. (FYI, this error message is not explained in HI-TECH C manuals.)

I suppose, this means “Too many sybols” and memory area is not enough. I decided to compress ZAS binary and make free memory.

I used PopCOM! execution file compresser on CP/M. It is distributed in “PC88 users club library”.


After compression, size of ZAS.COM is 19840 from 37632 bytes.
(I compressed link.com as well this time for further use.)

I wanted to solve memory shortage by this with 18k extended free area, but in vain. “Too many symbols” error is not resolved by memory free area.

前回紹介したアセンブラ間での差分を解消しながら、ソースをアセンブルしていくと、ファイルをインクルードしたときに”Too may symbols”(ママ)のエラーが出てしまいました 。(ちなみにこのエラーメッセージはHI-TECH Cマニュアルに記載されてません)。


PC88 users club libraryにあったものを使用しました。





LSX-DODGERS Port for MSX(LDMSX) report002

LSX-Dodgers is written by Z80 absolute macro assembler “OHM-Z80” on S-OS. S-OS is a multi-platform operating system project across some PCs in 80’s Japan. (S-OS is interesting and deeply technical topic so I can not describe here any further). I deeply involved in HI-TECH C for CP/M, so I want to use HI-TECH C assembler “ZAS” this time.

Ports of S-OS and OHM-Z80 is available here.


The my first interest (or TASK) is converting OHM-Z80 assembler source to HI-TECH C “ZAS” assembler. OHM-Z80 is highly extended (this topic is also so DEEP and technical, sorry) and source code for this assembler is not assembled easily with other assembler.

There are so many difference between these two assemblers and I tried to list below as far as I noticed (so it is not complete one).

My first goal is to complete editing these points.

*Description for addresses
Starts with $ or ends with H
Ends with H

*Final and absolute address is determined by
Linker(LINK -C)

*Including other source files
*Include on line head

*Available characters for labeling
[],@ are OK
[],@ are N/A

*Definition for bytes
DB & DEFB are available
DB & DEFB are available, but DB cause error(by unknown reason)

*Definition for words
DW is available
DW is not available(only DEFW)

*Recursing DEFW definition via labels

LSX-DodgersはS-OS用Z80アブソリュートマクロアセンブラである”OHM-Z80″で書かれました。S-OSは80年代のPCをまたいだマルチプラットフォームOSプロジェクト(S-OSは興味深いのですが、とてもディープで技術的な内容になるので、ここではこれ以上触れません)。自分はHI-TECH C for CP/Mにどっぷり浸かってしまったので、今回はHI-TECH C 用アセンブラである”ZAS”を使いたいと思います。



自分の最初の関心(というかタスク)はOHM-Z80のアセンブラソースをHI-TECH C “ZAS”アセンブラに変換することです。OHM-Z80は大幅に拡張されており(このトピックもディープでテクニカルなのです、スイマセン)、このアセンブラ用のソースコードは他のアセンブラではそう簡単にはアセンブルできません。




リンカ(LINK -C)







LSX-DODGERS Port for MSX(LDMSX) report001

Do you know “LSX-Dodgers”?

This is MSX-DOS cloned OS runs on Sharp X1, Z80 series computers.

Unfortunately we don’t have MSX-DOS clones to redistribute freely on the Net, so we should have some. This “LSX-Dodgers” is the first and the best candidate for it, I suppose.

The source codes of “LSX-Dodgers” are published on github.com by original author GAKU. (We appreciate the work!!)


I decided to port this OS to MSX and some other Z80 based computers, and forked it.


Planed tasks(2018/1/1)

*Source (format) convert from OHM-Z80 to HI-TECH C ZAS

*Tests for common functions between MSX-DOS and LSX-DODGERS

*Implements and tests for uncommon functions between MSX-DOS and LSX-DODGERS

*Implements and tests for extended functions by LSX-DODGERS

I will report about porting processes on this blog.













Sega GameGear Cartridge’s Chip Report

Some weeks ago, I researched my own Sega Game Gear’s chips inside. I would like to convert memory bank chips (if exist) but nothing are there as separated single chip. I gave up researching inside GameGear cartridge but I report how these were like. Have fan!


Socerian for MSX PSG PATCH

Sorcerian for MSX PSG Patch enables you to play SORCERIAN with PSG music.

“Sorcerian” is a one of most famous role playing game in Japan from 80’s.

MSX version plays music with FM sound (YM2413), but these are not so good as the one of other platforms. I prefer PSG version to FM, so make the patch.

Download from here.


Translation of “BEEP’s ‘Retro’ Hobby Program Contest”

This is ***unofficial*** translation of “1st. Beep’s ‘RETRO’ Hobby Game Program Contest”. If you interested in it, ask official staffs.

Official announcement is here (written in Japanese only)

第1回 BEEP ”レトロ”ホビーゲームプログラム・コンテスト 開催のお知らせ〜!

BEEP’s “Retro” Hobby Program Contest

There are 3 divisions in this contest. Please refer below.

1)8bit division

Gold prize 50000 Yen
Silver prize 30000 Yen
Bronze prize 10000 Yen

Series of MSX(1-2+)/PC8801/PC6001 etc. Free selection of models. Game content is not limited.

Please ask before starting development, because some models are cannot be tested.

2)16,32bit division

Gold prize 50000 Yen
Silver prize 30000 Yen
Bronze prize 10000 Yen

Series of FM-TOWNS/X68000/PC9801 etc. Free selection of models. Game content is not limited.
Please ask before starting development, because some models are cannot be tested.

3)Lottery game division

Gold prize 100000 Yen
Silver prize 50000 Yen
MSX or X68000

SHOP of “Akihabara @BEEP” has been provided coupons or prizes according to score of lottery game for customers who bought more than certain amount. It corrupted because of your enthusiasm. Beep needs second one now.

Shoot’em up style game for score attacking in 5-8 seconds.
Needs setting configuration for
-Number of each prizes
-Amount of lottery tickets
Amount of lottery tickets: 100
Special prize:1
Probability is 1/100
Prize should be consumed and no more prizes should be issued in this case.
Configuration for probability of prizewinning. This is increased when user get high score.
Only movement and shot are controllable. Avoid complicated controls and difficult presentation.This game is for momentary playing.
Slightly randomize scoring or appearance occurrence ratio of enemies. (Don’t allow a certain users to get prize every time.)
Player can use only joypad.
Only one user who got high score can entry the name (input with keyboard, within 12 characters of alphabets and numbers. Name entry finished with enter key.)
Sound effects and BGMs
Production for easy understanding of each prize.
Loop or stop scrolling until a certain key is pressed.
Returns title when game finished.
High score and name should be displayed permanently while title screen and playing game.
Winner’s game of this division will be used daily at the Beep store. We want applicant of this division to accept request for (a little bit) modification if win the prize.

Common rule

Dead line: 2017/11/27

Each programs should not be needed special devices.
MSX-Audio/68060/Extended MSX**/HDD are not acceptable.

** It might mean FM-7&FM-X convination [note by translator].

Extended devices which is distributed certain degree*** are acceptable.

2M memory for X68000/MSX FM cartridge(MSX-MUSIC)/16 Color Board and 26 Sound Board for PC9801VM

*** Judge by yourself ^^;


Send disk or tape which can be read by real PCs.

Destination address:

Programs which is tested on emulators are acceptable.

Destination mail address

Pack these items in parcel together

-Contact information
E-mail address or tel number
-Name and nickname
If your real name can be published, write about it.
Comments for your program, free talking, self production, tested environment and explanation how to load the game.

Applied medias are not returned. Results of this contest will be revealed on the site of BEEP.

*Source codes, characters and musics from unlicensed copy righted materials are not allowed.
*Games should be unreleased anywhere else and your original one. If you have copy rights of the product, arrangement or diversion are acceptable.
*Don’t blame or attack certain person or organization.
Destruction of XXX building etc.

*Applied games might be produced on the BEEP web site or SNSs. We would like to sell it like ENIX did early times. When it is realized, we will commit contract with winner.
*Application rules and others might be changed without preliminary announcement.