Search:

Type: Posts; User: Charles Pegge

Search: Search took 0.00 seconds.

  1. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    A number of small changes that help to improve the source code structure. In particular multi level exits, fwd jumps and colon-separated statements. I hope to illustrate these over the next few...
  2. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Oxygen seems to be approaching the limit of what can be usefully added to its preprocessor. So this facility is one of the finishing touches - at least for Object Oriented Programming. I hope that...
  3. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    A few more features:

    Defs

    Defs is an efficient way to provide sets of equates. Example:

    defs key a 97 b 98 c 99 d 100 ...

    these can then be referred to a key.a key.b key.c etc
  4. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    The whole of Oxygen relies heavily on its global state. It has a very flat structure with lots of gotos :). Breaks all the rules, but the compilation task really demands it. error trapping and...
  5. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Yes Petr, I have not made with a block structure. It simply holds the prefix until a new one is given or until it is nulled. This gives it considerable flexibility. With can take a whole name or part...
  6. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Adaptations for COM programmming

    The quest is to produce tidy COM in Assembler using the Oxygen OOP model. This is really more of a versatility test than a proper implementation of COM at this...
  7. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Another example for the manual: :)

    Around the first function, I have put a more typical framework, which involves preserving important registers, allocating workspace for local variables and...
  8. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Yes the help file needs refreshing. There have not been many additions to the basic instructions but they have acquired various enhancements over the last few months, but I think the o2_buf return...
  9. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Using thinBasic (Preview version) 1.7.0.0

    With the enhanced thinBasic syntax for declarations, functions written in Oxygen can be seamlessly integrated, and treated like normal subs and...
  10. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Thank you James, a decompression overhead of 169 bytes is very impressive! I'm only using compression to package my code postings at the moment. But I can see where dynamic decompression might come...
  11. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    I am also consolidating multiple test pieces into single files. So they can be run in one go. The aim is to have a fully automated test suite that can be triggered after every compile.

    PS Igor...
  12. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Method Overloading

    Extending the OOP facilities, it is now possible to deploy several versions of the same method, each taking different parameters. During assembly, the preprocessor checks the...
  13. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Hi James,

    I am running behind on the standalone version of Oxygen. thinBasic has the leading edge and is actually a very good environment for developing and testing modular software.
    ...
  14. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Unions:


    type tvec 4 x 4 y 4 z 4 w = 4 red 4 green 4 blue 4 alpha

    any number of unions are possible in a type statement. Here is another in block form

    type tvec4
    (
    4 x 4 y 4 z 4 w
  15. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Yes Kent, I should clarify that following type the first name is the class you are creating and anything after that is an element or inherited type. It may help if i write it in block form:

    type...
  16. Replies
    30
    Views
    16,596

    Re: Further Developments in Asmosphere III

    Well it certainly kept me very quiet for a few days and I can't say it was easy but I think its the only way to really understand this genre of programming. I have not looked at COM for some time now...
  17. Replies
    30
    Views
    16,596

    Further Developments in Asmosphere III

    Built in Object Oriented Programming Model

    Unlike previous models this does not rely on user defined macros. It uses virtual tables and pointers in a similar manner to COM. OOP is built into the...
Results 1 to 17 of 17