Librarys for Prog8

All aspects of programming on the Commander X16.
Post Reply
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Librarys for Prog8

Post 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
.....
.....
....
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Librarys for Prog8

Post 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
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: Librarys for Prog8

Post by funkheld »

Thanks for the help.

I've made some progress now.

Thanks.
greeting
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Librarys for Prog8

Post 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.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: Librarys for Prog8

Post by funkheld »

Hello thanks for the information.

How do I get there on the internet please?

Thanks.
greeting
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Librarys for Prog8

Post 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
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: Librarys for Prog8

Post by funkheld »

Hi good afternoon.

what is the difference please:

graphics and gfx2 on pro8?

Thanks.
greeting
User avatar
desertfish
Posts: 1123
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: Librarys for Prog8

Post 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
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: Librarys for Prog8

Post by funkheld »

hello, thanks for info.

greeting
Post Reply