Click here to Skip to main content
16,008,075 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: The Classic Pin
supercat912-May-08 16:57
supercat912-May-08 16:57 
GeneralRe: The Classic Pin
Gary R. Wheeler10-May-08 1:51
Gary R. Wheeler10-May-08 1:51 
JokeRe: The Classic Pin
Ed.Poore5-May-08 12:03
Ed.Poore5-May-08 12:03 
GeneralRe: The Classic Pin
CDP18025-May-08 21:46
CDP18025-May-08 21:46 
GeneralRe: The Classic Pin
MidwestLimey6-May-08 12:00
professionalMidwestLimey6-May-08 12:00 
GeneralRe: The Classic Pin
CDP18026-May-08 22:51
CDP18026-May-08 22:51 
GeneralRe: The Classic Pin
Gary R. Wheeler10-May-08 1:54
Gary R. Wheeler10-May-08 1:54 
GeneralRe: The Classic Pin
cp98766-May-08 19:57
cp98766-May-08 19:57 
Your user name brings back memories. One of my first jobs was a military radio using an 1802 mpu, I always considered myself lucky to be on the hardware side, the poor suckers programming it had to cope with an instruction set that didn't even have an in-built call subroutine instruction. You had to manually save the return address on the stack then load a new value to the PC. To return you popped the stack to the PC. I remember hours helping debug the thing with a logic analyser.

I hate to say it but I guess all 1802 code would probably classify as a horror today.

I think the main advantage was the fact that it was true CMOS.

note - to those brought up on C#: PC = program counter

Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: The Classic Pin
CDP18026-May-08 22:36
CDP18026-May-08 22:36 
GeneralRe: The Classic Pin
cp98766-May-08 22:55
cp98766-May-08 22:55 
GeneralRe: The Classic Pin
CDP18026-May-08 23:05
CDP18026-May-08 23:05 
GeneralRe: The Classic Pin
Gary R. Wheeler10-May-08 2:01
Gary R. Wheeler10-May-08 2:01 
GeneralRe: The Classic Pin
darkelv6-May-08 20:07
darkelv6-May-08 20:07 
GeneralRe: The Classic Pin
Nemanja Trifunovic8-May-08 4:27
Nemanja Trifunovic8-May-08 4:27 
GeneralRe: The Classic Pin
CDP18028-May-08 4:44
CDP18028-May-08 4:44 
GeneralRe: The Classic Pin
The Cake of Deceit8-May-08 23:59
The Cake of Deceit8-May-08 23:59 
GeneralRe: The Classic Pin
CDP18029-May-08 0:26
CDP18029-May-08 0:26 
GeneralReplace what? [modified] Pin
Brady Kelly25-Apr-08 0:12
Brady Kelly25-Apr-08 0:12 
GeneralRe: Replace what? Pin
PIEBALDconsult25-Apr-08 4:26
mvePIEBALDconsult25-Apr-08 4:26 
GeneralRe: Replace what? Pin
Brady Kelly25-Apr-08 4:54
Brady Kelly25-Apr-08 4:54 
GeneralRe: Replace what? Pin
A Wong25-Apr-08 5:01
A Wong25-Apr-08 5:01 
GeneralRe: Replace what? Pin
Chris Meech25-Apr-08 5:03
Chris Meech25-Apr-08 5:03 
GeneralRe: Replace what? Pin
Brady Kelly25-Apr-08 5:25
Brady Kelly25-Apr-08 5:25 
GeneralRe: Replace what? Pin
leppie25-Apr-08 5:47
leppie25-Apr-08 5:47 
GeneralRe: Replace what? Pin
PIEBALDconsult25-Apr-08 6:06
mvePIEBALDconsult25-Apr-08 6:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.