View Single Post
Old 23 January 2006, 23:17   #8
BippyM
Global Moderator

BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 45
Posts: 9,246
Well from a book I have it gives the following code for getting into the supervisor mode

Code:
Execbase		=4		;Execbase address
SuperState		=-150		;Turn on function
	...
	move.l Execbase,a6	;Execbase address into a6
	jsr SuperState (a6)	;Turn on supervisor mode
	move.l d0,savesp		;Save return value
	...

savesp:blk.l 1			;Space for SP Value
I don't know if this is correct (I assume it is) but it's from a book on Amiga asm.
BippyM is offline  
 
Page generated in 0.04460 seconds with 11 queries