Click here to Skip to main content
15,910,083 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Have you ever... Pin
Mycroft Holmes27-Jun-18 14:08
professionalMycroft Holmes27-Jun-18 14:08 
GeneralRe: Have you ever... Pin
thatraja27-Jun-18 21:27
professionalthatraja27-Jun-18 21:27 
GeneralRe: Have you ever... Pin
Jacquers27-Jun-18 22:49
Jacquers27-Jun-18 22:49 
GeneralThe answer is: (C) All of the above Pin
CodeWraith27-Jun-18 0:56
CodeWraith27-Jun-18 0:56 
GeneralRe: The answer is: (C) All of the above Pin
glennPattonWork327-Jun-18 2:50
professionalglennPattonWork327-Jun-18 2:50 
GeneralRe: The answer is: (C) All of the above Pin
CodeWraith27-Jun-18 4:18
CodeWraith27-Jun-18 4:18 
GeneralRe: The answer is: (C) All of the above Pin
Mike Hankey27-Jun-18 4:01
mveMike Hankey27-Jun-18 4:01 
GeneralRe: The answer is: (C) All of the above Pin
CodeWraith27-Jun-18 4:50
CodeWraith27-Jun-18 4:50 
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. Smile | :)

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.

GeneralRe: The answer is: (C) All of the above Pin
Mike Hankey27-Jun-18 5:53
mveMike Hankey27-Jun-18 5:53 
GeneralRe: The answer is: (C) All of the above Pin
enhzflep27-Jun-18 15:19
enhzflep27-Jun-18 15:19 
GeneralBackup... Pin
Kornfeld Eliyahu Peter27-Jun-18 0:36
professionalKornfeld Eliyahu Peter27-Jun-18 0:36 
GeneralRe: Backup... Pin
den2k8827-Jun-18 0:53
professionalden2k8827-Jun-18 0:53 
GeneralRe: Backup... Pin
F-ES Sitecore27-Jun-18 0:53
professionalF-ES Sitecore27-Jun-18 0:53 
GeneralRe: Backup... Pin
Rage27-Jun-18 0:55
professionalRage27-Jun-18 0:55 
GeneralRe: Backup... Pin
OriginalGriff27-Jun-18 1:03
mveOriginalGriff27-Jun-18 1:03 
GeneralRe: Backup... Pin
Kornfeld Eliyahu Peter27-Jun-18 1:12
professionalKornfeld Eliyahu Peter27-Jun-18 1:12 
GeneralRe: Backup... Pin
OriginalGriff27-Jun-18 1:23
mveOriginalGriff27-Jun-18 1:23 
GeneralRe: Backup... Pin
jsc4227-Jun-18 2:12
professionaljsc4227-Jun-18 2:12 
GeneralRe: Backup... Pin
RichardGrimmer27-Jun-18 2:01
RichardGrimmer27-Jun-18 2:01 
GeneralRe: Backup... Pin
OriginalGriff27-Jun-18 2:11
mveOriginalGriff27-Jun-18 2:11 
GeneralRe: Backup... Pin
Rage27-Jun-18 3:42
professionalRage27-Jun-18 3:42 
GeneralRe: Backup... Pin
Mycroft Holmes27-Jun-18 14:16
professionalMycroft Holmes27-Jun-18 14:16 
GeneralRe: Backup... Pin
Hooga Booga28-Jun-18 3:13
Hooga Booga28-Jun-18 3:13 
GeneralRe: Backup... Pin
Robert/Not The Pirate28-Jun-18 5:40
professionalRobert/Not The Pirate28-Jun-18 5:40 
AnswerRe: Backup... Pin
RickZeeland27-Jun-18 1:12
mveRickZeeland27-Jun-18 1:12 

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.