News for hackers. Stuff that matters.

nullobject

Re:SuperRT – Realtime Raytracing on the SNES on Tuesday December 15, 2020 @06:30PM (#25436859)
Sure. I wrote the Tecmo and CAVE cores for MiSTer, and it's a long road to a complex core like an arcade game, or in this case, a ray tracer.

If you're just starting out, then you've gotta begin with the basics: blinking a few LEDs, etc. From there you can progress to more and more complex circuits as you learn to code in VHDL or Verilog.

I'd recommend buying a couple of 2nd hand books on VHDL and/or Verilog to get familiar with the syntax. There are some good free books too:

http://freerangefactory.org/pdf/df344hdh4h8kjfh3500ft2/free_...

This little book is great if you're interested in how to build video game hardware for FPGA:

https://gumroad.com/8bitworkshop#JGZkq

I also have a repo of examples I wrote for the DE10 Nano:

https://github.com/nullobject/de10-nano-examples

Nice. I was just looking through your ray-tracer code :)

It looks like a really nice abstraction. I've been working on the MiSTer project, writing arcade cores for the Cyclone V in VHDL.

I've made a huge effort to keep things clean, but SpinalHDL could be a great way to tame some of the code.

Will start blinking some LEDs and see how it goes...

This project looks amazing.

For folks writing in SpinalHDL, is anyone using Quartus? Or are you using a fully open-source toolchain? i.e. What is your workflow?

I'm interested in trying out SpinalHDL, but I'm not sure how to integrate it into what I'm doing.

Running 20.04 on X1E G2 without issues here.
I just switched to the X1E after using Mac for the past 20 years. I'm running Ubuntu 20.04.

It's an amazing machine: excellent build quality, screen, and variety of ports. The only thing I can complain about is the battery life, which isn't great.

I recentely ordered the X1 Extreme v2 and I am rediculously excited. It's my first non-Apple laptop in 20 years.
Regolith is what pulled me away from MacOS. Very minimal, elegant, and super productive.
Re:Hands-on Scala Programming on Sunday April 19, 2020 @09:40PM (#22920389)
This looks great, looking forward to reading it.
Re:Show HN: PCBs with Full-Color Graphics on Wednesday July 17, 2019 @07:39PM (#20465175)
Looks amazing, well done.
Re:IPFS Project Roadmap on Friday April 12, 2019 @06:14PM (#19649536)
This is exciting. I would love to make it to the 1st IPFS Camp in June.
Re:Show HN: A game of Risk on Wednesday March 07, 2018 @07:31AM (#16535918)
The maps are randomly generated. Sometimes they are small, sometimes they are large.
Re:Show HN: A game of Risk on Wednesday March 07, 2018 @07:05AM (#16535847)
There's a link to the code from the game, but here it is for anyone who missed it:

https://github.com/nullobject/risk

Re:Show HN: A Tetris clone written in ES6 using React on Tuesday February 06, 2018 @12:50AM (#16314667)
Thanks!

It's nice that react is just a view library, so you are free to choose the rest of your stack to best suit your app (i.e. a game).

The only thing I would point out is that you should use immutable data structures, so that you don't re-render parts of your view unnecessarily. There are ways to handle this without immutable data structures (i.e. componentShouldUpdate), but it's more of a pain IMHO.

Re:Show HN: A Tetris clone written in ES6 using React on Tuesday February 06, 2018 @12:46AM (#16314661)
I removed that button, you can now click anywhere on the modal to dismiss it.
Re:Show HN: A Tetris clone written in ES6 using React on Monday February 05, 2018 @01:00AM (#16306919)
Sure. I'll have to read up on how that stuff works, but I'm keen to make my version as playable as possible.
Re:Show HN: A Tetris clone written in ES6 using React on Monday February 05, 2018 @12:48AM (#16306881)
I have a credits section on the help screen. I'd be happy to add anybody in there who contributes a patch.
Re:Show HN: A Tetris clone written in ES6 using React on Monday February 05, 2018 @12:37AM (#16306844)
Thanks, I'll create an issue for it.
Re:Show HN: A Tetris clone written in ES6 using React on Sunday February 04, 2018 @11:51PM (#16306680)
OMG, that video is nuts. I'm assuming that is being controlled by a human in real-time?
Re:Show HN: A Tetris clone written in ES6 using React on Sunday February 04, 2018 @09:54PM (#16306300)
Not yet, sorry. Maybe someone will send me a PR ;)
Re:Show HN: A Tetris clone written in ES6 using React on Sunday February 04, 2018 @07:19PM (#16305727)
There's a link to the code from the help and game over screens, but here it is for anyone who missed it: https://github.com/nullobject/tetris

Older »