View Single Post
Old 10 January 2010, 16:08   #26
a4k-oerx
Registered User
 
Join Date: Oct 2008
Location: EU
Posts: 111
Lightbulb MegaGames1 - NoReset.S

If you examine the sourcecodes of the MegaGames1-CD, you will find a small simple executable C/NoReboot and also the asm-sourcecode NoReboot.S - it disables the reset if you open the CD32. Find more details about that CD here:
http://eab.abime.net/showpost.php?p=612672&postcount=53

For the curious c0d3rz:
Code:
	INCDIR	MegaGamesSrc:LVO3.1_opt/
	INCLUDE	exec_lib.i
	INCLUDE	lowlevel_lib.i
	INCLUDE	graphics_lib.i

	INCDIR	MegaGamesSrc:Include3.1/
	INCLUDE	libraries/lowlevel.i	

	SECTION	NoReset,CODE

prg	move.l	$4.w,a6
	lea	lowlevelname(pc),a1
	moveq	#40,d0
	jsr	_LVOOpenLibrary(a6)
	tst.l	d0
	beq.b	lowlevel_error
	move.l	d0,a5

	jsr	_LVOForbid(a6)

	exg	a5,a6
	lea	my_tagList_take(pc),a1
	jsr	_LVOSystemControlA(a6)

	exg	a5,a6

	;move.l	$4.w,a6
	jsr	_LVOPermit(a6)

	;move.l	$4.w,a6
	;move.l	lowlevelbase(pc),a1
	move.l	a5,a1
	jsr	_LVOCloseLibrary(a6)
lowlevel_error

	moveq	#0,d0
	rts

lowlevelname
	dc.b	"lowlevel.library",0
	cnop	0,2

my_tagList_take
	dc.l	SCON_CDReboot,CDReboot_Off
	dc.l	TAG_DONE
a4k-oerx is offline  
 
Page generated in 0.03948 seconds with 10 queries