Search found 196 matches

by polka
Sun Jun 06, 2021 1:00 pm
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 29
Views: 7472

Re: Anyone for Object Oriented coding on the QL?

Hi Derek, I just found a bug in the last version of my code : I corrected it ! The method @ of 3D> must be defined after the methods X Y Z not before, because otherwise the methods X Y Z do not use @ of the FORTH stem but @ of the 3D> vocabulary ( the @ that was defined just before ! ). There are al...
by polka
Sun Jun 06, 2021 5:51 am
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 29
Views: 7472

Re: Anyone for Object Oriented coding on the QL?

Hi all, Here, my last version of Object Oriented Programming in FORTH with a functionnal demo CLASS named 3D : CR .( Three words needed to complement SupperFORTH ) CR .( mixed multiplication : two 16 bits operands 32 bits result ) : M* ( n1,n2 --- d ) 1 OVER 0< IF NEGATE SWAP NEGATE ELSE SWAP THEN >...
by polka
Wed Jun 02, 2021 10:33 am
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 29
Views: 7472

Re: Anyone for Object Oriented coding on the QL?

Hi all, let me continue to try to convert you : These are four words in FORTH that make this langage worth These four words are actually two pairs : CREATE ... DOES> and VOCABULARY --- DEFINITIONS With these four words, I tried to show some posts above how it would be easy to make FORTH look like an...
by polka
Mon May 24, 2021 10:15 pm
Forum: The Off-Topic Section
Topic: Today I Received...
Replies: 642
Views: 286732

Re: Today I Received...

To XorA : I guess I will also test this one soon. What is actually slow about its full sreen display ? To Dilwyn : uQLx on the PiZero, I was curious to test how many times it was faster than a BBQL. The answer is 20 times. I used my Game of Life program (the version for Computer One Forth) to measur...
by polka
Mon May 24, 2021 11:28 am
Forum: The Off-Topic Section
Topic: Today I Received...
Replies: 642
Views: 286732

Re: Today I Received...

No, not today ; for Xmas I bought myself a Pi400 computer, but playing with it for a while, I decided no longer to read MagPi on my computer, but to subscribe to the paper issues for one year. Framboise.jpg Surprise : with this subscription, I received a free PiZero (last model : monocore, 1Ghz, int...
by polka
Thu May 20, 2021 11:05 am
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 29
Views: 7472

Re: Anyone for Object Oriented coding on the QL?

Now let's use this for something a little more serious : let's define a class of VECTORs, which instances will hold a 16bits number <size> and <size> 16bits cells and react to a lot of operations, their methods implemented in a vocabulary VECTOR>. So after LOAD_FILE of the first file of the previous...
by polka
Thu May 20, 2021 11:01 am
Forum: Software & Programming
Topic: Anyone for Object Oriented coding on the QL?
Replies: 29
Views: 7472

Re: Anyone for Object Oriented coding on the QL?

Hi all, Jedi is back Some of you are seemingly willing to squeeze object oriented programming into the QL ? And for the moment only by crosscompilation of free pascal and maybe only for expanded machines ? I say, why not try object oriented programming with FORTH on a BBQL ? What follows is only a v...
by polka
Wed May 19, 2021 5:21 am
Forum: Software & Programming
Topic: I love QDOS, but...
Replies: 7
Views: 1759

Re: I love QDOS, but...

OK, then the problem is only the suitability of the QDOS error/warning message. I misunderstood (because focusing on some answers to your first post) that you were complaining about the inability to override the hardware write protection through software.

Bye, POLKa
by polka
Wed May 19, 2021 4:55 am
Forum: Software & Programming
Topic: 50 Years of Pascal
Replies: 8
Views: 2212

Re: 50 Years of Pascal

In the beginning, for programming computers, we had only machine code (machine dependant). Then, for expressing computation algorithms, we invented FORTRAN (FORmula TRANslator). To foster program structuring, we invented ALGOL, and Niklaus Wirth (then a young engineer) took part to its better standa...
by polka
Wed May 19, 2021 4:14 am
Forum: Software & Programming
Topic: I love QDOS, but...
Replies: 7
Views: 1759

Re: I love QDOS, but...

I do not understand the issue ? Many removable media (mdvs, flps...) have hardware write protections (some kind of tabs) that you can see and manipulate. If you may modify them by (any) software, it means that you no longer have write protection. So, for these media, it is well that QDOS does not pe...