ml2bas.doc ml2bas is a basic program that will convert a section of memory into data statements and build these into a basic program. operation is simple, load and run ml2bas, it will ask you for 3 things: 1) starting m.l. location - the location in memory you wish ml2bas to start converting. 2) ending m.l. location - the ending address in memory. 3) begining basic line # - the line number you wish ml2bas to start building the subroutine at. ml2bas will then read through the memory you have selected and write data statements containing that memory. it will have also written, just before the data statements, a one line subroutine that will poke the data information back into place. all this will be written to basic begining at the line # you gave, and each line number will increase buy 1. (note: ml2bas itself starts at 59990. so dont give a line number that would run close to that.) once ml2bas has read and converted all the required memory, it will ask if you wish to delete the convery program itself. if you say 'yes' you will be left with only the generated subroutine and data statements in memory. you may then save this to disk or merge it into a larger basic program. (you will need a merge utility for this.) you may call ml2bas a number of times in one session to convert different sections of memory. in this case do not erase it at the end of the first session, and start ml2bas again with 'goto 59990', then give it your new sets of numbers, as long as the line numbers do not overwrite what is allready there, you can build up multiple subroutines. another use for ml2bas would be copying ml programs without a ml monitor load ml2bas, load the ml program (assuming it does not interfere with basic) then run ml2bas. you can then save the basic version of the ml program. the basic program can then be loaded or copied. NMNM. L. 2 bas (c) 1984 by chrisdos electric eraser subroutine (c) by deb! may be copied and distributed non-commercial only.
Amiga7878