RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » Sergey's Micro8088 + 8088 Bios v1.0 (Has anyone gotten this to work?)
Sergey's Micro8088 + 8088 Bios v1.0 [message #10598] Tue, 06 February 2024 19:34 Go to next message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
Has anyone gotten Sergey's Micro8088 to work with XT bios 1.0?

Specifically, are you seeing the keyboard die a few seconds after the video bios splash screen, with the keyboard clock going high and staying high?
Can you reboot the Micro8088 before that happens with ctrl-alt-delete, but afterwards (because the keyboard clock is high) nothing happens when you type?
Ditto the caps lock key/light?

The reason I'm asking is that
a. I saw a discussion between Sergey and Wayne a few years back talking about the keyboard code being broken in the bios for both XI and Micro8088 as of version 9.7. What was unclear was whether this was fixed.

b. Poking through the bios source code,(BIOS.asm line 817) I see a point where the keyboard clock is disabled (and thus pulled up by the pullups in the at2xtkb MCU for testing memory and so forth. In the Book 8088, it's re-enabled on line 1052, but in the Micro8088 code it doesn't seem to be.This is exactly the behavior I'm seeing on the keyboard clock line between the at2xtkb MCU and the FE2010 chip.

If you *have* gotten it to work, and I'm barking up the wrong tree, it means there's a problem with my build, and I'm suspicious that something bad has happened to one of my backplane's IRQ lines, but before I go tracing through all of those and/or downgrading the bios, I'd like to know if anyone else is seeing this kind of thing.

I haven't tried modifying the bios source code yet because I'm a complete newb at assembly, and it would take me quite some time to figure out how to compile the existing code, let alone modify it constructively.

Thanks.
-JRS

[Updated on: Tue, 06 February 2024 19:40]

Report message to a moderator

Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10604 is a reply to message #10598] Wed, 07 February 2024 16:56 Go to previous messageGo to next message
briano is currently offline  briano
Messages: 18
Registered: November 2015
Junior Member
Yes, I have had similar issues. Mine does work, but it is sporadic, and it definitely points towards the keyboard handling at start up. When it freezes the address on the bus shows it is stopping at the keyboard bios - but I haven't got the exact line written down anywhere. It's been a while since I last looked into this and I haven't the time these days. But I would say you are not imagining it - your description matches my experience.

If a fix presents itself I would be interested in hearing about it.

Brian
Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10605 is a reply to message #10604] Wed, 07 February 2024 18:39 Go to previous messageGo to next message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
Given that disabling the keyboard during memory testing would make it impossible to exit the memory test with esc, which the BIOS screen says you can do, my working hypothesis is that the call on line 817 to disable the keyboard was meant to be ifdeffed for the book-8088 only, which later re-enables it. It doesn't look that way in the github blame system, but as I said, it doesn't make sense to disable the keyboard during the ramtest loop. I'll poke at that when I have some time.
Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10623 is a reply to message #10605] Fri, 23 February 2024 18:04 Go to previous messageGo to next message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
As a quick followup, I rolled my Micro-8088 back to 8088Bios 0.95 and the keyboard works fine. It boots Dos5 from floppy without (much) trouble. (Video flakiness--I had to hack my video board--not Sergey's--to run in 8 bit mode.Wink No joy with my XTide board. It appears to have hardware problems, or is grossly misconfigured. I'm still planning to poke through the bios source and see what changed.
Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10628 is a reply to message #10623] Fri, 08 March 2024 23:28 Go to previous messageGo to next message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
Sorting the XTide board took a couple things: using the right IC for the bios helped a lot. Razz
Switched to a Paradise 8 bit vga card from back in the day (1988, in fact), and the video flakey problems went away.
Ethernet works, now that I've chipped the rust off my packet-driver setup skills.
0.95 bios doesn't seem to have a way to go into turbo mode, which is probably ok. I need to check the speed on my 8087 and make sure it won't smoke if I turn the clock up.

Still poking at the keyboard clock disable on the 1.0 version of the bios. I think what happened is that the reenable code was changed to work with the book8088 and ifdeffed, leaving it missing for the micro8088. I'll hack on it when next I have a block of time for retrocomputing.
Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10642 is a reply to message #10628] Fri, 29 March 2024 12:06 Go to previous messageGo to next message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
Okay, my keyboard clock set/clear idea was a red herring, based on me reading an ifndef as an ifdef.

However, I've gotten 1.0.0 to work on my Micro8088. In the config.inc for 8088_Bios-1.0.0, I commented out lines 99 and 100, which enable the realtime clock and probe for it. As a result, the speaker click o' doom never happens, and my keyboard clock never gets stuck high. Everything seems to work, pending more in-depth testing. As I don't have an RTC in this system, this isn't a huge sacrifice for me.

It's gratifying to discover that the fast "intel inside" beep is not, in fact, a function of the turbo setting, another red herring. (I did try commenting out the "has turbo" code in config.inc, but it didn't help in any way. Having four spare BIOS eeproms was a huge time saver).

I'm less clear *why* disabling RTC and RTC probing fixed my problem. Sergey assures me that bios 1.0.0 works fine in his Micro8088s, which negates the research I did here where it was implied the keyboard code was messed up. (Old discussion, obviously no longer relevant).

Some specific wierdnesses to my build:

I used the FE2010 chipset instead of the FE2010A. Sergey's documentation says it should work, and it does in every other respect I've been able to test. (I haven't been able to test turbo, as my 8087 is a 5mhz part).

I have the 14.31818 MHz crystal instead of the faster one. The jumper is set open, which I believe is correct. I'm getting performance consistent with a 4.77mhz pc.

At this point, I'm going to shrug and say "AT RTCs are not compatible with *my* hardware, reason unknown." I may try replacing the chipset at some point to see if I can fix that. (Might also try a faster 8087 so I can turbo with the cool kids. Smile

Hope this helps someone.
-JRS

edits: No, a period followed by a right-paren is NOT a wink, BBCODE. Winks are semicolon right-paren. Sheesh.

[Updated on: Fri, 29 March 2024 12:08]

Report message to a moderator

Re: Sergey's Micro8088 + 8088 Bios v1.0 [message #10827 is a reply to message #10642] Tue, 23 July 2024 21:50 Go to previous message
jrs is currently offline  jrs
Messages: 19
Registered: November 2015
Junior Member
To follow up:

I switched to the Proton chipset and the faster clock, and the stock bios works fine on my system without modification. I also switched to a v20/8087 at 10mhz.

I sent the old chipset to Sergey in exchange for an RTC board so he can test it at more length. It *looks* like it was a chipset problem. Apparently, I'm the only person who's built the micro_8088 with the FE2010 (not the FE2010A). I'll be interested to hear the results of his testing.

Upshot: if you have this problem, and you have the FE2010 (not A) chipset, my bios hack might get you going.
Previous Topic: Has anyone reverse engineered SP0256A external serial speech ROM
Next Topic: Netlist auditing question


Current Time: Sat Feb 08 21:46:34 PST 2025

Total time taken to generate the page: 0.00738 seconds