mirror of https://codeberg.org/g1n/www.git
114 lines
5.4 KiB
HTML
114 lines
5.4 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="g1n.ttm.sh/blog/feed.xml">
|
|
<title>~g1n's blog — posts tagged "ocpu"</title>
|
|
</head><body>
|
|
<div id="divbodyholder">
|
|
<div class="headerholder"><div class="header">
|
|
<div id="title">
|
|
<h1 class="nomargin"><a class="ablack" href="https://g1n.ttm.sh/blog/index.html">~g1n's blog</a></h1>
|
|
<div id="description">~g1n's blog</div>
|
|
</div></div></div>
|
|
<div id="divbody"><div class="content">
|
|
<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>
|
|
<div id="footer">CC by-nc-nd <a href="https://tilde.team/~g1n/">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>
|
|
</div></div>
|
|
</body></html>
|