Lazarus

Free Pascal => General => Topic started by: coradi on September 19, 2017, 06:11:05 pm

Title: compiling Freepscal Files and use direct on Z80CPU without OS possible?
Post by: coradi on September 19, 2017, 06:11:05 pm
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?
Title: Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
Post by: Edson on September 19, 2017, 08:28:42 pm
FAIK, FPC doesn't support Z80 target, by now.
Title: Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
Post by: Noodly on September 19, 2017, 08:30:18 pm
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
Title: Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
Post by: PascalDragon on September 29, 2017, 11:32:58 pm
The Z80 port of FPC (here (https://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/z80/)) is still Work in Progress (and I don't know how useable it already is).
Title: Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
Post by: Ñuño_Martínez on October 04, 2017, 06:49:08 pm
The Z80 port of FPC (here (https://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/z80/)) is still Work in Progress (and I don't know how useable it already is).
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).
TinyPortal © 2005-2018