Compaq Portable #45
Replies: 4 comments 1 reply
-
Thanks for doing it!
That's interesting about the floppy seek. The Compaq BIOS doesn't do any kind of seek test on POST right? I'll have to do some research and see if there's anything known about the Compaq floppy controller/drives that's different than the PC. In the meantime you could set In theory it's possible too that the PCSprint board running everything faster might push some of the floppy timing off a little bit. If it seeks and reads though, then it's all working so that is interesting. Could try commenting out the Yeah, noticed GLaTICK appears to be loading twice. Just inadvertently put it in the image twice or are you using a 4K ROM that's wrapping addresses? Curious, which RTC board do you have?
Yeah any BIOS logic that handles a mode switch just doesn't exist yet. Right now, all it's doing is making up for the differences in system config DIP switches and the Compaq video CRTC register values. So all that's on the TODO list!
Oh, because the Compaq beeps twice at boot and you just want it to sound familiar? That's a neat idea - we should add that!
Excellent! This is all great information to have and really appreciate all of the testing and help. If you run into anything else or even come across any specs or technical info about how it could work, please pass it along. 640KB |
Beta Was this translation helpful? Give feedback.
-
Another question - do you get the FDC error if you do a warm boot (ctrl-alt-del) or only cold? |
Beta Was this translation helpful? Give feedback.
-
Totally understand! Don't need to keep changing it around... am just thinking out loud about things that might give a clue before having to tear into code and all.
Huh... that is perplexing, especially if you are using another card and if the drive otherwise works properly in DOS. Does it boot normally from a floppy with either controller? The thing that causes that test to fail is if the FDC chip returns any non-success on a RECAL or SEEK operation (which are the effectively the same thing). I could try making a debug build that outputs what the FDC is returning and might give a clue. Just strange because any read operation will of course do the same exact seek operation and would return a failure before even trying to read, so something is somehow different between POST and DOS... hmm. The Line 7785 in e7f3697
That all makes sense - if I recall correctly the Compaq's unique video mode switching is all controller by special code the BIOS to support it. I feel like I've read something somewhere that explained it in more detail - perhaps even enough to work from - but where that was escapes me now. If you turn anything up first, send it along! |
Beta Was this translation helpful? Give feedback.
-
I tore it down and put the original BIOS (version C) back in. The floppy definitely does seek on boot with the Compaq BIOS. I'm going try to build an ISA ROM card that I can set to address F0000 so I can (hopefully) pull the BIOS ROMs off the board and have something easier to swap in and out. They really did put those ROMs in the worst possible place! I found this reference that discusses the VDU: https://www.seasip.info/VintagePC/compaq.html and this one that documents some INT 10H extensions that look similar to what the Compaq DOS "mode" command can do: https://pdos.csail.mit.edu/6.828/2008/readings/hardware/vgadoc/COMPAQ.TXT I'm well outside of the limits of knowledge here so not sure if this will help at all. |
Beta Was this translation helpful? Give feedback.
-
So I couldn't resist and I had to try GLaBIOS out on my Compaq Portable, probably better to discuss here than on a commit. Pain to get at the ROM sockets, but I'd say it's a success and pretty close to working.
My setup is the v1 board, with the original Compaq VDU, Compaq Floppy controller and an XTIDE. The two option roms are two copies of GLaTICK, but I don't actually have the RTC board in at the moment. It's also running a V20 with a PCSprint so this was booting at 7.16MHz.
The floppy error may be cosmetic, the drive seeks, is readable and bootable via the XTIDE menu though I didn't try to write anything.
It boots in the higher res 80 column mode and will switch via the mode command to regular 40 column CGA and back. I don't have anything except the mode command from Compaq DOS 3.31 to switch between the high and low frequency 80 column modes and that always stays in the MDA link mode no matter what commands I send. My guess is that an external CGA monitor won't work correctly, but I can try one out at another time.
Played a few games like Digger and Planet X3, ran some tests in CheckIt and didn't see anything out of the ordinary.
I didn't make any changes to commit 24dd103 beyond adding a extra beep when I was playing around in an emulate. The BIOS works better on real hardware than it does on 86box where the floppy doesn't work at all and, for some reason, digger remastered hangs?
Amazing work! I can't believe this is so close!
Beta Was this translation helpful? Give feedback.
All reactions