Forum > General

compiling Freepscal Files and use direct on Z80CPU without OS possible?

(1/1)

coradi:
Hallo,
if I build a smal Z80 System with Ram and ROM, and write a small Programm mit FPC to set some addresslines and compile it and use than the compiles asm file and put this on the eeprom at the beginning...
Does this work?

Edson:
FAIK, FPC doesn't support Z80 target, by now.

Noodly:
No.

FPC doesn't yet support Z80 as a target CPU.

Some independent efforts are discussed in this forum topic: https://forum.lazarus.freepascal.org/index.php?topic=36595.0

PascalDragon:
The Z80 port of FPC (here) is still Work in Progress (and I don't know how useable it already is).

Ñuño_Martínez:

--- Quote from: PascalDragon on September 29, 2017, 11:32:58 pm ---The Z80 port of FPC (here) is still Work in Progress (and I don't know how useable it already is).

--- End quote ---
AFAIK it compiles, but the empty executable (PROGRAM a; BEGIN END.) is several hundreds KiB in size, and no RTL exists.

I started a compiler a few months ago but it is now in halt because I have almost no free time to work with it.  Look for "z80pascal" in SourceForge or in GitHub (they're synced, but SourceForge's is the main project).

Navigation

[0] Message Index

Go to full version