Page 1 of 1

Librarys for Prog8

Posted: Wed Feb 28, 2024 7:10 pm
by funkheld
Hi good afternoon.
I'm playing with the Prog8.

Where pleace can you find out how many import libraries there are for the
x16 and what is in the libraries or what I can call from it
for my program?

Thanks.
greeting


-----------------------------
%import textio
%import diskio
%import math
%import syslib
%import palette
%import zsmkit
%import sprites
%import joystick
%import SpritePathTables
%zeropage basicsafe
.....
.....
....

Re: Librarys for Prog8

Posted: Wed Feb 28, 2024 11:25 pm
by desertfish
Hullo! Yeah here is some documentation of part of the libraries: https://prog8.readthedocs.io/en/latest/libraries.html

The rest is , shall we say, "Use the source, Luke" https://github.com/irmen/prog8/tree/mas ... s/prog8lib

I also advise to study the dozens of examples https://github.com/irmen/prog8/tree/master/examples

Re: Librarys for Prog8

Posted: Thu Feb 29, 2024 8:59 pm
by funkheld
Thanks for the help.

I've made some progress now.

Thanks.
greeting

Re: Librarys for Prog8

Posted: Thu Feb 29, 2024 9:44 pm
by desertfish
If you feel so inclined, there's a small but active sub-community using and discussing prog8 on the Commander X16 Discord and helping each other out. It's more interactive than this forum, if that suits you.

Re: Librarys for Prog8

Posted: Fri Mar 01, 2024 1:32 pm
by funkheld
Hello thanks for the information.

How do I get there on the internet please?

Thanks.
greeting

Re: Librarys for Prog8

Posted: Fri Mar 01, 2024 5:14 pm
by desertfish
There's a link to the discord server on the front page of this forum https://cx16forum.com/
and the prog8 channel in there is called #prog8-dev

Re: Librarys for Prog8

Posted: Tue Mar 05, 2024 9:51 pm
by funkheld
Hi good afternoon.

what is the difference please:

graphics and gfx2 on pro8?

Thanks.
greeting

Re: Librarys for Prog8

Posted: Tue Mar 05, 2024 9:58 pm
by desertfish
gfx2 has more features (like flood fill) and has different screen modes. But it only works on the commander X16.

graphics is also available on the Commodore-64

Re: Librarys for Prog8

Posted: Wed Mar 06, 2024 2:39 pm
by funkheld
hello, thanks for info.

greeting