Hi @ishakismaili ,
Welcome to the forum..
Making a HAL, cool..
I simulated displays, using LovyanGFX lib..
Discovered this just after I finished mazes, this was on Windows..
Then I ported this over to the UnoQ which is Linux..
Uses SDL2 at the core which should also work on Mac, don't have any access though..
before I found WokWi there was picsimlab which runs on your PC, don't think they have the TFT screens though..
good luck.. ~q