dhau
Experienced Member
Hi folks, I am using an Intel Above Board PS/PC (PS = Parallel/Serial ports, PC = classic bus aka 8-bit ISA).
It is a multi-function board for XT-class computers. It has 1.5MB ram on it: 6x9 41256 DRAM chips. It can be used as either EMS or to backfill conventional RAM. It works fine, EMS passes Intel and Borland tests fine. I didn't test parallel, but mouse works fine on serial port.
The problem is there is no software to set/get date/time. The RTC chip is OKI m6242. It is easy to find the datasheet for it. It can work in either dual port (control/data) mode, or in 16 port mode where all the RTC registers have direct read write. I assume on PC Intel will use dual port setup.
Is there a way to somehow detect what those ports are? I know Plasma's Turbo XT BIOS somehow detects ports. I'm not great at reading assembly code. Can someone give me an idea how to detect working ports on a XT-class PC? Pseudo-code, Pascal, C, BASIC, anything would be greatly appreciated.
If I will find out the ports, I'll try to read and write to registers as per datasheet.
It is a multi-function board for XT-class computers. It has 1.5MB ram on it: 6x9 41256 DRAM chips. It can be used as either EMS or to backfill conventional RAM. It works fine, EMS passes Intel and Borland tests fine. I didn't test parallel, but mouse works fine on serial port.
The problem is there is no software to set/get date/time. The RTC chip is OKI m6242. It is easy to find the datasheet for it. It can work in either dual port (control/data) mode, or in 16 port mode where all the RTC registers have direct read write. I assume on PC Intel will use dual port setup.
Is there a way to somehow detect what those ports are? I know Plasma's Turbo XT BIOS somehow detects ports. I'm not great at reading assembly code. Can someone give me an idea how to detect working ports on a XT-class PC? Pseudo-code, Pascal, C, BASIC, anything would be greatly appreciated.
If I will find out the ports, I'll try to read and write to registers as per datasheet.