flat assembler
Message board for the users of flat assembler.

Index > OS Construction > THOS - my operating system for small digital systems

Author
Thread Post new topic Reply to topic
HF8V



Joined: 01 Mar 2025
Posts: 15
Location: Phenian
HF8V 24 Sep 2026, 10:02
Hello Comrades!

THOS is my operating system for small digital systems based mainly on 8-bit CPUs. First version has been written in AVR assembler and is developed from maybe 20 years. For that reason it is highly optimized code (I am constantly in shock that after years I can still optimize code by few bytes Very Happy).
First real THOS was implemented for HF-6030 http://hf8v.atwebpages.com/hf/hf6030.htm (HF-6048 was test system and was discontinued) and later for other systems.

Minimum system requirements for THOS are ROM 8KB, RAM 1KB and buzzer as output device. As a Amaterur Radio radiotelegraphist I can 'copy' all output from system on telegraphy. Using some standards codes and HEX digits it really works!

There are currently three versions:

THOS-1 for systems with RAM 1KB
THOS-2 for systems with RAM higher than 1KB
THOS-3 other systems with RAM below 1KB (where RAM must be connected externally)

Basic components of THOS are:

- THAVR Interpreter, compilator and decompilator
- THFS File System
- THN Communication Network
- Possibility of connecting up to 8 DRIVES (memories)
- Input/Outut Channels: 4 INPUT_DEVICES and 4 OUTPUT_DEVICES
- Vector Functions Table: 256 (THOS-2: two tables, one for user and one for THAVR)
- RAM Manager (THOS-2 only)
- Optional threads
- Various working modes: System Mode, Microcontroller Mode, THAVR Boot Mode
- ERROR_DEVICE: standard set of errors and signals

Basic documentation is in polish here: http://hf8v.atwebpages.com/hf/thos.htm


I'm planning to run THOS on many small and 'exotic' CPUs, because I have a lot of old digital systems (mainly external constructions and rarely my own constructions) which can be modified. In many cases is it 'retro' electronics, but I like it. 1980s and 1990s CPUs are very simple and you don't need to learn whole books about their hardware...
These system are listed here http://hf8v.atwebpages.com/hf/Microprocessors.htm


And here is my small 'collection' of CPUs: http://hf8v.atwebpages.com/hf/UC.htm. I'm not real CPU collector but from some point of time I'm just not throughing to trash some useless CPUs like 4-bit and ROM only and I'm trying to find informations about these chips (if you can help with some difficult to find info it can be very nice). Some CPUs are 'secret' and very difficult to find any information on that, but maybe somebody tried to reverse engineering code, etc...



Links:

[1] http://hf8v.atwebpages.com/hf/thos.htm Operational System for small and medium microprocessors
[2] http://hf8v.atwebpages.com/hf/thfs.htm THFS File System for various size Digital Systems
[3] http://hf8v.atwebpages.com/hf/thavr.htm THAVR Programming language for small systems
[4] http://hf8v.atwebpages.com/hf/thn.htm THN My communication network protocol
Post 24 Sep 2026, 10:02
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.