|
Did last Christmas time. But then our PTO (Paid Time Off) is use it or lose it. The whole place generally shuts down during the last 2 weeks of the year.
|
|
|
|
|
Frequently. No traffic jams, no airport queues, plenty of friends nearby ... east, west, home's best!
98.4% of statistics are made up on the spot.
|
|
|
|
|
...
fallen in love? (Love…)
In love with someone
You shouldn't've fallen in love with
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
Does painting my roof qualify?
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
No way. That's work. I realized I have never take leave unless there is a reason. Be it a festival or travel goals or something else. This time, I am taking off to do absolutely nothing.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Other than vacations, not really, we have "free" days that we can take in a year; I think I've take a couple of them.
I would like to set myself up for a couple months sabbatical, but it would mean changing my lifestyle (save $$) for at least a year or two.
I'd rather be phishing!
|
|
|
|
|
I relax by writing code (i.e. working on my own[^] apps). Does that count?
/ravi
|
|
|
|
|
Isn't that called "retirement"?
|
|
|
|
|
I took 4 months off last year, came back to work for a rest.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I did many times for single day. And I do prefer watching movies on weekdays so taken leave many times just for movies.
|
|
|
|
|
That's exactly what I'm doing I'm almost a week into a month's leave. But it's actually also for catching up with DIY which is work, but it's not programming
|
|
|
|
|
First of all thanks for all the answers to my question regarting microcontrollers a few days ago.
I have ordered a small programmer/debugging device for PIC microcontrollers. I intend to use the 18FXXX family in DIP packages, at VCC = 5V and 10 MHz (internal) clock.
I can probably use them only for jobs where the timing is not chritical. Even at maximum clock frequency the controller can execute only two instructions per CPU clock pulse. That is not fast enough for address calculations/decoding or similar logic which has only two or three CPU clock pulses time. These things may fall to discrete logic again, unless I can get some suitable CPLDs.
These Lattice CPLDs[^] look good. I can put them in sockets, they run at 5V, they are very fast, there seem to be plenty of gates and pins for my purposes and they do not cost so much. Nice and well, but how do you program these things. You get some sort of IDE from the manufacturer, but I can't find any programming device. That must be some sort of insider joke, because even the data sheet does not mention how the CPLD is actually programmed.
Back to the PIC: I intend to use the PIC's parallel slave port. For one thing, that's a sinister sounding name, so I must use it. And then it's also really practical because it let's the microcontroller look like one of the many I/O devices on the bus. That fits well into my existing design for memory mapped I/O devices. Now there will be some microcontrollers among them and nothing else changes.
I have read that newer PICs have an improved parallel slave port. Instead of a single 8 bit input/output register it then has four, selected by two additional address lines. It would be really useful, but I have forgotten the name of this feature. Now I'm searching documentation like mad, but all I find is information on the oldschool single register PSP. Does anyone know the correct name? Maybe the 18FXXXX PICs did not have this feature yet. Or maybe I'm just looking for the wrong names.
P.S.: There is also the parallel master port, but there should only be one bus master (the CPU), otherwise bad things are bound to happen.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Hmmm, sounds good. The Lattice part I haven't played with, some of their other parts need a programmer/debugger that it not cheap (the Lattice ICE with it's very fragile socket header). I think you are right the PIC18F family don't have that feature which if I remember rightly was for graphics use I am pretty sure 24 family has it.
|
|
|
|
|
Found it. It's the Enhanced Parallel Slave Port (EPSP) and it's the buffered mode I was looking for. It's not suited for what I intended to do. The oldschool PSP will have to do, I guess. it's the only way I get input data onto the bus in time without having the CPU do WAIT states.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Once you start playing with them you'll never turn back.
Good luck on your journey grasshopper!
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
We shall see. At the moment I can't use them for anything time critical, even with a 42 year old CPU chugging along at 5 MHz. But at least I can use them very well for managing CPU operating modes, managing interrupts, reading the PS/2 ports or bootloading the BIOS from a tiny serial ROM after a reset. This way I can scratch the ROM from my memory map and have more paged RAM for the BIOS and the OS. Looks like we are headed for an 8 bit computer with up to 16 Mb RAM.
The problem is, that all those address calculations, all the registers to extend the address bus and all the decoding still has to be done with discrete logic. A microcontroller would be far too slow, even at the highest clock frequency. I hope I can go with the CPLD for that part.
At least all this also opens up some unusual options that will make the computer resemble the original Elf a little more. It was designed by the engineer who designed the CPU, after all.
By controlling the processor's operating modes with a microcontroller, I can add an interface to plug in a hex keyboard (or data switches), LED displays and control switches to operate it like the original Elf, using the LOAD mode to enter and display bytes from the keypad without any software inbetween. Plug out the hex keyboard and it will use a simple power on reset and automatically use the LOAD mode to quickly load the BIOs and then go to RUN mode.
The second thing would be to use the microcontroller's oscillator to provide the CPU's clock from its internal oscillator. Obviously we could then run the CPU at different speeds, but the best part would be to stop the clock completely. The CPU has no dynamic registers that could be corrupted and therefore has no minimum frequency. You can halt it completely that way and then resume as if nothing had happened. In the old days some people built a simple logic to let the clock run until the CPU signaled an instruction fetch cycle on the bus and then halt it. After pushing a button, it would resume until the next instruction was fetched. This way you could single step complete instructions, examine the state of the system as long as you liked and continue whenever you liked.
And yes, I'm saving pounds of discrete logic ICs and a lot of space on the boards.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
You'll always need discrete logic chips, I have a ton of them + sensors of all kinds.
But the brains that drives them is cheap, easy to work with and actually kinda fun.
Everyone has a photographic memory; some just don't have film. Steven Wright
|
|
|
|
|
|
A friend of my lost years of photos (kids mostly) for a disk failure...
He want's to do backup from now - on a single external drive... We all know that is not safer than a single internal disk...
I gave him 3 ideas:
1. RAID in the computer
2. RAID outside the computer (NAS)
3. Cloud (from Google Drive to ctera)
I would like ideas, that would save him money and burden too...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
NAS.
Cloud has four problems:
* Upload speed is much slower than download speed;
* Cost is periodical and much more frequent than the occasional replacement for a NAS;
* Data are "up in the air" on another one's server. No thanks;
* Conditions may vary unilaterally, see OneDrive.
GCS d-- s-/++ a- C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
|
|
NAS is good, but ... it's best when combined with a regimen of air-gapped USB backups. Two 4TB USB3 external HDDs will cost less than a single RAID NAS (think around £150 ~ £200 the pair) and provide much better protection from malware (Ransomware in particular just loves NAS storage).
Combine that with twice monthly disk images - alternating between the two drives - via AOMEI Backupper and he can't lose much data regardless of what happens.
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I see... And I can set AOMEI up to do that alone? Say one week to disk A and the other on Disk B? My friend is not so technical and I do not wish to visit him that frequently...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
No - the whole idea is that backups should be air-gapped, so having them permanently plugged in renders the backups themselves vulnerable. For example, if they are plugged into a PC and the PSU breaks down, it can do enormous damage to all connected devices (I've had HDD's and mice fried when PSUs fail and pump too many volts down th +5 and +12 lines).
Simplest way is label them: "1st of month" and "15th of month" and he just plugs in the appropriate drive to do the backup. (You can Schedule Windows Backup with AOMEI Backupper Software[^] - I don't know if it's in the free version, but it comes up on BitsDuJour quite often as a free, legal, and licenced download if it isn't).
Sent from my Amstrad PC 1640
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|