Better HN
topnewbestaskshowjobs
Log inSign up

noexani

70 karma · joined Oct 17, 2020 (6y ago) · 13 submissions

Submissions

1.

Why that Thunderbolt add-in card doesn't work properly in your unsupported PC(mattmillman.com ↗)

132 points · by noexani · 5y ago · 80 comments

2.

Why do we call these “DuPont” connectors?(mattmillman.com ↗)

3 points · by noexani · 5y ago · discuss

comment 6y ago · link · parent

It's really interesting to see that it could be done like that, but, that pseudo code you've given me would translate to a heck of a lot of MCS-48 instructions! 16-bit subtraction in particular is really expensive. Potentially not much gain there?

comment 6y ago · link · parent

You are correct. the conversion to Celsius * 10 is done earlier on, because it is easy to optionally perform this conversion, and it's easy to render the various formats (positive/negative/DP,no DP) of it to the 7-segment display banks.

Also worth considering that I originally had no interest in fahrenheit (I live in the UK). This was done as an extra later on. Didn't want to poo the original implementation taking fahrenheit straight off the sensors.

comment 6y ago · link · parent

I have done some MCS-48 reverse engineering too. It's really useful to look at the snippets in that manual as you'll find them in disassembled code, making it quite a bit easier to understand.

comment 6y ago · link · parent

I just calculated, there are 1800 possible Celsius values. in this application. That would be quite some lookup table.

comment 6y ago · link · parent

It depends on the application. In this case a lookup table would consume quite a bit more program memory (there isn't any spare), and the division routine is needed for other tasks, so it makes sense to use it for that conversion too. Speed is not an issue.

8.

MCS-48: The quest for 16-bit division on the 8-bit CPU which can’t divide(tech.mattmillman.com ↗)

39 points · by noexani · 6y ago · 29 comments

comment 6y ago · link · parent

Ah yes. Another one of those 'why the heck is my blog running so slow today' days.

It's on Hackernews (again) Are people ever going to get over this page?

comment 6y ago · link · parent

DS18B20 one-wire bus temperature sensor with old school LED 7 segment displays

11.

An Intel MCS-48 based dual temperature sensor(tech.mattmillman.com ↗)

6 points · by noexani · 6y ago · 3 comments