Оберон-клуб «ВЄДАsoft»
https://zx.oberon.org/forum/

zx7 compression
https://zx.oberon.org/forum/viewtopic.php?f=8&t=328
Страница 1 из 1

Автор:  slenkar [ 14 авг 2017, 18:27 ]
Заголовок сообщения:  zx7 compression

I made a text file called hi.txt
compressed it with zx7 and got hi.txt.zx7

I cant open that file with a text editor so i cant copy and paste it into an oberon file,

do i have to 'include' that file if so, how?

Автор:  Zorko [ 15 авг 2017, 10:44 ]
Заголовок сообщения:  Re: zx7 compression

You can do it in the following way. I already gave you a link to the clip where this method is used. But there is XDev used, whereas you are using a command-line Ofront+ that does not yet support constant arrays.

zx7-packed text is a binary data, and you can insert it into the Oberon program as a binary resource using the substitution of the implementation of an array, which you specify in the .Def file as an Oberon-array, and in the C-file as a constant array filled with your data.

Страница 1 из 1 Часовой пояс: UTC + 2 часа
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/