|
well you'll be happy to know that due to my aversion to this:
}
}
}
}
}
I've been using Refactor->Extract Method
what a wonderful feature.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Beware!
I AM young... still...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
I was fortunate enough to convince my parents to get me a ZX Spectrum as a Christmas present in 84, when I was 13.
In those days, you could buy magazines that contained BASIC print outs for games.
I learnt to debug before learnt to program. You'd type in a program, run it and get some weird result - and have to try to figure out where I'd miskeyed something.
I started being able to see how the bug could manifest itself given the code I'd entered - something I believe I'm better at than most programmers.
From there it was a matter of modifying the programs, and mashing bits of them together into new ones.
|
|
|
|
|
I started as an operator in late '65 on LEO III systems. One of my colleagues taught me how to key in a program using the buttons on the front panel (WTF you may well ask). From there it was a small step to writing machine code and punching it up on paper tape or Hollerith cards, which could be self booted into the machine. I was hooked!
|
|
|
|
|
oldschool. back when men were men and the bugs were actual bugs.
i like it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
The single, most important event that motivated me to start coding was when I solderd together my first computer, flipped the power switch and the LED displays came to life and some more tinkering and I got cool 64x32 pixel video on an ancient black and white TV. Look here.[^]
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.
|
|
|
|
|
neat! i love projects like that but my hands aren't steady enough to solder well these days.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
The old one still works, but I want to build a new one over the winter. With 16 mb RAM.
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.
modified 9-Sep-19 10:34am.
|
|
|
|
|
I hope with that much ram you're going to upgrade its display a little. =)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
The old one will stay as it was, but the new one will get a few more modern things. How about using a SD card or USB stick as a hard disk? Or maybe I can find a PIC microcontroller that can generate a VGA signal. Nothing fancy, like 256 colors and 320 x 240 (more likely 160x120)
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.
|
|
|
|
|
these days I'm sure you can. What with all the hobbyist kits out there now. best of luck with this project.
i've been considering building a custom ECU for certain types of diesel engines - the kind used in schoolbusses and other medium industrial vehicles making them more suitable as boondocking vehicles, but i didn't have the property i needed to be able to work on one until maybe now. We'll see. It's a hail mary of an idea, but it's kind of cool if anything comes of it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Schoolbus? How boring
The Elf's CDP1802 was the first processor to fly into space. It was even believed that it was aboard the Viking and Voyager probes, but that's probably not true. That would be great when Voyager Six returns.
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.
|
|
|
|
|
the exciting part isn't so much the tech, but what can be done with it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Meant to ask how the Cosmic(?) Elf coming along?..
|
|
|
|
|
COSMAC
Quote: The RCA-CDP1802 is a byte-oriented central process-ing unit (CPU) employing the COSMAC architecture and utilizing complementary-symmetry MOS technology (CMOS).
RCA was a pioneer in early CMOS devices and sent quite a bit of it into space because of it's lower power consumption. Early on they even called CMOS COSMOS, which of course was a similar acronym.
glennPattonWork wrote: Meant to ask how the Cosmic(?) Elf coming along?.. It's my project for the winter and I want to replace lots of discrete logic with microcontrollers. AT least the tiny OS already works.
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.
|
|
|
|
|
Well when I heard of it I was thinking a microcontroller could get rid of the discrete logic (and the joys of static/dynamic hazards due to propagation delay) but wasn't too sure if you wanted to go that route...
|
|
|
|
|
The biggest problem at the moment is to find a PIC32 that still runs at 5V. I could run the CDP1802 at 3.6V, but then I would have to lower its clock frequency. I have had an underclocked 1802 for 40 years, now I want to overclock[^] it.
I intend a smaller PIC to conrol the 1802's clock frequency and operating mode. It also must communicate with a small serial ROM and copy it's contents into memory after a reset. This way I can keep the ROM out of the Elf's memory map and still have something to boot from. With a PIC in control of the clock frequency, I can do almost everything, from single stepping instructions to full blast or overclocking.
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.
|
|
|
|
|
Silly I know, but what about a potenial divider 5V to 3.6V, Vo = Vi ((R2)/(R1+R2)),
Vo = 5(3.3K /(3.3K+ 1.7)), Vo = 3.3v, I always go for slightly below max. There are some good level shifting IC's (Texas Instruments)...
|
|
|
|
|
It's usually done that way, but it's the data bus that I must hook up to the PIC. I need something like a dual level bus transciever.
Edit: I found this one[^], but I would need eight of them. The rest of the signals are inputs for the PIC and it's 5V tolerant.
Edit 2: Here we go[^]
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.
modified 9-Sep-19 13:37pm.
|
|
|
|
|
Coding was something my father could not understand, so he couldn't "take over", as it were. Plus the computer room in 7th grade was a great place to hide from the bullies.
|
|
|
|
|
Marc Clifton wrote: Plus the computer room in 7th grade was a great place to hide from the bullies.
The computer room is where the bullies knew they'd find me.
|
|
|
|
|
After my first exposure to "software" (in the 70's), I decided I could do it better.
Over 40 years later, that has not changed.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
fair enough. i just wanted to take things apart. build things with the pieces. make what suits my fancy, and explore making it do things it wasn't supposed to. that has not changed.
i'm a subverter and a deconstructionist when it comes to code i guess. Derrida's ghost is probably sideeying me right now.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
#realJSOP wrote: After my first exposure to "software" (in the 70's), I decided I could do it better.
Over 40 years later, that has not changed.
Over 40 years later, you look at your own code and decide you could still do it better. It's a no-win situation.
(ok, it doesn't take 40 years to get to that stage...)
|
|
|
|
|
My family got a TI/99-4a around '83 I think. I learned how to write BASIC programs to solve my HS algebra/geometry/trig homework problems. A few years later, I was at UNI as a CS major until I found a job that paid well, but interfered with lab hours so I quit school. 10 years later, I went back to school and finished. I got my first coding job before I graduated and I'm still here 20 years later!
"Go forth into the source" - Neal Morse
|
|
|
|