Better HN
topnewbestaskshowjobs
Log inSign up

WillFlux

258 karma · joined Feb 20, 2020 (6y ago) · 65 submissions

Submissions

comment 1y ago · link · parent

Thanks. I want to keep the software simple while having proper support for the graphics and audio hardware. I already have some prototype software written is RISC-V asm. I’ll probably use lua as the first high-level language, as it has a small code base and runs well on memory-constrained systems.

I’m not yet sure what features the OS will offer; it partly depends on interrupts and whether I support virtual memory. But I’m not trying to create another UNIX; there are plenty of those already. However, the system will be modern, e.g. using UTF-8 encoding.

comment 1y ago · link · parent

I'm surprised by this. 1280x768 is an unusual resolution, what display timings are you using?

I've found 1024x768 and 1280x720 are both well supported. I tend to use these display timings: https://projectf.io/posts/video-timings-vga-720p-1080p/

comment 1y ago · link · parent

Hello, I'm the author of the Project F blog. I'd be happy to field any questions you have.

comment 2y ago · link · parent

RISC-V takes a different approach to branching, even compared to other RISC processors. There are no status registers AKA condition codes.

5.

RISC-V Assembler: Branch Set(projectf.io ↗)

3 points · by WillFlux · 2y ago · 2 comments

comment 2y ago · link · parent

Load-store architecture is a defining quality of RISC in general and RISC-V in particular. If you're used to a rich set of addressing modes in x86 or 68K, coding on RISC-V asm is a bit of a shock, but I'm definitely warming to it.

7.

RISC-V Assembler: Load Store(projectf.io ↗)

3 points · by WillFlux · 2y ago · 1 comment

comment 2y ago · link · parent

Burrell Smith and Andy Hertzfeld worked for Radius on the Full Page Display. How different would Apple have been if it had held onto more of the original Macintosh team in the mid-80s?

9.

Mac History 86.11 – Radius Full Page Display(systemtalk.org ↗)

1 points · by WillFlux · 2y ago · 1 comment

comment 2y ago · link · parent

68000 is, in many ways, the pinnacle of assembler for programming, but RISC-V is pretty fun, too. I hope RISC-V tempts a few more people to try asm programming (again).

11.

RISC-V Assembler: Arithmetic(projectf.io ↗)

72 points · by WillFlux · 2y ago · 47 comments

12.

Mac History 85.10 – Welcome to Macintosh(systemtalk.org ↗)

2 points · by WillFlux · 2y ago · discuss

13.

Mac History 85.11 – PageMaker and Atari ST(systemtalk.org ↗)

1 points · by WillFlux · 2y ago · discuss

14.

A Macintosh History 86.12(systemtalk.org ↗)

2 points · by WillFlux · 3y ago · discuss

15.

A Macintosh History 86.11(systemtalk.org ↗)

2 points · by WillFlux · 4y ago · discuss

comment 4y ago · link · parent

Intel might not even be making another generation of discrete consumer GPUs. See the numerous stories in the tech press over the last few months.

We have to hope AMD has the price, and just as importantly volume, to make the GPU market competitive.

comment 4y ago · link · parent

Thank you. I can't promise to get to the new design until early 2023 as I have many hardware designs I want to finish this year.

Once you've got a design working in Verilator, I strongly recommend running it on an actual board if you can: nothing beats the feeling of running on hardware :)

comment 4y ago · link · parent

If you'd link to a screenshot of what you see, that would be helpful.

I have noticed the font renders thinner on Windows.

I plan to look at the design over the winter: some things could definitely be improved.

comment 4y ago · link · parent

Oh, I’ll get to that :D

comment 4y ago · link · parent

The examples aren’t limited to VGA; I support four different outputs with these designs.

* VGA using a Pmod board (you could also create your own register ladder)

* DVI using the TI TFP410 on the DVI Pmod board

* DVI generated on FPGA with a Verilog TMDS encoder (no IC required)

* SDL simulation on a PC

DVI is a subset of HDMI, so works on modern TVs and monitors.

You can find the source on GitHub: https://github.com/projf/projf-explore/tree/main/graphics/fp...

comment 4y ago · link · parent

Even if you don’t have an FPGA, you can run these hardware designs on your PC with SDL and Verilator.

It’s really simple to set up: https://projectf.io/posts/verilog-sim-verilator-sdl/

comment 4y ago · link · parent

Thanks :)

The TI TFP410 chip is on the 1BitSquared DVI Pmod board: https://docs.icebreaker-fpga.org/hardware/pmod/dvi/

I've also got designs that generate DVI on the FPGA with TMDS encoding (no external IC required). I've never polished or written them up, but you can see an example here:

* https://github.com/projf/projf-explore/blob/main/graphics/fp...

* https://github.com/projf/projf-explore/blob/main/lib/display...

I'm using BRAM for framebuffers as it allows me to focus on the graphics rather than memory controllers and access. BRAM gives you dual ports and true random I/O; DRAM is much more complex.

comment 4y ago · link · parent

Hello, I'm the author of the Project F blog. I've almost finished a complete overhaul of this series: animation and double-buffering are coming in October.

I'd be happy to field any questions you have.

comment 4y ago · link · parent

Thank you for your thoughtful analysis. It’s worth emphasising how vital Desktop Publishing was to the Mac’s early success. Before that, sales had struggled after the initial excitement of 1984.

Aldus PageMaker was reviewed in Nov ‘85: https://systemtalk.org/post/macintosh-history-8511/#go-ahead....

MacUser had its first Desktop Publishing supplement in June 1986: https://systemtalk.org/post/macintosh-history-8606/

25.

A Macintosh History (1986)(systemtalk.org ↗)

66 points · by WillFlux · 4y ago · 17 comments

26.

On board the failed Rwanda deportation flight(independent.co.uk ↗)

2 points · by WillFlux · 4y ago · 2 comments

123