It is currently 17 Dec 2017 17:28

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 22 Oct 2017 16:31 
Offline

Joined: 16 Oct 2017 09:04
Posts: 1
Hello,
i buy this 8051 Pascal Compiler last week. Now i try to work with this Compiler in a bigger Projekt.
Until now i work with embedded Pascal ( Rainer iAfrica ) since 1995 without any Problems.
With MicroPascal the first big Problem was the not compatible SFR Names compared with Atmel 89C51ED2. SFR BRL is named BRLN...and no Dokumentation to see this.
Only after a flawless compilation...and only then....you can look in Statistics and found BRLN !!!

Next ist the wrong function with XDATA....lot times written in this Forum..but since 2013 no Update?????
Next the Dokumentation...Also Online shortcuts. A Function should be show SFR Register...but open new Project.

When i compile my Project i get a lot messages " not enough memory "... all variables i locate in XDATA if posible. I have no chance to change anything in Memory mapping...so i think Data and Idate are used for example : if Pos('RESET',RX_Buffer) > 0 then Reset_Adress_Counter; RX_Buffer is defined as IData.
In your String library i miss the standard pascal functions POS and COPY....
When ,you think, we get a working Update? Since 2013 there is no update and spec. XDATA Problem is reported already from other user.
Why the libraries are not open Source? ...Why the SFR definition a big secret??
There are more points...but i think to buy this compiler was lost money ......
For me...until you make your Homework and bring a WORKING Version... i use my old compiler or TURBO51.
Regards Hans K.


Top
 Profile  
 
PostPosted: 02 Nov 2017 17:08 
Offline
mikroElektronika team
User avatar

Joined: 25 Jan 2008 09:56
Posts: 9463
Hi,

Quote:
With MicroPascal the first big Problem was the not compatible SFR Names compared with Atmel 89C51ED2. SFR BRL is named BRLN...and no Dokumentation to see this.
Only after a flawless compilation...and only then....you can look in Statistics and found BRLN !!!

Yes, you are right about this, the Baud Rate Reload register is defined as BRLN.

To solve this, you can add the correct register definition at the beginning of your code :
var BRL : byte; absolute 0x9A; volatile; sfr;

Quote:
Next ist the wrong function with XDATA....lot times written in this Forum..but since 2013 no Update?????
Next the Dokumentation...Also Online shortcuts. A Function should be show SFR Register...but open new Project.

Could you please explain your issue in more details, maybe I could help you regarding this ?

Quote:
In your String library i miss the standard pascal functions POS and COPY....

For POS, you can use strstr function, and for COPY you can try to use strcpy, both of these function are located in the String library.

Quote:
When ,you think, we get a working Update? Since 2013 there is no update and spec. XDATA Problem is reported already from other user.

We have in plans to update the compiler, but at this moment I am unable to tell you a precise data.

Quote:
Why the libraries are not open Source? ...Why the SFR definition a big secret??

This was a developers decision at the moment of the release, maybe we could change this, I will speak with the developers.

Regards,
Filip.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: