[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printing C800 ROM
Tim Thomson <usenet@tui.dhs.org> wrote:
> Hi,
>
> I have a card in slot 7, and I want to print it's C800 ROM listing from
> the monitor. I have a suspition that the ROM is bank switched itself, but
> that is another matter. I can go from the monitor:
> CFFF:0 to get rid of any other roms, then
> C700:0 to bring the Slot 7 rom to C800.
I see you've already solved the problem by using the M command to copy
the firmware elsewhere. If you wanted to be really cute and avoid
having incorrect branch addresses, you could write a simple text
capturing output routine and hook it into the output vectors, then do
the listing, and dump the resulting area of memory to the printer. :-)
(This is even easier under ProDOS/BASIC.SYSTEM, since you can use the
PR#A$nnnn command to redirect output to your routine, then PR#0 to
restore it to the screen only.)
By the way: to switch the $C800 space on and off, you should be using
read instructions, not write instructions (drop the ":0" from those
commands). It probably doesn't matter for 99% of cards, but there might
be something out there which doesn't like being written in either of
these locations.
--
David Empson
dempson@actrix.gen.nz
Snail mail: P O Box 27-103, Wellington, New Zealand