Menu

#980 Bring back the old z80 jump table implementation

open
nobody
None
5
2025-01-23
2025-01-23
No

A while ago, we changed the jump table implementation for z80, and all related ports to a more efficient one. We did not see a further need for the old implementation, so it got fully replaced. However, on a second look, the new implementation will be problematic for the banking hardware in the eZ80 and Rabbit microcontrollers. These banking schemes are not yet supported in SDCC, but when we introduce them, we'll need to adjust jump table codegen.
For now, we should bring back the old code, possibly #ifdefed out, with a comment on why it is there, and once we implement a medium memory model for the ez80, r2k, r2ka, r3ka (and future r4k, r5k, r6k) ports, we can use it in codegen for those memory models.

Related

Wiki: NGI0-Commons-SDCC

Discussion


Log in to post a comment.

MongoDB Logo MongoDB