Forum > FPC development

Z80 / eZ80 / Agon Light

(1/1)

Darie:
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:
afaik nothing specific but z80 is there so should work, see wiki.

MarkMLl:

--- Quote from: Darie on October 20, 2024, 03:09:39 pm ---3) What about, specifically, the Agon Light 2?

--- End quote ---

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:

--- Quote from: Darie on October 20, 2024, 03:09:39 pm ---2) Are there any plans to port the compiler for the Z80 / eZ80 platform(s)?
--- End quote ---

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 pm ---3) What about, specifically, the Agon Light 2?
--- End quote ---

No. You'll have to implement a port for it.

MarkMLl:

--- Quote from: PascalDragon on October 22, 2024, 10:03:13 pm ---It might need extensions for the eZ80 however (have not checked what the differences were).

--- End quote ---

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

Navigation

[0] Message Index

Go to full version