Home > Root > Log book > Small steps forward

Small steps forward

Monday 28 September 2026, by Mathieu Brèthes

All the versions of this article: [English] [français]

So a few weeks (months?) went by and I finally came back to the project. To begin with i went back to observing how the tlcs simulator code was organised, and I realised it was made to be modular. So instead of followong ChatGPT’s suggestion to make a new folder and a new CPU i decide to create a new variant of the tlcs architecture instead. Hence I duplicated the tlcs90 code (from tlcs.cc and tlcscl.h) and renamed every class to t900h something. The resulting files are then called t900h.cc and t900hcl.h .I also added an entry in the CPU list for this new model (requiring an edit to simtlcs.cc and to another file in the core whose name is habe forgotten).

My objective is to get a fake "tlcs90" to compile with all the modified functions names. When this is reached, I’ll be able to empty the classes of their contents while retaining a working code structure. Then I can reimplement the new CPU variant. I therefore will limit my work to the easy part (the opcodes) while building over the hard part (the structure). We shall see if this is a better idea than the one suggested by ChatGPT... i uses that’s my stubborn side, I hate being told what to do.