Better HN
topnewbestaskshowjobs
Log inSign up

nullobject

260 karma · joined May 16, 2012 (14y ago) · 43 submissions

Hello. I'm a software developer living in Byron Bay, Australia.
Submissions

comment 5y ago · link · parent

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

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

Running 20.04 on X1E G2 without issues here.

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

I recentely ordered the X1 Extreme v2 and I am rediculously excited. It's my first non-Apple laptop in 20 years.

comment 6y ago · link · parent

Regolith is what pulled me away from MacOS. Very minimal, elegant, and super productive.

comment 6y ago · link · parent

This looks great, looking forward to reading it.

9.

Using SDRAM in FPGA Designs(joshbassett.info ↗)

127 points · by nullobject · 7y ago · 25 comments

10.

FPGA Design – What's on My Bookshelf?(joshbassett.info ↗)

2 points · by nullobject · 7y ago · discuss

comment 7y ago · link · parent

Looks amazing, well done.

12.

How to Write an Arcade Emulator(joshbassett.info ↗)

3 points · by nullobject · 7y ago · discuss

comment 7y ago · link · parent

This is exciting. I would love to make it to the 1st IPFS Camp in June.

14.

Real World Reactive Programming – Do We Need Flux?(joshbassett.info ↗)

2 points · by nullobject · 7y ago · discuss

comment 8y ago · link · parent

The maps are randomly generated. Sometimes they are small, sometimes they are large.

comment 8y ago · link · parent

There's a link to the code from the game, but here it is for anyone who missed it:

https://github.com/nullobject/risk

17.

Show HN: A game of Risk(risk.joshbassett.info ↗)

5 points · by nullobject · 8y ago · 7 comments

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

I removed that button, you can now click anywhere on the modal to dismiss it.

comment 8y ago · link · parent

Sure. I'll have to read up on how that stuff works, but I'm keen to make my version as playable as possible.

comment 8y ago · link · parent

I have a credits section on the help screen. I'd be happy to add anybody in there who contributes a patch.

comment 8y ago · link · parent

Thanks, I'll create an issue for it.

comment 8y ago · link · parent

OMG, that video is nuts. I'm assuming that is being controlled by a human in real-time?

comment 8y ago · link · parent

Not yet, sorry. Maybe someone will send me a PR ;)

comment 8y ago · link · parent

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

26.

Show HN: A Tetris clone written in ES6 using React(tetris.joshbassett.info ↗)

76 points · by nullobject · 8y ago · 26 comments

27.

Bulb: A Reactive Programming Library for JavaScript(joshbassett.info ↗)

2 points · by nullobject · 8y ago · discuss

28.

The utopian currency Bitcoin is a potentially catastrophic energy guzzler(theconversation.com ↗)

4 points · by nullobject · 8y ago · 3 comments

29.

A Tale of Performance Testing(theconversation.com ↗)

2 points · by nullobject · 9y ago · discuss

30.

Northern NSW is no stranger to floods, but this one was different(theconversation.com ↗)

1 points · by nullobject · 9y ago · discuss

12