186 lines
7.0 KiB
HTML
186 lines
7.0 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en"><head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<link rel="stylesheet" href="main.css" type="text/css">
|
||
<link rel="stylesheet" href="blog.css" type="text/css">
|
||
<link rel="alternate" type="application/rss+xml" title="subscribe to this page..." href="https://gruos.org/blog/feed.xml">
|
||
<title>GRU's Blog — posts tagged "ocpu"</title>
|
||
</head><body>
|
||
<div id="divbodyholder">
|
||
<div id="divbody"><div class="content">
|
||
<div id="header"><a href="/"><img src="../gru.png" style="width: 35%; height: 68px;"></a></div><hr>
|
||
<h3><a class="ablack" href="gru-devlog-32---yemu.html">
|
||
GRU Devlog 32 - yemu
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202205011541.43# -->
|
||
<div class="subtitle">May 01, 2022 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>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.</p>
|
||
|
||
<p>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.</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_ocpu.html'>ocpu</a></p>
|
||
<!-- text end -->
|
||
<h3><a class="ablack" href="gru-devlog-31---yemu.html">
|
||
GRU Devlog 31 - yemu
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202204171606.47# -->
|
||
<div class="subtitle">April 17, 2022 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>This week I restructured yemu and it’s Makefile. I think that our projects will need some structure “standard” to not complicate them.</p>
|
||
|
||
<p>I was working on adding new instructions to ocpu. I added ADC, SUB, MUL, DIV. Also some duplicated code was removed.</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help us, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_ocpu.html'>ocpu</a></p>
|
||
<!-- text end -->
|
||
<h3><a class="ablack" href="gru-devlog-15---ocpu-yemu-and-licenses.html">
|
||
GRU Devlog 15 - ocpu, yemu and licenses
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202111071700.07# -->
|
||
<div class="subtitle">November 07, 2021 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>This week wasn’t very productive. I was working on one of my personal projects.</p>
|
||
|
||
<p>I have added ADD for registers, INC, DEC and NOP instructions.</p>
|
||
|
||
<p>Also codeberg informed me that yemu has to have license, and I fast added MIT license to all our projects.</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_ocpu.html'>ocpu</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_license.html'>license</a></p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- text end -->
|
||
<h3><a class="ablack" href="gru-devlog-14---ocpu-and-yemu.html">
|
||
GRU Devlog 14 - ocpu and yemu
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202110311714.06# -->
|
||
<div class="subtitle">October 31, 2021 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>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.</p>
|
||
|
||
<p>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.</p>
|
||
|
||
<p>I also added –system flag to yemu so architecture can be choosen more user-friendly way.</p>
|
||
|
||
<p>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</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_ocpu.html'>ocpu</a></p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- text end -->
|
||
<h3><a class="ablack" href="gru-devlog-13---ocpu-thoughts-and-some-elecronics.html">
|
||
GRU Devlog 13 - ocpu thoughts and some elecronics
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202110241605.58# -->
|
||
<div class="subtitle">October 24, 2021 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>This week was very busy week at school and I had no time for programming.</p>
|
||
|
||
<p>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).</p>
|
||
|
||
<p>But I had time to buy some transistors and other electronics. Currently I am trying to make half-adder.</p>
|
||
|
||
<p>I have created tiny log page - <a href="https://g1n.ttm.sh/lolcpu/">lolcpu</a>. I am going to post there some of my
|
||
electronic ideas, circuits and progress in doing some electronic things.</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_lolcpu.html'>lolcpu</a>, <a href='tag_ocpu.html'>ocpu</a>, <a href='tag_transistors.html'>transistors</a>, <a href='tag_electonics.html'>electonics</a></p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- text end -->
|
||
<h3><a class="ablack" href="gru-devlog-13---yemu-gasm-and-ocpu.html">
|
||
GRU Devlog 12 - yemu, gasm and ocpu
|
||
</a></h3>
|
||
<!-- bashblog_timestamp: #202110171710.17# -->
|
||
<div class="subtitle">October 17, 2021 —
|
||
G1n
|
||
</div>
|
||
<!-- text begin -->
|
||
|
||
<p>This week I have done several new instructions for yemu. For example all transfer instructions.</p>
|
||
|
||
<p>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.</p>
|
||
|
||
<p>But I think the coolest what I did this week is ocpu proccessor specification.
|
||
Currently it is draft but i have already published it <a href="https://g1n.ttm.sh/gru/ocpu">here</a>.
|
||
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.</p>
|
||
|
||
<p>Also smlckz’s idea was to make translator from ocpu assembler instructions to avr to emulate it on arduino!</p>
|
||
|
||
<p>Hope you liked this post! If you would like to help me, contact me via email, xmpp or irc :)</p>
|
||
|
||
<p>tags: <a href='tag_gru.html'>gru</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_gasm.html'>gasm</a>, <a href='tag_ocpu.html'>ocpu</a></p>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<!-- text end -->
|
||
<div id="footer">CC by-nc-nd <a href="https://gruos.org/">G1n</a> — <a href="mailto:g1n@ttm.sh">g1n@ttm.sh</a><br>
|
||
generated with <a href="https://tildegit.org/team/bashblog">bashblog</a>, a single bash script to easily create blogs like this one</div>
|
||
<hr>
|
||
</div>
|
||
</div></div>
|
||
</body></html>
|