MiguelVis / te

Text editor for the CP/M operating system and related computers: Amstrad PCW, CPC, Kaypro, Spectrum...
GNU General Public License v2.0
84 stars 10 forks source link

Missing include cfreader.h #11

Closed gazsp closed 2 years ago

gazsp commented 2 years ago

Trying to build TECF shows the error:

#include "cfreader.h"

Error! File: cfreader.h - Can't open

Here's the SUB file I'm using to build (based on maketecf.bat):

cc tecf
ccopt tecf
zsm tecf
hextocom tecf

The assembly then fails later with lots of undefined symbols (possibly an unrelated issue?):

B1$ZSM TECF
Zilog/Mostek Z80 Assembler Version 3.4 (Z80 CPU)

Pass 1
Pass 2
0110 110000  LD DE,ccfreemem
*****  Undefined symbol  *****
018D CD0000  CALL main
*****  Undefined symbol  *****
0193 2A0000  LD HL,(stdin)
*****  Undefined symbol  *****
0199 2A0000  LD HL,(stdout)
*****  Undefined symbol  *****
0439 2A0000  LD HL,(xm_top)
*****  Undefined symbol  *****
0455 220000  LD (xm_top),HL
*****  Undefined symbol  *****
0458 ED5B0000    LD DE,(xm_top)
*****  Undefined symbol  *****
[etc ...]
MiguelVis commented 2 years ago

CFREADER is a separate project you wil find at https://github.com/MiguelVis/RetroProjects/tree/master/cfreader.