I have not done this in awhile with SDCC/Z80. But isn't __nonbanked required to 
be in _HOME which is the part of code
space that is always available (the non banked portion of code). Which is kinda 
important for banking to work?
-- 
Michael A Hawkins
Stamford, CT 06902 USA
Mobile: 203-550-5502



On Sun, 2025-01-19 at 19:54 +0300, Tony Pavlov via Sdcc-user wrote:
> Hello Thomas,
> 
> Sunday, January 19, 2025, 7:20:54 PM, you wrote:
> 
> Speak for yourself, please. __nonbanked is WIDELY used in the GBDK-2020 
> library: SM83 (Game Boy and compatible); Z80
> (MasterSystem, GameGear, Yamaha MSX) ports; 6502 (NES), and subsequently in 
> the GBStudio (game boy, game gear port in
> development), CrossZGB game library, BBStudio (GBStudio port for the NES). 
> That all has a huge user base.
> 
> TZvSu>  I guess nobody will use __nonbanked since its not documented 
> anywhere. 
> TZvSu>     Am Sonntag, 19. Januar 2025 um 11:35:26 MEZ hat Philipp Klaus 
> Krause <p...@spth.de> Folgendes geschrieben:  
> TZvSu>  
> TZvSu>  Are there any users of the keyword __nobanked in a z80-related port? 
> If
> TZvSu> yes, how do you use the keyword?
> 
> TZvSu> Apparently, SDCC currently places __nonbanked functions in _HOME 
> instead
> TZvSu> of _CODE. Do you rely on this?
> 


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to