Bold text on the Z88

Discussion about other targets
Post Reply
Jbizzel
New member
Posts: 1
Joined: Tue Jun 29, 2021 7:20 pm

Bold text on the Z88

Post by Jbizzel »

Hello!

I hope its ok to ask very basic questions as I'm trying to learn C (knowing only a little basic...) for the Cambridge Z88

So I'm making a little Boggle dice game - so far I've made a random boggle board that displays it on screen.

I'd like to make some of the text bold - I think I need to use an escape code, but in a practical sense I can't figure out how to do this.

So here an example - how could I change this code so that text is bold?

Code: Select all

clrscr();
printf("              Boggle - or Zoggle??  \n \n");
Also, in BBC Basic for the Z88 you can produce an alarm sound with:

Code: Select all

VDU 1,52,33,40,33,33
Can these VDU codes be reproduced in z88DK?
User avatar
dom
Well known member
Posts: 1428
Joined: Sun Jul 15, 2007 10:01 pm

Re: Bold text on the Z88

Post by dom »

Normally at this point I'd just recommend using the gencon and <conio.h>. However I've not implemented it for the z88.

You should be able to output all VDU codes directly though so you'll get the grey, minicaps etc
Post Reply