I made a small graphic library for use with BDS-C.

Страница 1/2
| 2

By Yukio

Paragon (1540)

Аватар пользователя Yukio

11-05-2010, 06:21

If you have MSX-DOS ver 2.2 you can use the CP/M 2.2 version of BDS-C. I like this compiler because it is Public Domain, sure it is a little old but it is easy to get a copy of this from the Internet. Also it is listed on The MSX Book!

Для того, чтобы оставить комментарий, необходимо регистрация или !login

By Josb

Master (206)

Аватар пользователя Josb

12-05-2010, 20:37

Great,

I usually use BDS-C on my old MSX and I think it's faster than other compilers, for example HI-TECH, although it only works with 8080(?) op-codes

Please, Can you tell me where I can find it?
Thanks

By Yukio

Paragon (1540)

Аватар пользователя Yukio

12-05-2010, 22:33

Usually the code generated by BDS-C is smaller than HI-TECH C, both compilers are for CP/M (but the BDS-C only generated code for the 8080). Some files generated are about 2-3 KB for MSX-DOS using BDS-C and more than 4KB when generated by HI-TECH. The good is that one is *PUBLIC DOMAIN* and the other is *FREEWARE* !!!

My files:
br.groups.yahoo.com/group/microcomputador-jogos/

BDS-C:
www.bdsoft.com/resources/bdsc.html

By Josb

Master (206)

Аватар пользователя Josb

14-05-2010, 17:17

Ok, I managed to download the file at last.

If I can make something next week, I'll tell you.

Thank you again

By Yukio

Paragon (1540)

Аватар пользователя Yukio

14-05-2010, 17:20

Ok. Later, I will upload some samples. There should be more code to download in the next days ...

By ARTRAG

Enlighted (6923)

Аватар пользователя ARTRAG

14-05-2010, 18:03

Try also cross-compilers: hi-tech v7.8 for PC gives by far better code than the CPM version

By Yukio

Paragon (1540)

Аватар пользователя Yukio

14-05-2010, 21:13

But the Cross-Compiler is paid! Not everybody could afford those prices ... apart from the fact that their are not compatible with MSX-DOS, only the compiled files are !!!

By ARTRAG

Enlighted (6923)

Аватар пользователя ARTRAG

14-05-2010, 22:50


But the Cross-Compiler is paid! Not everybody could afford those prices ... apart from the fact that their are not compatible with MSX-DOS, only the compiled files are !!!

oO
cross-compilers not compatible with MSX-DOS? how strange! Wink
en.wikipedia.org/wiki/Cross_compiler

By Yukio

Paragon (1540)

Аватар пользователя Yukio

15-05-2010, 00:35


But the Cross-Compiler is paid! Not everybody could afford those prices ... apart from the fact that their are not compatible with MSX-DOS, only the compiled files are !!!

oO
cross-compilers not compatible with MSX-DOS? how strange! Wink
en.wikipedia.org/wiki/Cross_compiler

Some compilers (including Hi-Tech C native compiler for CP/M) seems to hang on MSX-DOS when dealing with complex projects. Their works on pure CP/M 2.2. The good part is that their can generate code for use in ROM format, this means that it is possible to write SEGA Master System software on MSX home computers.

By Josb

Master (206)

Аватар пользователя Josb

06-06-2010, 22:06

Hi again,

I could use your "graphics.h" file at last, but I don't get to make it works.

I've found some mistakes, for example, in vpeek function you wrote 'valor' instead of 'value' . So, I think it's posible the file be able to have others that I haven't found.

Anyway, I think It's better to create a file .crl than files kinds of .c or .h. The BDS-C book explains how to be able to do it. The last year I've tried to make a .crl file with asmsx assembler but I couldn't make it, but I believe It isn't difficult.

Anyway, I'm looking forward to you can show something

see you around

By Yukio

Paragon (1540)

Аватар пользователя Yukio

06-06-2010, 22:33

Ops ... I should have been mistaken the files. I posses the version on Portuguese langague, the English one was not entirely translated. I had a strange problem with the DVD-RW when trying to upload stuff to Yahoo. I will send the correct version later. CRL files are just fine, I think that after use the compile option for a program a person can specify where is the CRL file with the functions.

Thanks for the information.

Страница 1/2
| 2