[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dumping monitor listing to a file
On 1 Dec 1997 15:51:26 GMT, Pete <x@y.org> wrote:
>I want to do the following in a Basic program:
>
>]CALL -151
>PRINT CHR$(4);"OPEN FILE"
>PRINT CHR$(4);"WRITE FILE"
>
>(AT THIS TIME, THE COMPUTER WOULD BE IN MONITOR MODE, NOT BASIC)
>
>*5008LLLLLLLLLL (LIST,",",")
>
>PRINT CHR$(4);"CLOSE FILE"
I've tried a few different things but the only working solution I have
come up with so far is a small assembly language program. It uses a
monitor call to $F8D0 (INSTDSP) which disassembles a single
instruction. I've written a quick basic and assembly program to test
this and it does work but at present only disassembles a single
statement.
I know how to make it disassemble from a certain address to a certain
address but I just wanted to let you know that I do have a solution.
It just might take me a day or two to get you the finished program.
Good things come to those who wait. :-)
=== I've had enough SPAM. Cut the obvious from my address to email me. ===