<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: gdevic</title><link>https://news.ycombinator.com/user?id=gdevic</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 16 May 2026 07:21:08 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gdevic" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gdevic in "I designed a nibble-oriented CPU in Verilog to build a scientific calculator"]]></title><description><![CDATA[
<p>There is a WebAssembly version running online here, with and without debugger panel:<p><a href="https://baltazarstudios.com/files/calculator-d/Calculator.html" rel="nofollow">https://baltazarstudios.com/files/calculator-d/Calculator.ht...</a><p><a href="https://baltazarstudios.com/files/calculator/Calculator.html" rel="nofollow">https://baltazarstudios.com/files/calculator/Calculator.html</a><p>This WebAsm code is compiled using Qt and Verilator so it runs the "hardware" and its microcode inside the simple UI shell that provides the calc interface. In the debug version you can list the ucode, set breakpoints, see regs etc.</p>
]]></description><pubDate>Sat, 16 May 2026 00:14:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=48155549</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=48155549</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48155549</guid></item><item><title><![CDATA[New comment by gdevic in "I designed a nibble-oriented CPU in Verilog to build a scientific calculator"]]></title><description><![CDATA[
<p>The core question: how did HP's scientific calculators actually work at the gate level? That rabbit hole led to building one from scratch.<p>The architectural decision everything else follows from: a decimal calculator should store numbers as BCD — one decimal digit per 4-bit nibble. A standard byte-oriented CPU (Z80, 6502) fights that layout constantly. So I designed a small custom CPU in Verilog where 4 bits is the natural data width and memory is nibble addressable.<p>What the project covers:<p>- Custom CPU: Harvard architecture, 12-bit ISA, 8-state execution 
  FSM, hardware stack guard with a FAULT state for microcode debugging<p>- CORDIC for trig functions, verified to 14 significant digits<p>- Two-pass assembler in Python (~700 lines)<p>- Verilator + Qt framework: same Verilog source runs in simulation, 
  as a desktop GUI debugger, as WebAssembly, and on real hardware<p>- Scripting language on top of the microcode for adding functions 
  without touching hardware<p>- Custom PCB (EasyEDA/JLCPCB), battery, charging circuit<p>Write-up: <a href="https://baltazarstudios.com" rel="nofollow">https://baltazarstudios.com</a><p>Hackaday: <a href="https://hackaday.com/2026/05/13/build-the-cpu-then-build-the-calculator/" rel="nofollow">https://hackaday.com/2026/05/13/build-the-cpu-then-build-the...</a></p>
]]></description><pubDate>Fri, 15 May 2026 17:17:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=48151258</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=48151258</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48151258</guid></item><item><title><![CDATA[I designed a nibble-oriented CPU in Verilog to build a scientific calculator]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/gdevic/FPGA-Calculator">https://github.com/gdevic/FPGA-Calculator</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48151237">https://news.ycombinator.com/item?id=48151237</a></p>
<p>Points: 99</p>
<p># Comments: 33</p>
]]></description><pubDate>Fri, 15 May 2026 17:15:58 +0000</pubDate><link>https://github.com/gdevic/FPGA-Calculator</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=48151237</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48151237</guid></item><item><title><![CDATA[New comment by gdevic in "I love Linux, but I can't quit Windows"]]></title><description><![CDATA[
<p>Absolutely agree with the OP! My first Linux installation was in 1993 when I hauled dozens of floppies from my Uni back home (X-Windows was like 15 floppies?). Even remember emailing to Linus about some issue and he responded. Ever since I _wanted_ to be using Linux but was always put off for all the reasons described in that post. I wanted a nice OS so I can do my school/work/hobbies but not constantly having to work on that OS, figure out dozens of config files, brick the system etc.<p>At this point WSL2 is more than filling this void. I even stopped using VMWare since WSL is that good.</p>
]]></description><pubDate>Fri, 15 May 2026 17:04:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=48151070</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=48151070</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48151070</guid></item><item><title><![CDATA[Porting a Qt Project (SpeedCrunch) to WebAssembly]]></title><description><![CDATA[
<p>Article URL: <a href="https://baltazarstudios.com/porting-a-qt-project-to-webassembly-challenges-and-solutions/">https://baltazarstudios.com/porting-a-qt-project-to-webassembly-challenges-and-solutions/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43372674">https://news.ycombinator.com/item?id=43372674</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 15 Mar 2025 14:15:10 +0000</pubDate><link>https://baltazarstudios.com/porting-a-qt-project-to-webassembly-challenges-and-solutions/</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=43372674</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43372674</guid></item><item><title><![CDATA[New comment by gdevic in "A Chopin waltz unearthed after nearly 200 years"]]></title><description><![CDATA[
<p>Agree. Lang Lang is all about theatrics, also.</p>
]]></description><pubDate>Sun, 27 Oct 2024 21:25:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=41965817</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=41965817</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41965817</guid></item><item><title><![CDATA[New comment by gdevic in "How Microchips Work"]]></title><description><![CDATA[
<p>I loved the article! Spot on and just the right depth for the article size (I am a CPU architect).</p>
]]></description><pubDate>Sun, 17 Mar 2024 07:05:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=39732494</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=39732494</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39732494</guid></item><item><title><![CDATA[Z80 Explorer]]></title><description><![CDATA[
<p>Article URL: <a href="https://baltazarstudios.com/z80explorer/">https://baltazarstudios.com/z80explorer/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=23889771">https://news.ycombinator.com/item?id=23889771</a></p>
<p>Points: 5</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 19 Jul 2020 14:57:09 +0000</pubDate><link>https://baltazarstudios.com/z80explorer/</link><dc:creator>gdevic</dc:creator><comments>https://news.ycombinator.com/item?id=23889771</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=23889771</guid></item></channel></rss>