got this error after a compile, here is my test c
Code: Select all
// Jupiter Ace test of using C and asm Z80
// with z88dk.
// this file is saved in location
// J:\ace_c\ ... change to your own location
//
// zcc +ace -o j:\ace_c\example_1\ex-1.bin j:\ace_c\example_1\example-1.c
// ^^^^^^^^ ^^^^^^^^
// target dir source dir
//
// a file called ex-1.bin will be created
// inport into 81 with memblock
//
// at address 16384. then in forth '16384 CALL'
//
#include <stdio.h>
// Function prototypes:
static void main(void);
static void yourname(void);
static void isace(void);
void main()
{
#asm
// clear Ace screen
call 2589
SET 4,(IX+62) // turn off OK message
#endasm
// Calls our functions:
yourname();
isace();
return;
}
// functions
void yourname()
{
printf("Jupiter ACE Z88dk test.\n");
}
void isace()
{
printf("Ace its worked!\n");
}
[\code]