<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Michael Van Canneyt <<a href="mailto:michael@freepascal.org">michael@freepascal.org</a>> schrieb am Mo., 27. Apr. 2020, 15:40:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Mon, 27 Apr 2020, nickysn--- via fpc-devel wrote:<br>
<br>
> Last night, I got the full system unit to compile, including console<br>
> output, so now you can use standard write/writeln. Unfortunately if you<br>
> include both read/readln and write/writeln in your program, the program<br>
> becomes too big to fit in the memory of the 48k ZX Spectrum, so there's<br>
> lots of optimizations left to do... :) However, the fact that the<br>
> system unit compiles fully, means that the code generator is starting<br>
> to become stable and, therefore, you should have little trouble porting<br>
> FPC to other Z80 platforms, such as the MSX - it's a matter of writing<br>
> the platform-specific RTL functions, and implementing the specific<br>
> things (linking and postprocessing the binary), required to produce a<br>
> program, in a format, suitable to run on the MSX.<br>
<br>
Well, I'm surprised and impressed you got it to work at all... <br>
Quite an achievement.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">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? ^^'</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I suppose FPC is now probably the compiler working for the biggest number of<br>
CPUs/OSes - if it wasn't already. (C excepted, probably)<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">After GCC I'd assume that, too :) </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>