Menu

#692 #pragma dataseg

None
open
None
5
2021-05-24
2020-07-20
Tony Pavlov
No

There is already:

#pragma codeseg

and

#pragma constseg

but no dataseg. there is a -baN switch for gbz80 port, but it is not working because of
[bugs:#3004]
we can workaround with __addressmod but it might be better to have a direct solution.

Related

Bugs: #3004

Discussion

  • Sebastian Riedel

    • assigned_to: Sebastian Riedel
    • Group: -->
     
  • Tony Pavlov

    Tony Pavlov - 2021-04-27

    can someone please look into this? this fits with any target, where you can switch ram.

     
  • Maarten Brock

    Maarten Brock - 2021-05-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,5 +6,6 @@
     ~~~ 
     #pragma constseg
     ~~~ 
    -but no dataseg. there is a -baN switch for gbz80 port, but it is not working because of https://sourceforge.net/p/sdcc/bugs/3004/
    +but no dataseg. there is a -baN switch for gbz80 port, but it is not working because of 
    +[bugs:#3004]
     we can workaround with __addressmod but it might be better to have a direct solution.
    
     

    Related

    Bugs: #3004


Log in to post a comment.