On Sunday 02 April 2006 07:52 pm, Jim Battle wrote:
Chuck Guzis wrote:
Although I've written several CP/M CBIOSes,
I've never had to write one
on a system that used the Trap vector (0066h) for something essential.
Just curious--has anyone had to deal with servicing the Trap interrupt in
CP/M? How does one keep CP/M from clobbering the vector, since it's in
the FCB2 area?
Chuck, I have no answer for you, but it reminds me of a point I've
always wondered about. The CP/M service call to 0005 takes three bytes
-- why didn't they move it three bytes forward so that the one byte "RST
1" call could have been used instead?
I've always wondered about that one myself...
And why it was necessary to stuff parameters into registers, when it's easy
enough to put 'em on the stack, among other things.
--
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space, a critter that can
be killed but can't be tamed. --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James
M Dakin