~g1n's blog

~g1n's blog

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 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

GRU Devlog 11 - yemu and channel on libera.chat

October 08, 2021 — G1n

I am making this devlog a bit earlier, because I will be busy on weekends.

This week I didn’t have plan, but it seems I have done some things to yemu: added loading programs from binary file and several instructions - TAX, TAY and NOP.

I think gasm will be made for 6502 firstly, because it is easier then x86 and it would help in testing yemu.

I was trying to make some daily notes in Org Roam (and moved devlog notes there), but it wasn’t very success, but I hope to do it more often :)

Also I have registered #gru channel on libera, so you can join us also on libera.chat :)

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

tags: gru, yemu, libera, org-mode, org-roam

GRU Devlog 6 - yemu, published gxt and interrupts working in Orion

September 05, 2021 — G1n

This week I have published gxt, but it currently works as more (only down scrolling). Also it has a lot of of runtime error (Segmentation fault and others).

I have started working on yemu - Yet another EMUlator. It currently supports only 6502 proccessor with tiny number of instructions (LDA, LDX and LDY)

Today we have fixed interrupts in Orion and now I can implement timer, paging, keyboard and a lot of other things (thanks to quinn and smlckz from tilde.chat)

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

tags: gru, gxt, yemu, orion