Z80 / eZ80 / Agon Light lazarus / 64-FPC development ---------------------------------------------------------------------- Darie · 2024-10-20 13:09 Hi all, I was wondering how I could use the FPC compiler on the Agon Light 2 platform ( https://agonconsole8.github.io/agon-docs/ ) 1) Are there any readily available options? 2) Are there any plans to port the compiler for the Z80 / eZ80 platform(s)? 3) What about, specifically, the Agon Light 2? Thank you ---------------------------------------------------------------------- TRon · 2024-10-20 13:14 afaik nothing specific but z80 is there so should work, see wiki. ---------------------------------------------------------------------- MarkMLl · 2024-10-20 13:28 Quote from: Darie on October 20, 2024, 03:09:39 pm3) What about, specifically, the Agon Light 2? You'd do yourself a VERY big favour if you posted links when asking about something like that, rather than assuming that the rest of us know- or care- about it. See TRon's answer, but I don't know whether that has any particular support for the paging or whatever form of memory management that the chip in that machine uses. MarkMLl ---------------------------------------------------------------------- PascalDragon · 2024-10-22 20:03 Quote from: Darie on October 20, 2024, 03:09:39 pm2) Are there any plans to port the compiler for the Z80 / eZ80 platform(s)? main already supports the Z80 together with the targets MSX-DOS and ZX Spectrum. It might need extensions for the eZ80 however (have not checked what the differences were). Quote from: Darie on October 20, 2024, 03:09:39 pm3) What about, specifically, the Agon Light 2? No. You'll have to implement a port for it. ---------------------------------------------------------------------- MarkMLl · 2024-10-23 07:54 Quote from: PascalDragon on October 22, 2024, 10:03:13 pmIt might need extensions for the eZ80 however (have not checked what the differences were). Historical note: I've never used the eZ80, but I've used the 64180. FTL Modula-2 for the Z80 allowed functions to be put in distinct pages, but I can't remember whether the page number was part of the declaration or had to be supplied as a separate binder file. Either the compiler or linker inserted prefix page-switching code, and a special version of the linker (which we had to get directly from the author) patched in the page numbers. MarkMLl