Bootstrap of a z88dk program with target c128

Discussion about other targets
Post Reply
oflor
Member
Posts: 19
Joined: Fri Nov 09, 2018 9:43 pm

Bootstrap of a z88dk program with target c128

Post by oflor »

Hi People:

I realize that, when I compile and use a program using z88dk, there are some process like a "bootstrap" procedure that executes before my program.

For example the alternate character case is selected.

There is possible to alter or disable the bootstrap of a program compiled with z88dk?

I think there is a z80 enabler procedure that I must not to touch, because my program will not work.

There is a documentation about that?

Thanks and
Best Regards
oflor
Member
Posts: 19
Joined: Fri Nov 09, 2018 9:43 pm

Post by oflor »

Hi:

I realize that when I use a z88dk compiled program on c128 on native mode the character screen of 40 columns is switched to other memory address.

Thats because on the first printf call, the screen show dirty and I need to to a printf("\x0c"); to clear the screen.

And when my program finish I need to do a "wait until key pressed" routine to see the program results. Otherwise the screen is switched again to the defaults and the screen output is lost and only I can see the original contents before my program runs.

Is possible to change this behaviour?

Thanks and
Best Regards
Post Reply