115 karma · joined March 31, 2011
As I undertood it, that tidbit comes from Sandisk and probably targets Windows user. I also believe Windows does (or did) use base 2 for file and disk sizes
That's exactly right, pretty cheap but has some limitations like you point out here:
> (Incidentally, if you remember BSD talk/otalk/ntalk/ytalk, you might remember that it divides the screen into two windows and avoids ever scrolling them by wrapping the conversation around from the top to the bottom of the window in a sort of similar way; I suspect that this is because some terminals, like the ADM3A, didn't support scrolling part of the screen, and redrawing half the screen at 2400 baud would have been slow.)
I remember using them around '96, although we had the luxury of 10mbit ethernet (over coax cables) and some vt100 compatible terminal emulators running on amber screen XT machines (on DOS). As you mention neither the adm3a nor the vt52 had partial scrolling. The vt100 did have that and a lot of extra bells and whistles
> But you're running on an FPGA where a lot of circuits can be clocked at 50 MHz, right? 20 ns.
I run them around 50MHz just for the usb serial port, but all the terminal logic works at half that, right around 25Mhz which happens to be the pixel clock at these resolutions, so you cant go any slower than that
> but that still leaves 1000 LUTs for the terminal logic, roughly equivalent to 1000 7400-series TTL chips
I don't think that's a fair equivalence, most 7400 series ttl chips would be several 4 inputs lut, even simple gates like 4x2 bits ORS and way more for things like shift registers and counters of which the terminals have plenty. I also had to deal with ps/2 decoding. On an ADM you can also save a lot of decoding logic taking into account the bit paired keyboard
From the article:
> There's no scrollbar, no handle, no "more" icon, nothing.
...
> I tried swiping it up - that's what I've learned most panels do in Android. But it did nothing. So I gave up.
...
> my thumb slipped transversely (...) The fucking thing was a horizontal slider!
I have a property in a very small town around (1000 inhabitants, about 130 kms from the city) and I think it's great: kids can play in the street, I can hear and see horses when I go for a run on dirt roads, nice people, slower living with a close contact with nature. But then again I can work from anywhere and name my price, I have an appartmt in the city and a car and can switch between them as I please.
If you are poor and want to move there it would probably be hell: no much opportunities for a formal job and no one to rely on if you are an outsider... Poor people are not stupid
I'll give you spreadsheets, but while it's not the "focus" you will very often see softcores and lots of state machines being used in FPGAs. Some things are just easier to reason about and write that way.
I prefer both control keys next to the space bar, then alt/meta, then super. I have a short spacebar and can do both control and alt with my thumbs. Others prefer an extra control where caps lock is. Others have special keyboards with thumb clusters. Some may use sticky modifiers. And there's even some people that actually like the "normal" layout(!).
Yes, I was talking from that perspective. Just to remember people that not everything has to be the best possible ever.
> The difference between a car made in 2015 and a car made in 1980 can easily be as dramatic as walking out with superficial injuries—or certain death.
I was replying tongue-in-cheek. This is certainly true, and I appreciate your concern
That's good advice in any vehicle :)
I think you are missing my point. I only say just because something is available doesn't meant you should use it. Life is not always about minimizing risk, or effort or maximizing productive output.
You can (should) do offsite backups, and even if you don't life doesn't end if you lose some of your work. Not everyone needs to rebuild their setup in milliseconds. If my house burned down my custom configuration would be the last of my worries don't know about you.
But, well. To each their own.
var x : u8 = 5;
var y = @as(u32, x);
OR var x : u8 = 5;
var y : u32 = x;
The cast is needed in the first case to force the inference y: u32, otherwise it would be y: u8Quickly you have to consider different kinds of numeral systems, bases, decimal separators (which may be locale dependant), precision, units, the difference in adding time (or dates), or money in different currencies (with and without different kind of taxes), etc, etc, etc.
Sure most of the times you can abstract yourself from all this, use sensible defaults, whatever, but that complexity is still there and sooner or later it will get you, even if you try to hide it under the rug...
I have this hardcoded to 9600bps but it should be able to do up to 115200 with no problem.
I really want to explore the space of modest processor with custom chips like Commodore & Atari did on their 8bit and 16 bits systems. I find it way more interesting/fun than the ultimately successful superscalar/big cache/big gpu that we ended up with, and fpgas make it very easy to test things out.
2. I will have to measure this and get back to you, but can't be too much, and negligible compared to the monitor in any case.
I can tell you that it's powered by a USB port and has onboard 3.3V & 1.2V regulators (300 mA & 150 mA max respectively). It doesn't currently implement a standby mode, but for reference the FPGA supports a standby mode which comsumes about 21uA according to the datasheet.
Given the HDL languages and cheap FPGAs we have today it is possible to do more with just FSMs and the icluded RAM/ROM, compared to using individual ttl/cmos parts and designing a PCB. I mean you could do a VT100 compatible if you really wanted, but doing it with an 8 bit micro is way easier to write & debug (and extend!).