AnyCPU
http://anycpu.org/forum/

Kobold - an innovative 16 bit TTL Retrocomputer
http://anycpu.org/forum/viewtopic.php?f=23&t=623
Page 3 of 3

Author:  joanlluch [ Tue Jan 28, 2020 10:21 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Hi Roelh, I understand what you do (I suppose). I didn't know you could connect a screen directly to a RPi, so that explains a lot. It's just that I completely and purposely skipped the dark ages of computer software history, i.e the times from the mid 90' to year 2010 where everything was required to be web based, and only web-anything programmers had a paid job. I never accepted working on such a weirdness. Thankfully, the Renaissance eventually came with the invention of the smart phones and the renewed need for 'native' apps. Suddenly, 'native' code programmers (or at least on the iOS platform) could have a proper job, which was a huge relief. (But that's totally off-topic, and based on my own particular vision, I guess). The corollary, is that I never developed any skills on web-based-anything, and web based stuff still feels weird and alien to me. That's why I kind of get amazed by your choice of programming languages for something like an assembler or a compiler. However, I fully acknowledge the effectiveness of a web based interface to show your work, for example your online risc relay computer simulator is really an excellent contribution for others to learn.

Author:  roelh [ Wed Mar 11, 2020 10:16 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Hi all, my C compiler is now integrated into the Kobold K2 online Javascript assembler/simulator.

On a single browser page you can now compile, assemble and simulate the C code, and download a file to program into the Kobold.

See it live at http://www.enscope.nl/simas_kobold2/ !

The page loads a prime-number generator as default program. You only have to press the RUN button to start it. However, the simulator
is quite slow because it simulates almost at the gate level.

Author:  robfinch [ Thu Mar 12, 2020 4:27 am ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Is the C compiler JavaScript too?

Author:  roelh [ Thu Mar 12, 2020 8:13 am ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Hi Rob, some more details of the C compiler are here: http://anycpu.org/forum/viewtopic.php?f=8&t=447.

The compiler is an odd beast. The scanner and parser run on the server and are written in PHP, it is a project that I started several years ago, but only now I can use its results. The parser output (almost target independent) is in a JSON format (displayed in the lower right part of the screen). The code generator is written in Javascript (started 3 months ago) and takes the JSON as input. It does several optimizations and generates assembler code.

I will publish the compiler parts as soon as they reach a more stable state.

Author:  robfinch [ Sat Mar 14, 2020 4:16 am ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

I'm a little curious, why run the compiler from the web? It seems like a complex way to do things.

Author:  roelh [ Sat Mar 14, 2020 12:21 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

My compiler project started several years ago in the period that I discovered that you could program a HTML server to generate webpages using the PHP language, and that PHP was actually a full featured programming language. I started a small compiler project in PHP just for fun, and every year the project got a bit bigger, but I never finished it. So now I had the opportunity get some results from all the hours that already went into that project.

But I agree that it is not the most logical choice.

Author:  robfinch [ Sun Mar 15, 2020 2:44 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

I think it’s a great idea. You have access to the compiler now from just about anywhere.

Author:  roelh [ Sun Jun 14, 2020 6:59 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Hi all, I have the cpu now running at 25MHz master clock, that is 6.25 MHz cpu clock. It has a 160 nS fetch and 160 nS exec cycle for each instruction.
The web-based simulator runs the same hello-world and prime generator demo, compiled from C source: http://www.enscope.nl/simas_kobold2/.

I just designed the 4-layer pcb for the video card: https://hackaday.io/project/172278-vga-video-generation-card
The card will run from the same 25 MHz. It is intended to have 640*480, 32K colors, sprites and sound.

I'm searching for a small and simple OS that has free C source code. Suggestions anyone ?

Author:  BigEd [ Sun Jun 14, 2020 7:20 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

roelh wrote:
I'm searching for a small and simple OS that has free C source code. Suggestions anyone ?

An interesting question indeed! I've posted a new thread for it:


Author:  oldben [ Sun Jun 14, 2020 7:41 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Do you have a web page discription of the latest version of computer?
Ben.

Author:  roelh [ Sun Jun 14, 2020 7:47 pm ]
Post subject:  Re: Kobold - an innovative 16 bit TTL Retrocomputer

Ben, the full description is here: https://hackaday.io/project/167605-kobold-k2-risc-ttl-computer.
Most of the information is in the logs. Schematic is in the file section.

Page 3 of 3 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/