This is a great project but I meet a compile issue. Run compile.bat under trunk/c, hello.asm show these patterns:
code
org #0000
ld hl,-0).
ld sp,hl
call __main
;sendbyte(by)
__sendbyte:
;char by;
;{
; while (USTAT & UTXBUSY);
cc.:
in a,(/-/)
call ccsxt
"ld hl,-0)." and "in a,(/-/)" will make as80 error. This seems c compiler does not find the correct defination for address. I did not modify anything. Run this at Win7/10. Any clue?
I have ported the project to Github but I haven't yet moved the small C compiler stuff.
Right now I am not in a position to reproduce the issue.
Within a couple of weeks (before June 2018) I will move the Verilog version and the compiler to the new project home and provide some feedback about this issue.