View unanswered posts | View active topics It is currently Thu Jul 09, 2020 12:38 am

Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
 ben's20 bit cpu. 
Author Message

Joined: Mon Oct 07, 2019 1:26 pm
Posts: 40
Hi Ben, I'm looking for a simple OS for my Kobold computer. It's a computer with 20 address lines, so around the same size as yours.

That OS that you use, does it have free C source ? And/or did you make it yourself ? Would you recommend it ?

Sun Jun 14, 2020 6:32 pm

Joined: Mon Oct 07, 2019 2:41 am
Posts: 112
It is my own os, but written in my own language so it rather not portable to other
machines because of the way subroutines are called. Frame based rather than stack based.
The compiler and the assembler are both written in C ("USS Enterprise NCC 1701. No bloody A-B-C-D or E!" Scotty).
The os is a simple CP/M style os, using a block size of 1526 bytes (3 512 byte sectors).
I have a fat table of one sector and directory of one block. This gives ample space for
the I/O at the time (1975-1980) using GCR. The simple OS is placed in
the last 64Kb of memory and the bottom memory is used for programs.
I have 1KB bios that provides the basic I/O read char / write char / read block write
block,boot from paper tape,boot from disk.
The OS is written in 4 segments, so I have bootstrap version and the DOS using
the same code, with just a few routines in the main body.

Sun Jun 14, 2020 7:24 pm

Joined: Mon Oct 07, 2019 2:41 am
Posts: 112
Here are the files. This is for a 8/16/32 bit cpu
This software requires a CPU with a long branches
and set ac to 0/1 on condition codes. is the bengol compiler + microcode test
cpu.lst (txt) is the microcode roms is the os written in bengol
The bengol compiler is being revised to make it easy to port
simple c programs. { after a function define C like operands
other wise a algol like syntax begin end if eif else endif while repeat
do until. Structures are defined as offset to a array

Attachments: [7.17 KiB]
Downloaded 7 times
File comment: compiler [16.56 KiB]
Downloaded 8 times
Sun Jun 14, 2020 8:46 pm
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: Bing [Bot] and 0 guests

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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software