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

Last night, I got the full system unit to compile, including console
output, so now you can use standard write/writeln. Unfortunately if you
include both read/readln and write/writeln in your program, the program
becomes too big to fit in the memory of the 48k ZX Spectrum, so there's
lots of optimizations left to do... :) However, the fact that the
system unit compiles fully, means that the code generator is starting
to become stable and, therefore, you should have little trouble porting
FPC to other Z80 platforms, such as the MSX - it's a matter of writing
the platform-specific RTL functions, and implementing the specific
things (linking and postprocessing the binary), required to produce a
program, in a format, suitable to run on the MSX.

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

I suppose FPC is now probably the compiler working for the biggest number of
CPUs/OSes - if it wasn't already. (C excepted, probably)

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

Reply via email to