Am 27.04.2020 um 17:52 schrieb Karoly Balogh (Charlie/SGR):
Hi,

On Mon, 27 Apr 2020, Sven Barth via fpc-devel wrote:

Well, I'm surprised and impressed you got it to work at all...
Quite an achievement.

Considering that we already support AVR as well I was rather confident
here. :D Maybe in the future we can also add GameBoy support which uses
some Z80/8080 hybrid? ^^'

I have no idea, but quickly read through some docs, and it seems the
GameBoy CPU doesn't have IX/IY registers, which seems to be very useful to
implement some of the more complex references handling, according to what
Nikolay wrote earlier.

Yes. IX and IY are the key for the FPC Z80 port. Without them it's getting really difficult. And I suspect we need to work without a normal stack but allocate local variables globally, so basically no recursion will be possible.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to