Recent

Author Topic: Z80 / eZ80 / Agon Light  (Read 949 times)

Darie

  • New Member
  • *
  • Posts: 32
Z80 / eZ80 / Agon Light
« on: October 20, 2024, 03:09:39 pm »
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 :)
« Last Edit: October 20, 2024, 03:43:26 pm by Darie »
The sphere of knowledge is in continuous expansion. So is the contact of it's points with the unknown --Blaise Pascal

TRon

  • Hero Member
  • *****
  • Posts: 3810
Re: Z80 / eZ80 / Agon Light
« Reply #1 on: October 20, 2024, 03:14:09 pm »
afaik nothing specific but z80 is there so should work, see wiki.
I do not have to remember anything anymore thanks to total-recall.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8129
Re: Z80 / eZ80 / Agon Light
« Reply #2 on: October 20, 2024, 03:28:49 pm »
3) 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

PascalDragon

  • Hero Member
  • *****
  • Posts: 5815
  • Compiler Developer
Re: Z80 / eZ80 / Agon Light
« Reply #3 on: October 22, 2024, 10:03:13 pm »
2) 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).

3) What about, specifically, the Agon Light 2?

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

MarkMLl

  • Hero Member
  • *****
  • Posts: 8129
Re: Z80 / eZ80 / Agon Light
« Reply #4 on: October 23, 2024, 09:54:00 am »
It 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018