News for hackers. Stuff that matters.

tieze

Re:Writing Portable ARM64 Assembly on Wednesday June 03, 2026 @10:45AM (#48384830)
Would be tricky to have your 6502 code running on a Game Boy as it has a Z80/8080.
Re:San Francisco Graffiti on Monday January 26, 2026 @07:57AM (#46765087)
That is arguably the point. They are taken from the SF city website and are placed in arbitrary order. I personally love this unfiltered take.

There's more to get from these than just aesthetics, precisely because they're not curated.

Re:Nnd – a TUI debugger alternative to GDB, LLDB on Tuesday May 06, 2025 @11:52AM (#43906507)
People here might also be interested in pwndbg, which adds a lot of qol improvements to the typical gdb/lldb experience. Including splitting dialogs over tmux panes, a lot more context info added to debug lines like where do pointers point to. Heap inspection. Colorization. makes for a much more friendly debugging experience.
Re:Show HN: Resurrecting a dead Dune RTS game on Monday July 15, 2024 @05:05AM (#40966294)
re Dune 1 and 2 in same year: At some point Dune 1, developed by Cyro interactive, was officially cancelled and Westwood (so a totally different studio) got a crack at developing it. But it turned out Dune 1 kept on getting secret funding as well, and wasn't cancelled when the higher ups found out. So we were kind of lucky to get both of them.
Re:MicroMac, a Macintosh for Under £5 on Monday June 17, 2024 @10:02AM (#40705728)
Somewhat related, there's a MiSTer implementation of the Apple II: https://github.com/MiSTer-devel/Apple-II_MiSTer
Well yea, two points:

a) thats awesome b) I am taking a wild leap in deducing you're the same retro-games Benj Edwards journalist that was part of the infamous Retronauts East team. Just wanted to say i always quite enjoyed your presence :)

Re:Learning Verilog and FPGA on Wednesday January 11, 2023 @09:35AM (#34338893)
Yosys, the underlying compiler of ice studio, also targets the much bigger ECP5 FPGA, also by Lattice, which is called Project Trellis: https://github.com/YosysHQ/prjtrellis

Yosys functions more like a software open source tool. So command line compiling. It also has a REPL. It is very quick compared to the commercial solutions. Especially around compile times which can take seconds instead of minutes. YMMV, but I think the consensus is that it's a lot more convenient to use.

In general the hardware toolchains feel very ancient compared to software toolchains.

Re:GBA Jam: Write C, Rust, Nim or Zig for Game Boy Advance on Thursday April 08, 2021 @02:15PM (#26741962)
The GBA is such a good little system to program for.
Re:195 gigapixel 360-degree panorama of Shanghai on Monday February 01, 2021 @03:09AM (#25986611)
I'm getting a forbidden on that too. I guess it's a ephemeral link. It's on the frontpage of the site though.
Re:The J1 Forth CPU on Wednesday January 13, 2021 @04:40AM (#25760009)
Oh, thanks so much for this pointer :)
I'm just going to chime in as well. OSS tools were a breeze to set up. And the compile loop is so very quick comparatively.
Not extremely cheap, but the ULX3S fits the bill. It's got the inputs and outputs and all.
Re:On Repl-Driven Programming on Monday January 04, 2021 @04:53AM (#25629337)
In Emacs you can set up Python in a (quite neutered) similar way. Whenever I change a function, I just evaluate the whole buffer to load it in the attached Python process, and will switch over to the Python process to play with it if need be.

Also, Forth sports a repl.

Re:Architecture of the Game Boy Advance on Tuesday December 29, 2020 @04:37AM (#25568203)
I've gotten into GBA homebrew again recently. The community is small but getting a bit bigger. gbadev on Discord is a fun place to hang out.

The tooling doesn't seem to have changed all that much from back in the day, which isn't a bad thing: the best way to get music on the GBA is still to compose something in an old-fashioned tracker and using Maxmod to import it. Sprite conversion tools haven't changed that much.

Programming it is just so lovely bare-metal: poking/prodding registers, writing backgrounds and sprites into memory regions.. Really fun stuff.

Re:Architecture of the Game Boy Advance on Tuesday December 29, 2020 @04:27AM (#25568148)
I've got a Micro (well, two actually). It's super-cute, but the screen is just too tiny for me to be comfortable. You really need to strain your eyes a bit too much.
Re:QBE vs. LLVM on Wednesday December 02, 2020 @12:01PM (#25278429)
It's certainly not trivial, but still an interesting journey. I made a backend for MMIX, heavily influenced by the risc-v implementation, and kept the patches logically consistent by rebasing new changes to serve as an example. The last rebase was a year ago, but I think following a previous implementation is the best way forward as there is so much boiler-plate: - https://github.com/stuij/mmix-llvm-support - https://github.com/stuij/mmix-llvm-backend

That said, those kind of olden CPU's aren't a terribly snug fit for LLVM, due to their peculiarities. You'll have to bend LLVM quite a bit to bend it to your will, which also means that you need to get quite familiar with it as well.

edit: this tutorial is even older still, but for me it was one of the best resources, next to checking other simple backends: https://jonathan2251.github.io/lbd/llvmstructure.html

Re:Will R Work on Apple Silicon? on Wednesday November 11, 2020 @12:44PM (#25060643)
Note that build attributes are only supported on AArch32, not AArch64.
Re:Stop the Earn IT Bill Before It Breaks Encryption on Tuesday October 06, 2020 @05:17AM (#24695969)
I read this as 'China took a direct route to spying'.
Re:Show HN: Draw L-Systems with Common Lisp on Friday July 24, 2020 @05:47AM (#23937568)
This page gives a nice overview: https://lispcookbook.github.io/cl-cookbook/getting-started.h...

Basically Quicklisp is your CL package manager, and ASDF is your makefile.

Re:The History, Status, and Future of FPGAs on Thursday July 23, 2020 @05:16PM (#23932342)
LLVM folks have actually just started on such tooling: CIRCT. With Chris Lattner at the helm, and industry players like Xilinx and Intel seemingly on board.
Re:Stock Jump – a ski-jumping game with real stock data on Saturday March 21, 2020 @08:13PM (#22651439)
I think only the sharp decline to build up speed counts. Allegion PLC has just that: http://stockjump.sos.gd/?symbol=ALLEN.MX&currency=MXN&name=A...

Just jump on the flat at the end gets me over 700.

I read this story once about an Inuit fisherman on his death-bed telling his son that throughout his life he was always cold.
Re:uLisp – ARM Assembler in Lisp on Wednesday January 22, 2020 @09:50AM (#22117953)
Ah yea, I did something like this on top of Common Lisp, but not as interactive yet: https://github.com/stuij/armish

My plan at the time was to use a serial protocol and interface with a Nintendo GBA/DS for this kind of interactive Lisp programming.

It feels a bit dirty mixing implementation and target language like this, but it's great fun to program for.

Re:Philosophy as a public service on Thursday January 02, 2020 @03:47PM (#21939632)
If you just have ears, History of Philosophy without any gaps is great podcast: https://historyofphilosophy.net/. Great and thorough companion when I do the dishes.
Re:NUMA Siloing in the FreeBSD Network Stack [pdf] on Sunday September 22, 2019 @05:05PM (#21043941)
As I understood Linux made a lot of progress in the last couple of years with say zero-copy patches, etc. I thought they reached some kind of parity.
Re:The rise of the indelibly-illustrated everyman on Friday July 26, 2019 @12:22PM (#20535950)
fun fact: the name Britain comes from 'painted people' or 'tattooed people' given by Ceasar as he descended upon the UK: https://en.wikipedia.org/wiki/Britain_(place_name).

That author is just not aware of his heritage.

Re:Retro: A Modern, Pragmatic Forth on Friday May 24, 2019 @05:00PM (#20005258)
I wanna thank you fourth! Such a great tutorial, and I used it to build a little Forth for the GBA. It was such a great experience.
Re:Making a Game Boy Game in 2017 on Friday May 24, 2019 @04:57PM (#20005240)
yea, I posted with another suggestion on this thread, but the GBA itself is just such a dream machine. It's the sweet spot for retro programming in my mind. All the cool console features, streamlined hardware, simple interface. So good.

Older »