#HiTechC

2024-07-17

refining the full message scan by adding a "quiet scan" option and a nifty summary.

#retrocoding
#hitechc
#rcbox
#rc2014bbs
#rcbbs
#rc2014
#bbs

Screnshot of a terminal session demonstrating the new "Scan all message files? (Y/N)?" and "Quiet scan? (Y/N)?" prompts of RCBBS 1.2.1
2024-03-20

It's moving! 🥳​

Enough tinkering for today, I'm getting a little tired and I also need some food ... 🥙​

#RetroCoding
#HiTechC
#Maze
#TMS9918A
#RC2014

2024-03-20

added some simple keyboard input routine to my #Maze code ...

#RetroCoding
#TMS9918A
#HiTechC
#RC2014
#Maze

2024-03-15

Now that looks like a valid procedural maze to me ...

... this is fun! 🙂​

#rc2014
#tms9918a
#hitechc
#retrocoding
#maze

A maze using TMS 9918A video mode 2 and a custom "wall" character set for the maze walls. The walls are colored red, the border and background are colored black.
2024-01-19

... and one final screenshot (I promise), this time using the #HiTechC port I of my #TMS9918A driver code which I prototyped in #DXForth #Forth

I've added the reference implementation for Bresenham's line drawing and circle algorithms, which I found on Wikipedia and geeksforgeeks.org (so this was just a matter of copy-and-paste - no fame here).

So why porting the code to C? Because it turns out the compiled C code performs a notch faster than the compiled Forth code. And there's an older C project I wanted VDP support for.

But honestly, being just a slightly advanced Forth coder I didn't want to spend hours on implementing a merely acceptable version of Bresenham's circle and line drawing algorithms in Forth - I wanted a quick win. But that doesn't mean that I'll never add these to the Forth driver code as well. Just not right now.

TMS9918A video output from a RC2014 homebrew computer. Blue border and black background. Two white lines form a 'X' across the screen with a circle placed at the point where the lines are crossing.
2024-01-17

I took some time today to port my #Forth code for the #TMS9918A to #HiTechC and implement that into the #PBM viewer for CP/M that I wrote about two years ago.

As a result, the pbm viewer now suports #PiZeroTerminal #PropellerVGAGraphicsCard and #TMS9918A video output (the latter only at 256x192 image resolution, Propeller VGA and Pi Zero Terminal allow two more resolutions). And if you want, you can output the image on all the devices by specifying the '-A' (= output to all) option.

EDIT: the new code release and binary now available in the following #GitLab repo:

gitlab.com/ufud-org/rc2014-pbm

#rc2014
#cpm

Screenshot: RC2014 PBM viewer for CP/M showing a dithered 256x192 photo (PBM file format) on the TMS video module.
2022-12-22

A little ASCII / VT100 shooter game demo written in Hi-Tech C on CP/M

diode.zone/videos/watch/3f79d9

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst