Jump to content
Sign in to follow this  
onyx

Boostc 1.8 Rom Char Code Generation Problem

Recommended Posts

Bug description: code for strings in rom not generated

 

Steps to reproduce: compile the following example

#include <system.h>

rom char* strVersion = "Version 1.00";
rom char* strHello   = "Hello World";

void myputch(char ch)
{
 portb = ch;
}

void sendString(const char* s)
{
 while(*s)
 {
   myputch(*s);
   s++;
 }
}

void main()
{
 sendString(strVersion);
 sendString(strHello);
}

 

Expected behaviour:

BoostC compiler should generate code that represent theese strings in rom,

I would expect to see a romget routine for accessing the strings.

 

Is the problem 100% reproduceable: yes

 

IDE version: SourceBoost IDE 5.70

Compiler: BoostC

Compiler version: Alpha 1.8

 

OS: Windows 2000 SP4

 

Comments:

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...