So still no further forward - kernel panics. Have been battling work and not the Atari world

. Just wanted to post an update.
Currently I have a new kernel config which I have called ATARITT-THUNDER it is set to activate the IDE-bus using the following in the kernel config:
Code: Select all
wdc0 at mainbus0 # IDE-bus
atabus* at wdc? channel ?
wd* at atabus? drive ?
However this is not the only thing that is needed as there are a few statements around IDE code in the wdc_mb.c file that need to allow the TT to use those branches.
From what I can gather these will allow the kernel to run this on the Atari TT with the Thunder board. There are some items I have questions around. Firstly does the Thunder card use the same address space as the Falcon:
Code: Select all
/* Falcon IDE register locations (base and offsets). */
#define FALCON_WD_BASE 0xfff00000
#define FALCON_WD_LEN 0x40
#define FALCON_WD_AUX 0x38
There is also some initiation with the Atari Falcon to turn on the IDE before its probed by tapping the ym2149. Which I believe Port A has a bit to turn the IDE on or off (handy doc on Atari hardware registers
http://deunstg.free.fr/sct1/hardware.htm)
When booting with the new kernel it panics initialising the wdc. I am still in the process of debugging to see where thesis failing.
On another note I am also compiling xfce4 for this NetBSD build so as to have a half decent desktop from twm. This has resulted in many packages that are not in the existing repositories for Atari NetBSD.