forked from GRU/website
New /blog/ styles, need g1n to test now!
This commit is contained in:
parent
a49c214375
commit
fc253c7951
|
@ -1 +0,0 @@
|
|||
ocpu
|
|
@ -2,9 +2,9 @@ global_software_name="BashBlog"
|
|||
global_software_version="2.9"
|
||||
|
||||
# Blog title
|
||||
global_title="GRU's blog"
|
||||
# The typical subtitle for each blog
|
||||
global_description="GRU's blog"
|
||||
global_title="GRU's Blog"
|
||||
# The typical subtitle for each Blog
|
||||
global_description="GRU's Blog"
|
||||
# The public base URL for this blog
|
||||
global_url="https://gru.codeberg.page/blog"
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
.config
|
|
@ -36,6 +36,7 @@ h3 {
|
|||
margin-top: 8px;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
|
@ -78,8 +79,8 @@ img{
|
|||
}
|
||||
|
||||
p {
|
||||
padding-bottom: 1px;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
@ -92,7 +93,6 @@ header {
|
|||
}
|
||||
#footer {
|
||||
padding-top:10px;
|
||||
border-top:solid 1px #666;
|
||||
text-align:center;
|
||||
font-size:small;
|
||||
font-family: 'Share Tech Mono', monospace;
|
||||
|
@ -115,6 +115,6 @@ header {
|
|||
padding-top: 2px;
|
||||
}
|
||||
a.ablack {
|
||||
margin-left: 0;
|
||||
margin-bottom: 3px;
|
||||
background-color: #101010;
|
||||
padding: 1px;
|
||||
}
|
625
blog/index.html
625
blog/index.html
|
@ -9,307 +9,328 @@
|
|||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap" rel="stylesheet">
|
||||
</head><body>
|
||||
<div id="divbodyholder">
|
||||
<div class="headerholder"><div class="header">
|
||||
<div id="title">
|
||||
<h1 class="nomargin"><a class="ablack" href="https://gru.codeberg.page/blog/index.html">GRU's blog</a></h1>
|
||||
<div id="description">GRU's blog</div>
|
||||
</div></div></div>
|
||||
<div id="divbody"><div class="content">
|
||||
<h3><a class="ablack" href="gru-devlog-23---more-olibc-and-start-of-occ-and-more-projects-ideas.html">
|
||||
GRU Devlog 23 - more olibc and start of occ (and more projects ideas!)
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202201021813.55# -->
|
||||
<div class="subtitle">January 02, 2022 —
|
||||
G1n
|
||||
<div id="divbodyholder"> <!-- GOES TO THE BOTTOM OF THIS FILE -->
|
||||
|
||||
<!-- <div class="headerholder">
|
||||
<div class="header">
|
||||
<div id="title">
|
||||
<h1 class="nomargin"><a class="ablack" href="https://gru.codeberg.page/blog/index.html">GRU's blog</a></h1>
|
||||
<div id="description">GRU's blog</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
<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-23---more-olibc-and-start-of-occ-and-more-projects-ideas.html">
|
||||
GRU Devlog 23 - more olibc and start of occ (and more projects ideas!)</a>
|
||||
</h3>
|
||||
<!-- bashblog_timestamp: #202201021813.55# -->
|
||||
<div class="subtitle">January 02, 2022 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>I think this week was productive. I have done a lot of things to olibc. First I finally
|
||||
implemented working FILE struct. That required to implement malloc and free, so we also
|
||||
have it now! Then stdio.h was implemented. Still need to make a lot of functions, but
|
||||
we already have most useful ones (for examples every C11 printf functions implemented and
|
||||
fully working). Also finally stdin/stdout/stderr file descriptors working properly.</p>
|
||||
|
||||
<p>We have full implemented <ctype.h> header now! It wasn’t really hard.</p>
|
||||
|
||||
<p>This year I started from tryes to make occ - GRU C compiler (maybe it will be GRU Compiler
|
||||
Collection in future). A lot of things will need to be implemented and a lot of new to know!
|
||||
I hope it will be fun :)</p>
|
||||
|
||||
<p>Happy New 2022 Year! I hope we will make a lot of new tools this year. And more people will
|
||||
join us :)</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_olibc.html'>olibc</a>, <a href='tag_occ.html'>occ</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-22---olibc-liblinux-mailing-list.html">
|
||||
GRU Devlog 22 - olibc, liblinux, mailing list
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112261650.00# -->
|
||||
<div class="subtitle">December 26, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>Happy Chirstmas! Next GRU Devlog will be next year so Happy New Year! I hope GRU will grow
|
||||
and grow next year :D</p>
|
||||
|
||||
<p>On last Sunday we have created mailing list after devlog. Currently it is not active, but
|
||||
but you can message us there - gru@lists.tildeverse.org. Then I tryed to make FILE struct
|
||||
for liblinux, but it wasn’t working so it needed to be reimplemented.</p>
|
||||
|
||||
<p>Then youngchief submitted some changes to our webpage. Also robyndrake contributed some fixes
|
||||
to coreutils.</p>
|
||||
|
||||
<p>Also I had implemented printf and vprintf! It currently have %c, %d, %s so it will be useful
|
||||
for debugging. I have tryed to implement snprintf, but i had several problems with it so
|
||||
it is not done yet.</p>
|
||||
|
||||
<p>Then chunk contributed logo for us! I think it looks nice!</p>
|
||||
|
||||
<p>Last useful thing that I have done this week is very minimal FILE, it currently just has
|
||||
fd and nothing else.</p>
|
||||
|
||||
<p>I hope we will make more cool things and finish current projects next year!</p>
|
||||
|
||||
<p>Hope you liked this post! I wish everyone cool New Year!
|
||||
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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a>, <a href='tag_mailing-list.html'>mailing-list</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-21---olibc.html">
|
||||
GRU Devlog 21 - olibc
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112191709.23# -->
|
||||
<div class="subtitle">December 19, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week I also was making olibc. Now it is published! I have mostly implemented <string.h>, but there
|
||||
still some funcs that require <locale.h>, so they are not implemented yet.</p>
|
||||
|
||||
<p>I found out why olibc wasn’t giving correct return value after program is executed. It was because
|
||||
liblinux wasn’t exiting correctly, so it received some random return values from stack.</p>
|
||||
|
||||
<p>Also a lot of testing were done. I have found out that several functions wasn’t working correctly
|
||||
and fixed it. We have shell script for testing that compares results from our libc and libc that
|
||||
installed on user’s machine. It prints a diff output if test was failed. It also have other
|
||||
features, if you want you can check it by running <code>test.sh --help</code> by yourself.</p>
|
||||
|
||||
<p>Because of it I have found that several functions were wrong implemented. But now finally
|
||||
everything is working and strtok is correctly implemented!</p>
|
||||
|
||||
<p>Also this blog finally moved totally from my webpage, so we can move this site on different
|
||||
server just by cloning it from codeberg or tildegit</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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-20---olibc.html">
|
||||
GRU Devlog 20 - olibc
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112121746.18# -->
|
||||
<div class="subtitle">December 12, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week I was making olibc. I was implementing <string.h>. Also I was fixing liblinux to
|
||||
be able to include it without need to use full path in <code>#include</code>. I had several other issues
|
||||
with it and also fixed them.</p>
|
||||
|
||||
<p>My current goal is to implement <string.h> and after that I am planning to publish it.
|
||||
Currently most of funcs are implemented. Making strtok now but all other functions need
|
||||
locale.h and I don’t know yet how it will be implemented. But it is already cool that we
|
||||
have most of functions that should be in <string.h>!</p>
|
||||
|
||||
<p>Also we now have <a href="https://gru.codeberg.page">gru webpage on codeberg</a>! Maybe next week I
|
||||
will move all devlogs to gru webpage so it will be easier to move.</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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-19---gic-and-several-libs.html">
|
||||
GRU Devlog 19 - gic and several libs
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112051657.11# -->
|
||||
<div class="subtitle">December 05, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week started with making gic (maybe name will be change). As I have written before
|
||||
it is going to be suckless ii clone. Also I started making girclib - simple C library for irc
|
||||
protocol. I think it will be published as separate project, because I would like to make it
|
||||
for both: client and server. I don’t yet how it will be done but we will see…</p>
|
||||
|
||||
<p>Then I thought that would be cool to have own libc, but have no knowledge how it speaks with OS.
|
||||
Then I understood that on linux it is working via syscalls. So started making liblinux -
|
||||
C library for linux syscalls. Using it we won’t need to use assembly a lot in our libc. Currently
|
||||
write and read syscalls are done and programmer can use it if passed -I, -L and -l flags to compiler.
|
||||
And it is already published! (check codeberg or tildegit)</p>
|
||||
|
||||
<p>After understanding how to create proper makefile with liblinux, I started making olibc. Currently
|
||||
it has very tiny number of features. But string.h is mostly done! I don’t know when I will fill that
|
||||
it will be ready enough to be published, but hope to have useful functions and test suit there till
|
||||
that time.</p>
|
||||
|
||||
<p>When olibc will be done enough I am going to start making C compiler (already have some code, but it
|
||||
is old and I not understand how it works, so need to be rewritten). Also I hope that we will have
|
||||
enough toolchain (or I will have enough knowledge to implement things that are not done faster)
|
||||
for our own Linux or BSD distribution. But that will be in future…</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_gic.html'>gic</a>, <a href='tag_girclib.html'>girclib</a>, <a href='tag_liblinux.html'>liblinux</a>, <a href='tag_olibc.html'>olibc</a>, <a href='tag_libs.html'>libs</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-17-18---coreutils-egg-and-ideas.html">
|
||||
GRU Devlog 17-18 - coreutils, EGG and ideas
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202111281706.52# -->
|
||||
<div class="subtitle">November 28, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>Last week I didn’t make devlog because was busy and haven’t done anything useful except
|
||||
mkdir for coreutils.</p>
|
||||
|
||||
<p>This week I started from try to make something in framebuffer but currently nothing, because
|
||||
I can’t even understand why my code can’t see size of my display. I think E will require making
|
||||
something like Elib for easier communicating with E (but it will be in very far future…)</p>
|
||||
|
||||
<p>Then I made echo and very simple ls for coreutils. I am going to add more flags to ls next week.
|
||||
This week I also have made simple irc bot in python, so I will try to make simple clone of suckless ii
|
||||
on C (i think name gic is now really good so if you have ideas please suggest them to me).
|
||||
Currently I don’t reallly understand how to work with sockets but I will try to do something.</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_coreutils.html'>coreutils</a>, <a href='tag_egg.html'>egg</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-16---ormp-and-egg.html">
|
||||
GRU Devlog 16 - ormp and EGG
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202111141703.05# -->
|
||||
<div class="subtitle">November 14, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week i was working on one more new project - ormp. It will be terminal multiplexor.
|
||||
Currently i am doing it in ncurses. For current time it is not working - can just handle input but not display it.</p>
|
||||
|
||||
<p>Also i have an idea for new projects - EGG (Extended/Exciting GRU GUI). I am planning some proj in this category - eggwm, eggterm, eggmenu and E.
|
||||
E would be a new display server. We will need to have it for Orion in future. Currently i am planning to do it or on fbdev or on DRM/KMS.</p>
|
||||
|
||||
<p>Also now yemu can be compiled with different compilers, -pedantic flag was added to makefile and all errors fixed.</p>
|
||||
|
||||
<p>And now our channels are bridged via matterbridge: irc on ~chat, irc on libera and xmpp muc.</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_ormp.html'>ormp</a>, <a href='tag_egg.html'>egg</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_xmpp.html'>xmpp</a>, <a href='tag_irc.html'>irc</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 -->
|
||||
<div id="all_posts">
|
||||
<a href="all_posts.html">archive</a> — <a href="all_tags.html">all tags</a> — <a href="https://gru.codeberg.page/blog/feed.xml">rss</a>
|
||||
</div>
|
||||
<div id="footer">
|
||||
<center>
|
||||
CC by-nc-nd <a href="https://gru.codeberg.page/">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
|
||||
</center>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>I think this week was productive. I have done a lot of things to olibc. First I finally
|
||||
implemented working FILE struct. That required to implement malloc and free, so we also
|
||||
have it now! Then stdio.h was implemented. Still need to make a lot of functions, but
|
||||
we already have most useful ones (for examples every C11 printf functions implemented and
|
||||
fully working). Also finally stdin/stdout/stderr file descriptors working properly.</p>
|
||||
|
||||
<p>We have full implemented <ctype.h> header now! It wasn’t really hard.</p>
|
||||
|
||||
<p>This year I started from tryes to make occ - GRU C compiler (maybe it will be GRU Compiler
|
||||
Collection in future). A lot of things will need to be implemented and a lot of new to know!
|
||||
I hope it will be fun :)</p>
|
||||
|
||||
<p>Happy New 2022 Year! I hope we will make a lot of new tools this year. And more people will
|
||||
join us :)</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_olibc.html'>olibc</a>, <a href='tag_occ.html'>occ</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-22---olibc-liblinux-mailing-list.html">
|
||||
GRU Devlog 22 - olibc, liblinux, mailing list
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112261650.00# -->
|
||||
<div class="subtitle">December 26, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>Happy Chirstmas! Next GRU Devlog will be next year so Happy New Year! I hope GRU will grow
|
||||
and grow next year :D</p>
|
||||
|
||||
<p>On last Sunday we have created mailing list after devlog. Currently it is not active, but
|
||||
but you can message us there - gru@lists.tildeverse.org. Then I tryed to make FILE struct
|
||||
for liblinux, but it wasn’t working so it needed to be reimplemented.</p>
|
||||
|
||||
<p>Then youngchief submitted some changes to our webpage. Also robyndrake contributed some fixes
|
||||
to coreutils.</p>
|
||||
|
||||
<p>Also I had implemented printf and vprintf! It currently have %c, %d, %s so it will be useful
|
||||
for debugging. I have tryed to implement snprintf, but i had several problems with it so
|
||||
it is not done yet.</p>
|
||||
|
||||
<p>Then chunk contributed logo for us! I think it looks nice!</p>
|
||||
|
||||
<p>Last useful thing that I have done this week is very minimal FILE, it currently just has
|
||||
fd and nothing else.</p>
|
||||
|
||||
<p>I hope we will make more cool things and finish current projects next year!</p>
|
||||
|
||||
<p>Hope you liked this post! I wish everyone cool New Year!
|
||||
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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a>, <a href='tag_mailing-list.html'>mailing-list</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-21---olibc.html">
|
||||
GRU Devlog 21 - olibc
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112191709.23# -->
|
||||
<div class="subtitle">December 19, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week I also was making olibc. Now it is published! I have mostly implemented <string.h>, but there
|
||||
still some funcs that require <locale.h>, so they are not implemented yet.</p>
|
||||
|
||||
<p>I found out why olibc wasn’t giving correct return value after program is executed. It was because
|
||||
liblinux wasn’t exiting correctly, so it received some random return values from stack.</p>
|
||||
|
||||
<p>Also a lot of testing were done. I have found out that several functions wasn’t working correctly
|
||||
and fixed it. We have shell script for testing that compares results from our libc and libc that
|
||||
installed on user’s machine. It prints a diff output if test was failed. It also have other
|
||||
features, if you want you can check it by running <code>test.sh --help</code> by yourself.</p>
|
||||
|
||||
<p>Because of it I have found that several functions were wrong implemented. But now finally
|
||||
everything is working and strtok is correctly implemented!</p>
|
||||
|
||||
<p>Also this blog finally moved totally from my webpage, so we can move this site on different
|
||||
server just by cloning it from codeberg or tildegit</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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-20---olibc.html">
|
||||
GRU Devlog 20 - olibc
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112121746.18# -->
|
||||
<div class="subtitle">December 12, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week I was making olibc. I was implementing <string.h>. Also I was fixing liblinux to
|
||||
be able to include it without need to use full path in <code>#include</code>. I had several other issues
|
||||
with it and also fixed them.</p>
|
||||
|
||||
<p>My current goal is to implement <string.h> and after that I am planning to publish it.
|
||||
Currently most of funcs are implemented. Making strtok now but all other functions need
|
||||
locale.h and I don’t know yet how it will be implemented. But it is already cool that we
|
||||
have most of functions that should be in <string.h>!</p>
|
||||
|
||||
<p>Also we now have <a href="https://gru.codeberg.page">gru webpage on codeberg</a>! Maybe next week I
|
||||
will move all devlogs to gru webpage so it will be easier to move.</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_olibc.html'>olibc</a>, <a href='tag_liblinux.html'>liblinux</a></p>
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-19---gic-and-several-libs.html">
|
||||
GRU Devlog 19 - gic and several libs
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202112051657.11# -->
|
||||
<div class="subtitle">December 05, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week started with making gic (maybe name will be change). As I have written before
|
||||
it is going to be suckless ii clone. Also I started making girclib - simple C library for irc
|
||||
protocol. I think it will be published as separate project, because I would like to make it
|
||||
for both: client and server. I don’t yet how it will be done but we will see…</p>
|
||||
|
||||
<p>Then I thought that would be cool to have own libc, but have no knowledge how it speaks with OS.
|
||||
Then I understood that on linux it is working via syscalls. So started making liblinux -
|
||||
C library for linux syscalls. Using it we won’t need to use assembly a lot in our libc. Currently
|
||||
write and read syscalls are done and programmer can use it if passed -I, -L and -l flags to compiler.
|
||||
And it is already published! (check codeberg or tildegit)</p>
|
||||
|
||||
<p>After understanding how to create proper makefile with liblinux, I started making olibc. Currently
|
||||
it has very tiny number of features. But string.h is mostly done! I don’t know when I will fill that
|
||||
it will be ready enough to be published, but hope to have useful functions and test suit there till
|
||||
that time.</p>
|
||||
|
||||
<p>When olibc will be done enough I am going to start making C compiler (already have some code, but it
|
||||
is old and I not understand how it works, so need to be rewritten). Also I hope that we will have
|
||||
enough toolchain (or I will have enough knowledge to implement things that are not done faster)
|
||||
for our own Linux or BSD distribution. But that will be in future…</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_gic.html'>gic</a>, <a href='tag_girclib.html'>girclib</a>, <a href='tag_liblinux.html'>liblinux</a>, <a href='tag_olibc.html'>olibc</a>, <a href='tag_libs.html'>libs</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-17-18---coreutils-egg-and-ideas.html">
|
||||
GRU Devlog 17-18 - coreutils, EGG and ideas
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202111281706.52# -->
|
||||
<div class="subtitle">November 28, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>Last week I didn’t make devlog because was busy and haven’t done anything useful except
|
||||
mkdir for coreutils.</p>
|
||||
|
||||
<p>This week I started from try to make something in framebuffer but currently nothing, because
|
||||
I can’t even understand why my code can’t see size of my display. I think E will require making
|
||||
something like Elib for easier communicating with E (but it will be in very far future…)</p>
|
||||
|
||||
<p>Then I made echo and very simple ls for coreutils. I am going to add more flags to ls next week.
|
||||
This week I also have made simple irc bot in python, so I will try to make simple clone of suckless ii
|
||||
on C (i think name gic is now really good so if you have ideas please suggest them to me).
|
||||
Currently I don’t reallly understand how to work with sockets but I will try to do something.</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_coreutils.html'>coreutils</a>, <a href='tag_egg.html'>egg</a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- text end -->
|
||||
<h3><a class="ablack" href="gru-devlog-16---ormp-and-egg.html">
|
||||
GRU Devlog 16 - ormp and EGG
|
||||
</a></h3>
|
||||
<!-- bashblog_timestamp: #202111141703.05# -->
|
||||
<div class="subtitle">November 14, 2021 —
|
||||
G1n
|
||||
</div>
|
||||
<!-- text begin -->
|
||||
|
||||
<p>This week i was working on one more new project - ormp. It will be terminal multiplexor.
|
||||
Currently i am doing it in ncurses. For current time it is not working - can just handle input but not display it.</p>
|
||||
|
||||
<p>Also i have an idea for new projects - EGG (Extended/Exciting GRU GUI). I am planning some proj in this category - eggwm, eggterm, eggmenu and E.
|
||||
E would be a new display server. We will need to have it for Orion in future. Currently i am planning to do it or on fbdev or on DRM/KMS.</p>
|
||||
|
||||
<p>Also now yemu can be compiled with different compilers, -pedantic flag was added to makefile and all errors fixed.</p>
|
||||
|
||||
<p>And now our channels are bridged via matterbridge: irc on ~chat, irc on libera and xmpp muc.</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_ormp.html'>ormp</a>, <a href='tag_egg.html'>egg</a>, <a href='tag_yemu.html'>yemu</a>, <a href='tag_xmpp.html'>xmpp</a>, <a href='tag_irc.html'>irc</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 -->
|
||||
<div id="all_posts"><a href="all_posts.html">archive</a> — <a href="all_tags.html">all tags</a> — <a href="https://gru.codeberg.page/blog/feed.xml">rss</a></div>
|
||||
</div>
|
||||
<div id="footer">CC by-nc-nd <a href="https://gru.codeberg.page/">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>
|
||||
|
|
Loading…
Reference in New Issue