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”.

http://www.pc88.gr.jp/softlib/index.php?action=find_by_env&env=/cpm&from=1&size=20

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マニュアルに記載されてません)。

シンボルが多すぎる、ということだと思うのですが、メモリに確保している領域が足りなくなるのかな?と勝手に推測。いい機会なので、ZASのバイナリの方を圧縮してみることにしました。

使用したのはCP/M用の実行バイナリ圧縮ツールのPopComです。
PC88 users club libraryにあったものを使用しました。

http://www.pc88.gr.jp/softlib/index.php?action=find_by_env&env=/cpm&from=1&size=20

圧縮した結果、37632から19840になりました。
(後で使うので一緒にlink.comも圧縮しました。)

18k近くも空くなら、メモリ不足は解消するでしょう。
…と思いましたが、結論からいけばダメでした。

Symbolが多すぎるのは、空きメモリを増やしても解消しないようです。