Looking for SymbOS Quigs documentation

صفحة 4/8
1 | 2 | 3 | | 5 | 6 | 7 | 8

بواسطة Trebmint2

Master (241)

صورة Trebmint2

31-08-2021, 11:53

Well Columns, Tetris, Battleship, Snake and Chess were written in Quigs. Or an early version of it.

For most stuff Quigs will be fast enough, as the compiler produces code similar to C levels of performance if not better in some cases.

بواسطة AxelStone

Prophet (3046)

صورة AxelStone

31-08-2021, 11:55

Trebmint2 wrote:

Well Columns, Tetris, Battleship, Snake and Chess were written in Quigs. Or an early version of it.

For most stuff Quigs will be fast enough, as the compiler produces code similar to C levels of performance if not better in some cases.

Where can I get sources for that games? The zip only contains the exec. About my question with IDs, any idea why it's working in this way?
Thanks.

بواسطة Trebmint2

Master (241)

صورة Trebmint2

31-08-2021, 11:59

The ID is an actually an address of where the Control data is stored, which obviously can be anywhere in the 64k. The vars are signed so it return -7339.

So in effect when you supply the ID you supply the address for the command/function to work on. The use of Form with Display is the way Quigs uses to find the ID.

Hope that makes sense

بواسطة Trebmint2

Master (241)

صورة Trebmint2

31-08-2021, 12:03

Oh by the way. Nice form. Good to see the Amstrad logo and not MSX.... (haha bring on the hateSmile

بواسطة AxelStone

Prophet (3046)

صورة AxelStone

31-08-2021, 12:34

Trebmint2 wrote:

The ID is an actually an address of where the Control data is stored, which obviously can be anywhere in the 64k. The vars are signed so it return -7339.

So in effect when you supply the ID you supply the address for the command/function to work on. The use of Form with Display is the way Quigs uses to find the ID.

Hope that makes sense

Ok so really the number shown in Quigs is not valid, I mean, that 4 can't be used and I need to extract the ID in any case. About memory I'm curious, you are talking about 64kb and SymbOS supports up to 1Mb. Is the code limited by these 64kb or does it provide a internal memory mapper to use up to 1Mb automatically?

About the logo, I like CPC very much and I hope to make things compatible with both, MSX and CPC Wink

بواسطة edoz

Prophet (2389)

صورة edoz

31-08-2021, 12:39

Indeed, Nice test app.it looks very cool already with the pictures! It is very nice to see someone else is trying to work with Quigs! Trebmint is not right about Columns, Tetris, Battleship, Snake, IRC, perfcounter, FM radio, app etc.. they where all written in Unify. Unify apps are not really compatible with Quigs. So i'm not sure those sources will help you to be honest as they will be confusing i think. Unify development stopped and Trebmint had new insight for Quigs.
The apps i did in Quigs, are now, SymbOS EMAIL client and Flappy Bird (G9kDemo) and the DAB+ Radio app. I did one conversion of the FM radio from Unify to Quigs but cost me some days to do. I'm not sure if it makes sense to port the other apps to Quigs to be honest. I think for me it is better to make other new things in Quigs as well. The FM radio app i had to do as new hardware from Hans was different and as Unify was not complete i needed the functionality of Quigs.

بواسطة AxelStone

Prophet (3046)

صورة AxelStone

31-08-2021, 12:45

edoz wrote:

Indeed, Nice test app.it looks very cool already with the pictures! It is very nice to see someone else is trying to work with Quigs! Trebmint is not right about Columns, Tetris, Battleship, Snake, IRC, perfcounter, FM radio, app etc.. they where all written in Unify. Unify apps are not really compatible with Quigs. So i'm not sure those sources will help you to be honest as they will be confusing i think. Unify development stopped and Trebmint had new insight for Quigs.
The apps i did in Quigs, are now, SymbOS EMAIL client and Flappy Bird (G9kDemo) and the DAB+ Radio app. I did one conversion of the FM radio from Unify to Quigs but cost me some days to do. I'm not sure if it makes sense to port the other apps to Quigs to be honest. I think for me it is better to make other new things in Quigs as well. The FM radio app i had to do as new hardware from Hans was different and as Unify was not complete i needed the functionality of Quigs.

So let's focus on Quigs apps, if Unify was deprecated Smile . thanks for your comment, with the button next and previous you can change the sprite frame Smile . The graphics were included as samples in Quigs.

I think that Quigs has a lot of potential to be a powerful IDE to make 8bit multiplatform software.

بواسطة edoz

Prophet (2389)

صورة edoz

31-08-2021, 12:53

yes, that is better to do:
Here you can download some sources of my projects.
As you can see i have a completely different style of programming.
And sometimes i am a bit lazy then Rob so my code could be shorter and smaller.
Some of the projects are just small tryouts, but at least you can read it a bit and maybe learn from it.
At the moment i don't want to share my Email Client sources as it is not finished. Hope you don't mind!

Here are some of my Quigs sources

بواسطة Trebmint2

Master (241)

صورة Trebmint2

31-08-2021, 13:01

I wouldn't say its not valid. You require the Form number and Display position to get the ID programmatically, or else have to refer to it directly by the name, which for groups of controls is larger and uglier code.

For memory Symbos app are code wise limited to 64k (actually about 62k)... Graphics however are loaded wherever there is space, and you can do similar for data by creating memory areas.

Symbos apps are broken into 3 parts. Code / Data / Transfer. And these combined can be up to 62k in size. Data & Transfer are actually only 16k max each. So it can be 30k/16k/16k or 50k/6k/6k etc
But you can allocate some data like graphics to other banks. Meaning you could have 128k of graphics data and 64k of code. This is Symbos and nothing to do with Quigs.

Do you have the source for Chess?

بواسطة AxelStone

Prophet (3046)

صورة AxelStone

31-08-2021, 15:14

Thanks for the sources guys, downloaded your samples @edoz and @Trebmint2, yes chess source are part of Quigs examples. I started checking 2048 that seems more simple.

About memory vey nice. So really the 62kb is for "active" code let's say, but you can use Memory type to allocate Data beyond the 64kb. Something similar to Nestor Basic that can allocate data in logical segments. In this way if you have big amouns of data to use it makes no sense to allocate it in the 64kb base, but put in another memory part.

The part that I don't know what does it means is the "Transfer" block. What it is exactly?

Thanks!

صفحة 4/8
1 | 2 | 3 | | 5 | 6 | 7 | 8