Previous Thread
Next Thread
Print Thread
Page 21 of 47 1 2 19 20 21 22 23 46 47
Re: Requirements? [Re: rfka01] #95186 07/21/14 01:14 AM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
Didn't get this going as quickly as I thought, I forgot we didn't have comm or printer ports at all yet smile The disassemblies are definitely helpful though!

Re: Requirements? [Re: rfka01] #95191 07/22/14 01:43 AM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
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.
Re: Requirements? [Re: rfka01] #95198 07/23/14 10:44 AM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
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.
Re: Requirements? [Re: rfka01] #95199 07/23/14 11:44 AM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
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 smile

Re: Requirements? [Re: rfka01] #95204 07/24/14 02:42 AM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
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 smile

Last edited by R. Belmont; 07/24/14 03:05 AM.
Re: Requirements? [Re: rfka01] #95205 07/24/14 04:09 AM
Joined: Jan 2012
Posts: 806
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 806
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.

Re: Requirements? [Re: rfka01] #95206 07/24/14 04:16 AM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
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.
Re: Requirements? [Re: rfka01] #95208 07/24/14 02:10 PM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
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
shocked

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.
Re: Requirements? [Re: rfka01] #95209 07/24/14 02:51 PM
Joined: Mar 2001
Posts: 16,337
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,337
I'd like to think we're actually nearing the end of needing to read disassemblies for this system, but we'll see :-)

Re: Requirements? [Re: rfka01] #95282 07/31/14 07:22 PM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
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.7z

Comes 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.
Page 21 of 47 1 2 19 20 21 22 23 46 47

Who's Online Now
2 registered members (AJR, Stick), 23 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,693
Posts114,286
Members4,865
Most Online510
Aug 26th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3