home *** CD-ROM | disk | FTP | other *** search
- e
- _ New save routine. Saves the start address, the end address
- _ and the execute address for the loader.
- _ Note that s "name",8,start,end
- _ transfers information from address start to end - 1. ie the byte at end
- _ address isn't given. therefore the loader has to cope with the fact that
- _ the length is truely end-start, not end-start+1.
-
- savevec = $332
- execadd = $fa
- textout = $ff7d
-
- _ Start of the code, initialise the save routine
-
- org $1300
- ¢ activ
- ¢ deactiv
- activ equ *
- ¥ #>saverout
- » savevec
- ¥ #<saverout
- » savevec+1
- £ textout
- db 13,"new save routine installed",13,0
- ¬
-
- _ Deactivate the save routine
-
- deactiv equ *
- ¥ #$4e
- » savevec
- ¥ #$f5
- » savevec+1
- £ textout
- db 13,"save routine deactivated",13,0
- ¬
-
- _ Here is the actual save routine
-
- saverout equ *
- ƒ $b7
- ê save1
- ¢ $f691
- save1 equ *
- ¥ #$61
- » $b9
- £ $f0cb
- £ $f5bc
- ¥ $ba
- £ $e33e
- ¥ $b9
- £ $e4d2
- ƒ #0
- £ $ed51
- £ $e503
- ¥ $ad
- £ $e503
- ¥ $ae
- £ $e503
- ¥ $af
- £ $e503
- ¥ execadd
- £ $e503
- ¥ execadd+1
- £ $e503
- ¢ $f586
-
-
-