Page 1 of 1

compiler for kickc ? how does it work?

Posted: Sun Aug 18, 2024 7:42 am
by funkheld
compiler kickc.

hello, good day.

I am creating a program like this for the x16 emulator.
is that please correct please?
my prg :
kickc.bat c:\kickc\examples\cx16\cx16-rasterbars.c -o raster.prg

the raster.prg is available.

--------------------------------
LOAD "RASTER.PRG",8
RUN
-------------------------------
no startet.

How do you load the kickc raster.prg into the x16 emulator and start it please?

or :
x16emu -run -ram 2048 -scale 2 -keymap de -prg c:\x16\pebi-prg\raster.prg ?



thanks.
greetings

Re: compiler for kickc ? how does it work?

Posted: Sun Aug 18, 2024 9:58 am
by unartic
Well..it does appear to run, though it doesnt do any screen output it seems.

Re: compiler for kickc ? how does it work?

Posted: Mon Aug 19, 2024 6:31 am
by funkheld
all C programs behave the same way as in the picture above.

greetings

Re: compiler for kickc ? how does it work?

Posted: Mon Aug 19, 2024 7:37 am
by unartic
If you do:

LIST {ENTER}

after the load, do you see a basic line with a sys command?

Re: compiler for kickc ? how does it work?

Posted: Mon Aug 19, 2024 10:41 am
by funkheld
this -o gives the program its own name for this asm , is no prg for x16.
kickc.bat c:\kickc\examples\cx16\cx16-input.c -o input.prg

kickc.bat c:\kickc\examples\cx16\cx16-input.c

this asm is for the kickassembler.

thanks
greeting