Click here to Skip to main content
15,909,324 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: What have you do with four days of electricity off? Pin
S Douglas16-Dec-13 8:19
professionalS Douglas16-Dec-13 8:19 
GeneralMeanwhile, in Jordan Pin
Keith Barrow16-Dec-13 2:13
professionalKeith Barrow16-Dec-13 2:13 
GeneralRe: What have you do with four days of electricity off? Pin
Dan Neely16-Dec-13 2:34
Dan Neely16-Dec-13 2:34 
GeneralNot a good day at the fire academy Pin
Dan Neely16-Dec-13 0:53
Dan Neely16-Dec-13 0:53 
GeneralRe: Not a good day at the fire academy Pin
_Maxxx_16-Dec-13 0:54
professional_Maxxx_16-Dec-13 0:54 
GeneralRe: Not a good day at the fire academy Pin
DaveAuld16-Dec-13 1:54
professionalDaveAuld16-Dec-13 1:54 
GeneralRe: Not a good day at the fire academy Pin
enhzflep16-Dec-13 3:47
enhzflep16-Dec-13 3:47 
GeneralOld school programming hacks PinPopular
Dan Neely16-Dec-13 0:52
Dan Neely16-Dec-13 0:52 
Hit the source[^] for the long version (with 6809 ASM).

Summary for the lazy:

Quote:
We started with a tile-copying subroutine whose core was a hand-tuned, unrolled loop of machine instructions. Then, to buy a 70-percent speed-up:

1) We replaced this subroutine with a very special manifestation of insanity that commandeered both stack pointers and used pulls and pushes, and every single available register, to draw tiles upside down and horizontally broken.

2) Then we pre-processed the tiles so that drawing them would actually fix them.

3) But then – dammit! – interrupts that occurred during drawing could corrupt the reference tiles.

4) So, to protect the reference tiles, we corrupted the screen buffer instead.

5) But that corruption would be visible.

6) So we changed the tile-placement order to repair – on the fly – any corruption that might have occurred, before it could ever be displayed.

7) And it all worked!

Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius

Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt

GeneralRe: Old school programming hacks Pin
OriginalGriff16-Dec-13 1:27
mveOriginalGriff16-Dec-13 1:27 
GeneralRe: Old school programming hacks Pin
Dan Neely16-Dec-13 2:49
Dan Neely16-Dec-13 2:49 
GeneralRe: Old school programming hacks Pin
RogelioP / EX DE,HL16-Dec-13 2:03
professionalRogelioP / EX DE,HL16-Dec-13 2:03 
GeneralPeter O'Toole is Unwell Pin
Nagy Vilmos16-Dec-13 0:15
professionalNagy Vilmos16-Dec-13 0:15 
GeneralRe: Peter O'Toole is Unwell Pin
Johnny J.16-Dec-13 0:32
professionalJohnny J.16-Dec-13 0:32 
GeneralRe: Peter O'Toole is Unwell Pin
glennPattonWork316-Dec-13 1:52
professionalglennPattonWork316-Dec-13 1:52 
GeneralIf you only look at one e-Christmas Card Pin
Nagy Vilmos15-Dec-13 23:59
professionalNagy Vilmos15-Dec-13 23:59 
GeneralRe: If you only look at one e-Christmas Card Pin
OriginalGriff16-Dec-13 0:13
mveOriginalGriff16-Dec-13 0:13 
GeneralRe: If you only look at one e-Christmas Card Pin
Nagy Vilmos16-Dec-13 0:17
professionalNagy Vilmos16-Dec-13 0:17 
QuestionStrange IP address in my home network... part 2... Pin
Joan M15-Dec-13 22:53
professionalJoan M15-Dec-13 22:53 
GeneralRe: Strange IP address in my home network... part 2... Pin
DaveAuld16-Dec-13 0:57
professionalDaveAuld16-Dec-13 0:57 
GeneralRe: Strange IP address in my home network... part 2... Pin
Joan M16-Dec-13 1:29
professionalJoan M16-Dec-13 1:29 
AnswerRe: Strange IP address in my home network... part 2... Pin
Mark Parity16-Dec-13 1:47
Mark Parity16-Dec-13 1:47 
AnswerRe: Strange IP address in my home network... part 2... Pin
enhzflep16-Dec-13 3:53
enhzflep16-Dec-13 3:53 
GeneralElephanting Sky Pin
Dalek Dave15-Dec-13 22:47
professionalDalek Dave15-Dec-13 22:47 
GeneralRe: Elephanting Sky Pin
Nagy Vilmos15-Dec-13 22:54
professionalNagy Vilmos15-Dec-13 22:54 
GeneralRe: Elephanting Sky Pin
Mark Parity15-Dec-13 22:57
Mark Parity15-Dec-13 22:57 

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.