On February 13, 2008 06:27:22 pm Peter Townson wrote:
> Pedro,
>
>
>
> Yes SDCC most certainly does support the Z180 - I'm playing with one
> (HD64180 really, but same difference) in my spare time.
>
>
>
> HOWEVER, there is no inherent support for the Memory Management/Bank
> Switching mechanisms that are available to the Z180/HD64180.
>
>
>
> As far as I know (I am happy to be corrected), the SDCC builds are
> limited to the normal Z80 64K linear address space.  This is not to say
> that you cannot implement your own methods to make it work for you - it
> will simply take more work.
>

I made some bank switching routines accessed via the RST instructions. 

The routines allow for calling a routine located in banked memory, either from 
non-banked or banked memory (interbank calls).

If somebody is interested, I can post them here.
--
JP

>
>
> Peter Townson
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ov3rM1nd
> Sent: Tuesday, 12 February 2008 8:08 PM
> To: sdcc-user@lists.sourceforge.net
> Subject: [Sdcc-user] Z180
>
>
>
> Hi,
>
> Does sdcc work with Z180? It has the same instruction set of Z80, but
> it can address 1mb of memory.
>
> Thanks,
> Pedro Henrique.
>
>
>
>
> ##########################################################################
> CONFIDENTIALITY NOTE: Please consider our environment before printing this
> email.This email and any attachments are confidential and may be subject to
> copyright, legal or some other professional privilege. They are intended
> solely for the attention and use of the named addressee(s). They may only
> be copied, distributed or disclosed with the consent of the copyright
> owner. If you have received this email by mistake or by breach of the
> confidentiality clause, please notify the sender immediately by return
> email and delete or destroy all copies of the email. Any confidentiality,
> privilege or copyright is not waived or lost because this email has been
> sent to you by mistake.
>
> ##########################################################################



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to