Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

backing up software

1 view
Skip to first unread message

cal...@ecsvax.uucp

unread,
Apr 30, 1984, 11:28:44 PM4/30/84
to
I am not familiar with the MAE assembler, but it probably has some facility for saving assembled programs to disk (as opposed to source code). If so, it may be possible to use the MAE to save itself to a new disk.

Otherwise, you might try using the SAVE routine from the Kernal.

Use SETLFS to set up the disk file, SETNAM to give it a name. You may or may not need to use the OPEN routine.
Put the starting address of the MAE in two zero-page locations, such as $FB and $FC. Put the first zero-page address in the accumulator. Then put the address just after the end of MAE into the X and Y registers (X is low, Y is high) and JSR SAVE.

James Calloway
News and Observer
Box 191
Raleigh, N.C. 27602
(919) 829-4570
{akgua,decvax}!mcnc!ecsvax!calway

0 new messages