Subject: Phantom with NetBSD
To: None <port-atari@netbsd.org>
From: Junya Takeuchi <mail@jtake.net>
List: port-atari
Date: 02/18/2001 01:48:42
Hello!!

I used "Phantom FALCON 25Mhz Accel".
But,It is not recognized with NetBSD.

I asked to Creator,
His answer 
------------------------------------------------------------
I'm afraid that Falcon can't initialize at 50/25MHz mode after reset.
The problem is the blitter chip which doesn't work at higher speed 
than +-20Mhz and cause crash. For this reason the blitter must be 
disabled or at least halfclocked (as the P_TURBO does) before you 
enable the Phantom.

JT > Will I be able to use Phantom with NetBSD?

Yes. Next piece of asm code need to be aded into NetBSD boot code:

--------------------------------------------------------------
* this code enables the Phantom card
* works only in supervisor mode !

hw_f30_comp_div = $ffff8007
hw_KB_cont = $fffffc00

lea hw_KB_cont.w,a0 ; Switches card ON
move.b #3,(a0) ; via RST signal
move.b #214,(a0) ; on keyboard ACIA

bclr #2,hw_f30_comp_div.w ; Blitter clock = BUS clock/2
--------------------------------------------------------------

There is not the knowledge of programming in me
Please help me!!!

Regards,

Junya Takeuchi ( mail@jtake.net  ) http://jtake.net