[comp.sys.atari.st] C[con|aux|prn]out redirection bugfix

kuebler@incas.UUCP (Uli Kuebler) (04/26/88)

For those who are interested in the bugfix of the bombing redirection of
Cconout, like it is done in the FATSPEED program I announced some days ago,
here is what I have changed:
( addresses are for german 86/2/6 roms; for german mega roms the address
  is fc983a. If the code has moved in your TOS version, you should find it
  by searching for the binary context )

old:
	movea.l	$8(a6),a0		* fc957e   206e 0008
!	move.w	$2(a0),(a7)		* fc9582   3ea8 0002
	move.l	#$1,-(a7)		* fc9586   2f3c 0000 0001
	move.w	$ffe2(a6),-(a7)		* fc958c   3f2e ffe2

fixed:
	movea.l	$8(a6),a0		* fc957e   206e 0008
!	addq.l	#3,a0			* fc9582   5688
!	move.l	a0,(a7)			* fc9584   2e88
	move.l	#$1,-(a7)		* fc9586   2f3c 0000 0001
	move.w	$ffe2(a6),-(a7)		* fc958c   3f2e ffe2

The patch fits in the space of the wrong code, so if someone has an eprom
burner, he can replace two roms by eproms and change the 4 bytes.
This fix is also included in the FATSPEED program, which copies parts of the
rom into ram space and applies some patches, especially a faster FAT lookup.
It will be posted soon, after it is confirmed working with international
roms, too.

	- Uli -

Uli Kuebler
University of Kaiserslautern
West-Germany
..!uunet!unido!uklirb!kuebler