Search:

Type: Posts; User: Charles Pegge

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Shrinking the OOP Monster

    After trying out various OOP models, I think I've got one that comes out top, both in performance, flexibility and simplicity. The virtual table of functions has gone in...
  2. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Thanks Kent, I'm keeping half an eye on Ruby. It is a long way up the code pyramid, and o2 is way down at the bottom somewhere, where the bugs have sharper teeth.

    O2 syntax is slightly complicated...
  3. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Hi Kent,

    You must be up very late or very early - (I have a random body clock :)).

    The above expression is Pythagoras: sqr(x^2+y^2+z^2). Only it's Reverse Polish for the FPU which has a stack...
  4. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Yes, well spotted Kent. I slipped back into 4 byte integer. In fact the = would not work either since the result is returned in the FPU. This is where overloading operators would be useful. If you...
  5. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    This is a sketch to show what is entailed in setting up OOP with methods, hidden members and inheritance. There is a sample of three methods - enough to work on the principle anyway. It can be packed...
  6. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    In deep thought all day :)

    Classes and their virtual tables are dynamically created - some very interesting constructs without adding extra features to the Oxygen kernel so far.

    C++ OOP hides...
  7. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Hi Kent,

    Inheriting properties is exremely simple - an example of double inheritance and then adding a couple of other members:

    type color 1 blue 1 green 1 red 1 alpha
    type xyzvec 4 x 4 y 4 z...
  8. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Just posted the updated help manual containing the beginnings of Omerlin's code spells. The experiment went well today and I hope this will be useful to all, enabling code to be generated without...
  9. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    I am working on the "Omerlin Code Spells" section - no problems running Forms or Javascript inside chm :) so I hope to post a very simple prototype in the help file later today.
  10. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Please let me know right away if you encounter any odd behaviour.

    Defs are going to be interesting because there are very few restrictions placed on them. They can take over almost any word or...
  11. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Here is the Oxygen help manual. It is very basic at this stage but covers the ground. I anticipate frequent updates but I won't announce them every time - only when there is a significant addition.
    ...
  12. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Just something really simple to start with, to establish the basic mechanisms.
  13. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Petr, if I can see the scripts in Notepad, I can cope with it. Anything is better than those tedious dialog boxes. As long as there is the ability to cut and paste scripts, anything is possible.
    ...
  14. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Thanks Petr, will take a look. I seem to be getting the hang of this. The HHP Ide is no fun at all but at least the underlying scripts can be edited directly.

    Efforts so far:
  15. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Many thanks Petr, I will certainly use your logos!

    Anything to make the manual more exciting.

    - doing HTML by comparison to Assembler is like brick-laying. Sore fingers and numb brain.
  16. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Thanks Eros, I think we have reached a point of stability. I will now try to write the manual :)
  17. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Hi Petr & Kent

    Many thanks for picking that up. It worked on my PC but if I tried to rearrange the PF5 script it would fail on termination. This instability exposed a problem with using...
  18. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Here it is at last!

    http://community.thinbasic.com/index.php?topic=1637

    This version covers major new ground so there is much to explore. I have endevoured to provide a comprehensive set of...
  19. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Spent much of yesterday considering multiple entry points whci are going to be essential for any systems that multi-task, like sound generation. To get the very best performance, there are 8 new o2...
  20. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    One further refinement to o2_exec

    o2_exec

    without parameters this executes code in the current buffer.
    but with a string argument it will execute the string and ignore the buffer.

    o2_exec...
  21. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Yes I was reminded of glBindTexture too, Petr :)

    re: dynamic linking vs: static linking of Vars

    During the course of our discussion, I began to realise that runtime addressing thinBasic...
  22. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Hi Petr, to use different buffers ther another function: o2_buf

    To use several buffers:

    o2_buf 1 : o2_asmo prog11
    o2_buf 2 : o2_asmo prog12
    o2_buf 3 : o2_asmo prog13

    then executing them:
  23. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Nearly ready:

    After an intensive week of coding and testing, the enhanced Asmosphere is almost ready. My aspiration this time is to make it as concise to use as a higher level compiled language....
  24. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    It won't be very long, Petr. I have almost finished the main coding - ready to debug. Talking it through has been very useful, exposing some of the hidden issues that have to be addressed eg...
  25. Replies
    78
    Views
    28,432

    Re: Further Developments in Asmosphere

    Well let's see how that might work syntactically. Here is a sketch to test the concept

    first we have to invent a new macro parameter called %0 which is the word immediately before instead of after...
Results 1 to 25 of 35
Page 1 of 2 1 2