Am 31.08.2013 22:21, schrieb Maarten Brock:
>
> For the 8051 bank switching is handled by crtbank.asm. But the calls are
> generated by src/mcs51/gen.c. To add support for Z80 you'd have to modify
> src/z80/gen.c. There is also support needed in src/z80/main.c to
> compensate for the extra require
Hello,
> Am 31.08.2013 15:51, schrieb Michael Hawkins:
>> The 8051 has built in support for bank switching.
>>
>> The Z80 does not.
Neither the (original) 8051 nor the Z80 have built in support for bank
switching. I'd almost say that bank switching by definition goes beyond
built in support of th
Am 31.08.2013 15:51, schrieb Michael Hawkins:
> The 8051 has built in support for bank switching.
>
> The Z80 does not.
>
> SDCC has support for 8051 bank switching.
>
> Z80 bank switching (and for other CPU's that don't natively support it)
> is usually done with a simple latch circuit.
>
> Wh
The 8051 has built in support for bank switching.
The Z80 does not.
SDCC has support for 8051 bank switching.
Z80 bank switching (and for other CPU's that don't natively support it) is
usually done with a simple latch circuit.
Why can't SDCC provide Z80 with bank switching support? If I had to