Hi Everyone,
I'm working on an Halikan LA-20 laptop from the late 80's. It is a 286 laptop with 640KB ram and it shipped with only two 720K floppy drives and two 6V lead acid batteries. The heads on one of the drives are so worn out that it can only read the first 20 or so tracks on a disk.
I want to add a hard drive, or CF card, to the laptop.
The laptop exposes all the 16bit ISA signals on a custom 32 pin by 3 row connector inside the laptop. The footprint looks like it fits a 96pin "Euro Card" type connector. From one photo I found on the net about the LA-22, this was where the hard drive expansion card connected.
I build a 16bit "XTIDE" type card with a GAL, CF slot and flash chip and connected it to the ISA signals on the laptop.
Now the issues:
1. If I place CS1 of the drive at 0x1f0-0x1f7 then the floppy drive can't see a floppy disk in the drive(drive seeks during POST, but accessing it gives "Drive not ready"). This is odd, because the floppy interface sits at 0x3f0-0x3f7. I can map CS2 to the 0x3f0 range with no problem, but the moment I map anything into 0x1f0 range then the drive stops working. All I can think is that the BIOS does something odd when it finds a hard drive at 0x1f0, and remaps the floppy drive. It is possible that the LA-22 IDE card does something to the floppy controller, or replaces it?
2. The bios supports drive type 1 to 47, no custom types, and no info as to what each type represents.
This is where I need help with de-compiling the BIOS.
PS. I can map the CF card to 0x170/0x370 secondary IDE address and use XTIDE on the flash chip, and everything works, but I would like to figure out how to get the bios to recognize and support the CF card natively without an intrusive XTIDE menu(which also eats 1KB of ram!)...
PPS. The laptop has a ram expansion header, but the header only provides A0-A8, D0-D16 and some other odds and ends. No RAS/CAS signals. That must be provided by a missing PAL which, I guess, came with the ram expansion card. The PAL has access to A0,A19-A21, REFRESH, XBHE and SysClock. I have not been able to figure out how the timing for RAS/CAS must be generated, as A0-A8 must already supply the row/column data and the RAS/CAS signals must be synced with it.
I'm working on an Halikan LA-20 laptop from the late 80's. It is a 286 laptop with 640KB ram and it shipped with only two 720K floppy drives and two 6V lead acid batteries. The heads on one of the drives are so worn out that it can only read the first 20 or so tracks on a disk.
I want to add a hard drive, or CF card, to the laptop.
The laptop exposes all the 16bit ISA signals on a custom 32 pin by 3 row connector inside the laptop. The footprint looks like it fits a 96pin "Euro Card" type connector. From one photo I found on the net about the LA-22, this was where the hard drive expansion card connected.
I build a 16bit "XTIDE" type card with a GAL, CF slot and flash chip and connected it to the ISA signals on the laptop.
Now the issues:
1. If I place CS1 of the drive at 0x1f0-0x1f7 then the floppy drive can't see a floppy disk in the drive(drive seeks during POST, but accessing it gives "Drive not ready"). This is odd, because the floppy interface sits at 0x3f0-0x3f7. I can map CS2 to the 0x3f0 range with no problem, but the moment I map anything into 0x1f0 range then the drive stops working. All I can think is that the BIOS does something odd when it finds a hard drive at 0x1f0, and remaps the floppy drive. It is possible that the LA-22 IDE card does something to the floppy controller, or replaces it?
2. The bios supports drive type 1 to 47, no custom types, and no info as to what each type represents.
This is where I need help with de-compiling the BIOS.
PS. I can map the CF card to 0x170/0x370 secondary IDE address and use XTIDE on the flash chip, and everything works, but I would like to figure out how to get the bios to recognize and support the CF card natively without an intrusive XTIDE menu(which also eats 1KB of ram!)...
PPS. The laptop has a ram expansion header, but the header only provides A0-A8, D0-D16 and some other odds and ends. No RAS/CAS signals. That must be provided by a missing PAL which, I guess, came with the ram expansion card. The PAL has access to A0,A19-A21, REFRESH, XBHE and SysClock. I have not been able to figure out how the timing for RAS/CAS must be generated, as A0-A8 must already supply the row/column data and the RAS/CAS signals must be synced with it.
