Recent

Author Topic: Fpcupdeluxe  (Read 1001730 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1875
Re: Fpcupdeluxe
« Reply #2670 on: April 07, 2026, 06:36:42 pm »
When selecting Z80 as cross-CPU target, you need to select Spectrum as cross-OS target.

Cascade

  • Jr. Member
  • **
  • Posts: 83
Re: Fpcupdeluxe
« Reply #2671 on: April 07, 2026, 09:31:36 pm »
Yes, z80-zxspectrum works as a combination.

Unfortunately its system.ppu is large: 'Hello World' uses (almost) all Spectrum's RAM 😅 - so I was trying to see if I could get something a bit more 'bare-metal' by going with the Embedded target option.  The z80 CPU is often used in Embedded systems without an OS, and it looks like FPC's ppcz80 cross-compiler does in fact support Embedded, if I can just figure it out.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1875
Re: Fpcupdeluxe
« Reply #2672 on: April 08, 2026, 08:03:09 am »
You are right ! This is a fpcupdeluxe missing feature. Should be enabled now.
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/commit/a36dddbd500593dda94b4c3c49a8aa854fb25813
If you cannot build fpcupdeluxe yourself, please tell me your CPU and OS so I can build a pre-release to test.

Cascade

  • Jr. Member
  • **
  • Posts: 83
Re: Fpcupdeluxe
« Reply #2673 on: April 08, 2026, 03:01:04 pm »
That sounds excellent!  :)

I've not tried building FpcUpDeluxe myself before - but I might give it a try.
I'm running an M4 (Apple Silicon, aarch64) with macOS Sequoia 15.7.3


Cascade

  • Jr. Member
  • **
  • Posts: 83
Re: Fpcupdeluxe
« Reply #2675 on: April 08, 2026, 04:09:38 pm »
Thank you!

Yes, almost working I think.  z80-embedded is now an accepted combination on the Cross tab, and Install Compiler indicates "That went well!" :)
However installation of z80-embedded deletes the ppcz80 executable file from fpc/bin/aarch64-darwin.

(if I re-install z80-zxspectrum afterwards, ppcz80 reappears).

I have managed to clone and build fpcupdeluxe 2.4.0jp successfully too, so I can probably test any further changes quite quickly.

 

TinyPortal © 2005-2018