Article View: alt.folklore.computers
Article #4318Re: Delete All Your Files
From: d... Don Stokes
Date: Sun, 02 Sep 1990 03:37
Date: Sun, 02 Sep 1990 03:37
32 lines
1951 bytes
1951 bytes
coms...@waikato.ac.nz (Alistair Veitch) writes:
> When I was at high school, we had an "assembler club" in which we learnt to
> write assembler programs on Apple ]['s. N'way the teacher who ran this club
> once wrote a program (can't remember what it was meant to do) that when run,
> proceeded to trash the floppy and crash the machine. The latter was typical,
> the former wasn't. A tad annoying when *everything* was on floppy. The error
> boiled down to a TXA (transfer X register to Accumulator) where there should
> have been a TAX - and do you think it was easy to find...
Swine! I was going to tell that one!
I thought it was TYA vs TAY, but I may be wrong. Mind you, it *was* a
disk sector editor that he was writing, so you kinda expect a bug in
such a thing to be fatal, especially if one tests with one's work disk
in the drive at the time. I thought at the time "What bad luck," but
now consider the situation a little along the lines of "Well, he did ask
for it."
I love the way AmigaDOS lets you wipe out all your work with a single
misplaced space. Consider:
delete #?.o
vs
delete #? .o
("#?" is a match-all wildcard, like "*"). I presume other OSs do the
same.
Don Stokes, ZL2TNM / / Home: d...@zl2tnm.gp.govt.nz
Systems Programmer /GP/ Government Printing Office Work: d...@gp.govt.nz
__________________/ /__Wellington, New Zealand_____or:_PSI%(5301)47000028::DON
Technical Details
Message-ID:
<FagVo1w162w@zl2tnm.gp.govt.nz>Path:
mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!gp.govt.nz!zl2tnm!donReferences:
<1416.26e0e8fc@waikato.ac.nz>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!gp.govt.nz!zl2tnm!don From: d...@zl2tnm.gp.govt.nz (Don Stokes) Newsgroups: alt.folklore.computers Subject: Re: Delete All Your Files Message-ID: <FagVo1w162w@zl2tnm.gp.govt.nz> Date: 2 Sep 90 03:37:37 GMT References: <1416.26e0e8fc@waikato.ac.nz> Organization: Me? Organised? Lines: 32 Posted: Sun Sep 2 04:37:37 1990 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit