|
8 bits at a time, and this is still being used.
CLEAR_RAM:
CLRA
STA RAM_STRT
LDHX #RAM_STRT+1 ;CLEAR FIRST RAM AREA
LOOP_1:
MOV RAM_STRT,X+
CPHX #RAM_END
BLO LOOP_1
LDHX #NEXT_RAM ;CLEAR NEXT RAM AREA
LOOP_2:
MOV RAM_STRT,X+
CPHX #RAM_END_2
BLO LOOP_2
CLRH
CLRX
RTS
It was broke, so I fixed it.
|
|
|
|
|
Ah! I preferred the Z80 version:
LD HL,RAM_START
LD DE,RAM_START+1
LD BC,RAM_SIZE
XOR A
LD (HL),A
LDIR
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
I'd forgotten that!
My least favorite recalled unintentional delete was the accidental unplugging of the power supply on the 8080A trainer on the fifth to the last line of a 600 line step program to be entered.
It was broke, so I fixed it.
|
|
|
|
|
...followed by copious swearing!
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Manfred R. Bihy: "Looks as if OP is learning resistant."
|
|
|
|
|
You brought tears to my eyes (from pain!) reminding me when I had to do the hardware stuff.
Its the man, not the machine - Chuck Yeager
If at first you don't succeed... get a better publicist
If the final destination is death, then we should enjoy every second of the journey.
|
|
|
|
|
Complexity always goes up, but at the same time we are heading for a singularity and simplification.
Its the man, not the machine - Chuck Yeager
If at first you don't succeed... get a better publicist
If the final destination is death, then we should enjoy every second of the journey.
|
|
|
|
|
Does this comment mean anything?
Things are getting more complex, while simultaneously getting simpler? Seriously
|
|
|
|
|
Rob Grainger wrote: Does this comment mean anything?
A lame attempt at sounding profound might be the meaning hidden with the depths of third-eye Epiphanic insight.*
* Does this comment mean anything?**
** Does this comment mean anything ?***
*** How about this one ?
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "As far as we know, our computer has never had an undetected error." - Weisert | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Does this comment mean anything?
Things are getting more complex, while simultaneously getting simpler?
|
|
|
|
|
Sometimes to go faster you have to slow down...
Its the man, not the machine - Chuck Yeager
If at first you don't succeed... get a better publicist
If the final destination is death, then we should enjoy every second of the journey.
|
|
|
|
|
With so many APIs now available, programming seems to have become more about knowledge about APIs rather than writing actual code.
A blog I read sometime before - programming-isnt-fun-any-more[^]
|
|
|
|
|
...sooner or later, programming will be simpler to the point to be just the last step of design.
Someday, metadata based systems will "talk" between themselves to integrate and extend as required.
In the decades between, developers will continue passing from the "how" to the "what", raising the level of abstraction of the solutions they create.
Wake up! The Singularity is coming.
|
|
|
|
|
True. Whenever we discuss the future, we need to distinguish between one of several futures: what we wish would occur, what we thing could occur, and what will probably happen. In the short term, inertia will hold us on a narrow path of incremental evolution. When most of the control is exercised by certain big players, things will progress more and more slowly. Compare how much has changed between 1950 and 1985, and how small the subsequent changes have been in comparison.
Eventually, someone will step out of the forest and show the world the pointless drudgery of pouring gigabytes of literal code into thousands of unintelligent frameworks. They will analyze what the programmers and their programs are doing, together as a single unit, and realize that it is much like a person pulling a horse forward. However, when that day comes, it could amount to little if the market isn't ready for something new.
Larry Ness
|
|
|
|