Thread: WHDLoad problem
View Single Post
Old 02 March 2018, 23:02   #37
move.l #$c0ff33,throat

StingRay's Avatar
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,187
;| Reads the calibration data if exists,
;| else inits the buffer with std vals
;| output:	d0.l = errorflag (0=ok)

	movem.l	d1/a0-a2,-(sp)
	lea	SSM_CalibData(pc),a2
	tst.l	(a2)
	bne.b	.hasCalib
	tst.b	SSM_SystemFriendly(pc)
	bne.b	.skipFileRead
	lea	SSM_CalibName(pc),a0
	bsr	SSM_ReadFile
	tst.l	d0
	bne.b	.skipFileRead
	move.l	a0,(a2)
	bra.b	.hasCalib
Straight from our replayer code.
StingRay is offline  
Page generated in 0.05427 seconds with 11 queries