From 4fd42cbaa8c0eb05d9d9751e50dfd5beccb887c7 Mon Sep 17 00:00:00 2001 From: dmcoles Date: Fri, 7 Jun 2024 16:04:46 +0100 Subject: [PATCH] document updates small fix to createdelegatemem code to prevent possible future issues --- E-VO.S | 4 +++- E-VO.guide | 6 ++--- Technical_info.txt | 59 ++++++++++++++++++++++++---------------------- Updates.txt | 1 + 4 files changed, 38 insertions(+), 32 deletions(-) diff --git a/E-VO.S b/E-VO.S index 4ab0e09..0fedf11 100644 --- a/E-VO.S +++ b/E-VO.S @@ -10093,7 +10093,7 @@ SRCFN: DC.L 0 DC.B '$VER:' TITLE: DC.B 'E-VO',160,'E',160,'Compiler' DC.B '/Assembler/Linker/PP',160,'v3.8.0-dev',160 - DC.B '(03.06.2024)' + DC.B '(07.06.2024)' DC.B 10,'developing as "EC"',160 DC.B '''1991-97',160,'by Wouter van Oortmerssen',10 DC.B 'developing as "GEC"',160 @@ -14837,6 +14837,8 @@ DONE1: MOVE.L D1,SUPERSIZE ; STACK NEW OSIZE FROM SUPER MOVE.W OBJCOUNT(PC),(A4)+ ; .ID CLR.L (A4)+ ; .ASCII (PRIVATE) LEA -12(A4),A5 + MOVE.W #-1,(A4)+ ; PTR REP + CLR.L (A4)+ ; DIMDATA MOVE.L A5,(A2) LEA ONEXT(A5),A2 CLR.L (A2) diff --git a/E-VO.guide b/E-VO.guide index ffb6ef4..edae0b3 100644 --- a/E-VO.guide +++ b/E-VO.guide @@ -7171,8 +7171,9 @@ The currently defined version macro's are EVO_3_5_0 EVO_3_6_0 EVO_3_7_0 + EVO_3_8_0 -So if this is not defined then you are not compiling under E-VO. Further +So if EVO_3_4_0 is not defined then you are not compiling under E-VO. Further defines will be added for each new revision of the E-VO compiler so you can test for a specific minimum version. @@ -8119,8 +8120,7 @@ Programming - can I create an array of typed pointers, eg ARRAY OF PTR TO LONG - um... no. you'll have to use an ARRAY OF LONG instead. - + Yes, it was added in E-Vo 3.7.0 and futher improved in 3.8.0 diff --git a/Technical_info.txt b/Technical_info.txt index 4987ac5..3cf0114 100644 --- a/Technical_info.txt +++ b/Technical_info.txt @@ -844,34 +844,37 @@ OBJECT emodule ENDOBJECT vartypes - 1: CHAR - 2: BYTE - 3: INT - 4: WORD - 5: LONG - 6: Object - //7 undefined - 8: PTR TO CHAR - 9: PTR TO BYTE - 10: PTR TO INT - 11: PTR TO WORD - 12: PTR TO LONG - 13: PTR TO Object - 14: PTR TO PTR - 15: ARRAY OF CHAR - 16: ARRAY OF BYTE - 17: ARRAY OF INT - 18: ARRAY OF WORD - 19: ARRAY OF LONG - 20: ARRAY OF Object - 21: ARRAY OF PTR - 22: ARRAY OF PTR TO CHAR - 23: ARRAY OF PTR TO BYTE - 24: ARRAY OF PTR TO INT - 25: ARRAY OF PTR TO WORD - 26: ARRAY OF PTR TO LONG - 27: ARRAY OF PTR TO OBJECT - 28: ARRAY OF PTR TO PTR + 0x01: CHAR + 0x02: BYTE + 0x03: INT + 0x04: WORD + 0x05: LONG + 0x06: Object + + 0x21: PTR TO CHAR + 0x22: PTR TO BYTE + 0x23: PTR TO INT + 0x24: PTR TO WORD + 0x25: PTR TO LONG + 0x26: PTR TO Object + 0x27: PTR TO PTR + + 0x41: ARRAY OF CHAR + 0x42: ARRAY OF BYTE + 0x43: ARRAY OF INT + 0x44: ARRAY OF WORD + 0x45: ARRAY OF LONG + 0x46: ARRAY OF Object + 0x47: ARRAY OF PTR + + 0x61: ARRAY OF PTR TO CHAR + 0x62: ARRAY OF PTR TO BYTE + 0x63: ARRAY OF PTR TO INT + 0x64: ARRAY OF PTR TO WORD + 0x65: ARRAY OF PTR TO LONG + 0x66: ARRAY OF PTR TO OBJECT + 0x67: ARRAY OF PTR TO PTR + 0xffff: Unknown OBJECT selfdef diff --git a/Updates.txt b/Updates.txt index 2127378..508d023 100644 --- a/Updates.txt +++ b/Updates.txt @@ -541,6 +541,7 @@ Development restarted as E-VO by Darren Coles - Add _SRCLINE_ define (current line number) - Add _SRCPROC_ define (current proc name) - Added EVO_3_8_0 define + - Added support for ARRAY OF PTR TO ... in objects DATE HISTORY: 3.3b 20.11.1999 -> 12.12.1999