On Feb 28, 2013, at 10:13 PM, Fred Cisin wrote:
On Thu, 28 Feb 2013, David Riley wrote:
Whether you could run a script from autoexec.bat
or config.sys to
execute expansion ROM code after DOS boot is another question, but
I have no idea how well that would work after the BIOS has already
handed over control to the OS (I suspect not so well, but I don't
know for sure). You can certainly try jumping to the code location
in DEBUG or the like.
Trivial nit (learned the hard (usual) way):
It is probably a CALL, not a JMP. At the end of the code, it probably
does a RETF (pop values off of the stack for CS and IP)
Well, yes. I was being imprecise. Not such a trivial nit
when it comes to making it work!
I always liked the fact that when you told the Apple II
monitor to "go" to a location, it meant a call and not
a jump. I'm not sure why that came as a surprise to
me, but I've certainly used plenty of modern bootloaders
that don't do that.
- Dave