GRU Devlog 32 - yemu

May 01, 2022 — G1n

This 2 weeks I was coding yemu. I added handling for flags, so now after any operation ZF and NF flags changed to correct values. Also I added opcodes for CF manipulations, so carry flag can be set and unset. Also I was fixing and detalizing specs, because I needed it to implement other commands. I added logical instructions - AND, OR, NOT, XOR.

This week I was mostly researching about something that can be interesting, but don’t have enough information for a project yet. It is pretty complicated sphere, so I don’t know when I will do something interesting there.

Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)

tags: gru, yemu, ocpu

GRU Devlog 31 - yemu

April 17, 2022 — G1n

This week I restructured yemu and it’s Makefile. I think that our projects will need some structure “standard” to not complicate them.

I was working on adding new instructions to ocpu. I added ADC, SUB, MUL, DIV. Also some duplicated code was removed.

Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)

tags: gru, yemu, ocpu

GRU Devlog 15 - ocpu, yemu and licenses

November 07, 2021 — G1n

This week wasn’t very productive. I was working on one of my personal projects.

I have added ADD for registers, INC, DEC and NOP instructions.

Also codeberg informed me that yemu has to have license, and I fast added MIT license to all our projects.

Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)

tags: gru, ocpu, yemu, license

GRU Devlog 14 - ocpu and yemu

October 31, 2021 — G1n

This week I was working on ocpu emulator. So using it we can know if specifications can be implemented. It helps me adding some description to it.

First I made yemu a bit modular, so you need to add several lines to main file and then building your emulator based on template (that should be placed in docs one day). Now if someone would like to add some architecture to our emulator they won’t need to rewrite it from scratch.

I also added –system flag to yemu so architecture can be choosen more user-friendly way.

Currently in ocpu emulator only mov and add instructions are implemented. We also added some description to commands in specifications, so it is easier to understand what it should do

Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)

tags: gru, yemu, ocpu

GRU Devlog 13 - ocpu thoughts and some elecronics

October 24, 2021 — G1n

This week was very busy week at school and I had no time for programming.

But in the start of week I was thinking about making ocpu specs more Turing-complete. I still think it is not done but maybe it will in some time (and of course more description required).

But I had time to buy some transistors and other electronics. Currently I am trying to make half-adder.

I have created tiny log page - lolcpu. I am going to post there some of my electronic ideas, circuits and progress in doing some electronic things.

Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)

tags: gru, lolcpu, ocpu, transistors, electonics

GRU Devlog 12 - yemu, gasm and ocpu

October 17, 2021 — G1n

This week I have done several new instructions for yemu. For example all transfer instructions.

Also I have rewritten gasm to support 6502, published it and it should help me with debugging yemu. It supports not very a lot instructions but I hope it is good start.

But I think the coolest what I did this week is ocpu proccessor specification. Currently it is draft but i have already published it here. I hope this specifications will be Turing complete and we will try to implement it in real world. But firstly we need to make this specififcations complete, assembler and emulator for it.

Also smlckz’s idea was to make translator from ocpu assembler instructions to avr to emulate it on arduino!

Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)

tags: gru, yemu, gasm, ocpu