* * *

Author Topic: compiling Freepscal Files and use direct on Z80CPU without OS possible?  (Read 770 times)

coradi

  • New member
  • *
  • Posts: 33
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

  • Hero Member
  • *****
  • Posts: 806
Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
« Reply #1 on: September 19, 2017, 08:28:42 pm »
FAIK, FPC doesn't support Z80 target, by now.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Noodly

  • Jr. Member
  • **
  • Posts: 54
Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
« Reply #2 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

PascalDragon

  • New member
  • *
  • Posts: 39
  • Compiler Developer
Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
« Reply #3 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).

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 659
    • Burdjia
Re: compiling Freepscal Files and use direct on Z80CPU without OS possible?
« Reply #4 on: October 04, 2017, 06:49:08 pm »
The Z80 port of FPC (here) 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).

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus