@KiloBravo thanks, although I've already found this, my initial problem was what pins are being used on the ESP32 for the SPI bus (fond this as they are standard) and also for the display control (CS, RST & DC, BL), which I got from the working Arduino code.
I went back to the inline code test and tried as you suggested to rename Setup and Loop in the simple code that I know works in the Arduino IDE and this now compiles and uploads, and to a degree works in that I can flash the backlight from B4R using inline C code.
But the actual B4R identical inline code doesn't do what the equivalent Arduino code does; it just doesn't do anything.
I also tried to get the simple GC9A01 demo code you pointed me at working (in Arduino initially), but while it compiles it doesn't do anything. As you said it is very simple code which just uses the SPI bus to send commands and data to draw some very basic shapes, triangle, square, etc. But it doesn't work and I think this is because of the GC9A01 initialisation setup and this is where I've come to a dead-end as the example code uses some undocumented commands, so I've no idea what they are doing.
I can't find the equivalent setup in the LVGL library (which I do know works).
What would be rally useful (and I've not found it yet) is some very basic guidance, example code, demo with comments that explains how to initialise the GC9A01 - the data sheet is good, but it is just that, a datasheet and doesn't explain what is mandatory to properly configure the GC9A01
So status:
Arduino full demo supplied with GC9A01: Working fully
Arduino cut down demo to simple text display: Working fully *
Arduino GC9A01 Demo: Compiles and I can flash the backlight, but not functioning as designed
B4R Inline cut down demo to simple text display: Compiles, flashes backlight, but not working (see * above)
Library wrapping: eek no
Oh I wish I'd never started but will keep plodding on.
Thanks again for your support.
Dave
[EDIT
@KiloBravo sorry wrote this before I saw your second message, seen all that about the Candide's code and am using begin1 as you say]