|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Didn't get this going as quickly as I thought, I forgot we didn't have comm or printer ports at all yet The disassemblies are definitely helpful though!
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
I've added COM and LPT ports and set them up to loopback properly (COM->COM, LPT->KBD, KBD->LPT). It's not working yet, so I'm diving into the ROM code to try and figure out what's actually going on.
The disassemblies unfortunately almost completely miss most of the failing diagnostic code (e.g. the interrupts test at ~F4C30) so I'm having to disassemble manually.
Last edited by R. Belmont; 07/22/14 02:07 AM.
|
|
|
|
Joined: Apr 2012
Posts: 193
Senior Member
|
Senior Member
Joined: Apr 2012
Posts: 193 |
Yeah, the disassemblies are not perfect. Interrupt handling is especially fuzzy (though F4C30 _should_ be somehow covered). Had hopes (in the past) that an Intel (or IDA) expert steps in and improves it. With IDA 5 Freeware you'd be able to improve the source AND follow the execution flow more easily (-> graph feature, jump back and forth etc.) Unfortunately, i am away this week and can't provide the most up-to-date IDB file necessary.
Last edited by Bavarese; 07/23/14 10:55 AM.
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
Not a problem. The 7201 printer port is now receiving the correct test byte sent from the keyboard 8251 but the test is showing as failed anyway so I'm trying to figure out why
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
We're now passing more of the tests, but MESS's existing 7201/z80dart emulation isn't lowering the interrupt line when it should, which means we get SYSTEM ERROR 2 (unsolicited interrupt). Working on it. ETA: email sent to Curt, I don't understand what the 7201 is meant to be doing exactly
Last edited by R. Belmont; 07/24/14 03:05 AM.
|
|
|
|
Joined: Jan 2012
Posts: 891 Likes: 17
Senior Member
|
Senior Member
Joined: Jan 2012
Posts: 891 Likes: 17 |
I bet that your problem is that you aren't reading the m1_r line to ack the interrupt. I think that it is a z80sio/dart thing that doesn't exist on the i8274/upd7201 but is currently required by the shared emulation.
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
The 8088 issues the 0x38 RETURN_FROM_INT command to the 7201 at the end of the ISR, but that causes z80_irq_reti() to hit the "Failed to find an interrupt to clear IE0 on" message and so the interrupt isn't cleared.
As far as I know, the alternate clear is only for the 8274, not the uPD7201, but I could be wrong.
Last edited by R. Belmont; 07/24/14 04:17 AM.
|
|
|
|
Joined: Apr 2012
Posts: 193
Senior Member
|
Senior Member
Joined: Apr 2012
Posts: 193 |
The old link has been updated to include 2 binary IDB files (suitable for IDA 5).
I'd be interested which parts of the HTML output were flaky A co-worker once advised me not to submit binary files to version control. So how can we start a collaborative effort?
Last edited by Bavarese; 07/24/14 02:23 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,215 Likes: 234
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,215 Likes: 234 |
I'd like to think we're actually nearing the end of needing to read disassemblies for this system, but we'll see :-)
|
|
|
|
Joined: Apr 2012
Posts: 193
Senior Member
|
Senior Member
Joined: Apr 2012
Posts: 193 |
To give something back to the community, i have delved into 'cpmtools' (LIBDISK). The original Win32 distribution was incredibly hard to use. List, verify, empty, extract (or populate) CP/M images for VT180 and Rainbow-100 (*.img / *.td0). https://dl.dropboxusercontent.com/u/37819653/CPMTOOLS_FOR_VT180_and_Rainbow100.7zComes with updated DISKDEFS. Win-32. GPL. ---------------- @R.Belmont: the "Design Maturity Test" disk contains 2 programs that could be interesting (disk boots, as does DIAG) - CDVT CMD : PC100-B COMM DIAGNOSTIC REV 1.0 June 17 1983 XDVT CMD : Communications Diagnostic Rev 3.0 June 10 1983 Thank you very much for your patience and commitment.
Last edited by Bavarese; 07/31/14 07:31 PM.
|
|
|
2 members (Kale, 1 invisible),
233
guests, and
1
robot. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,320
Posts121,923
Members5,074
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|