compiler for kickc ? how does it work?

All aspects of programming on the Commander X16.
Post Reply
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

compiler for kickc ? how does it work?

Post 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
Attachments
start1.jpg
start1.jpg (34.25 KiB) Viewed 1116 times
start.jpg
start.jpg (37.59 KiB) Viewed 1119 times
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

Re: compiler for kickc ? how does it work?

Post by unartic »

Well..it does appear to run, though it doesnt do any screen output it seems.
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: compiler for kickc ? how does it work?

Post by funkheld »

all C programs behave the same way as in the picture above.

greetings
Attachments
Bild4.jpg
Bild4.jpg (16.64 KiB) Viewed 938 times
unartic
Posts: 145
Joined: Sat Oct 28, 2023 3:26 pm

Re: compiler for kickc ? how does it work?

Post by unartic »

If you do:

LIST {ENTER}

after the load, do you see a basic line with a sys command?
funkheld
Posts: 322
Joined: Mon Feb 26, 2024 11:11 am

Re: compiler for kickc ? how does it work?

Post 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
Attachments
cx16-input-c and asm.zip
(5.3 KiB) Downloaded 58 times
Post Reply