Previous Thread
Next Thread
Print Thread
Page 21 of 55 1 2 19 20 21 22 23 54 55
rfka01 #95186 07/21/14 01:14 AM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
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!

rfka01 #95191 07/22/14 01:43 AM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
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.
rfka01 #95198 07/23/14 10:44 AM
Joined: Apr 2012
Posts: 190
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 190
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.
rfka01 #95199 07/23/14 11:44 AM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
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

rfka01 #95204 07/24/14 02:42 AM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
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.
rfka01 #95205 07/24/14 04:09 AM
Joined: Jan 2012
Posts: 869
Likes: 6
C
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 869
Likes: 6
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.

rfka01 #95206 07/24/14 04:16 AM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
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.
rfka01 #95208 07/24/14 02:10 PM
Joined: Apr 2012
Posts: 190
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 190
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.
rfka01 #95209 07/24/14 02:51 PM
Joined: Mar 2001
Posts: 16,751
Likes: 29
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,751
Likes: 29
I'd like to think we're actually nearing the end of needing to read disassemblies for this system, but we'll see :-)

rfka01 #95282 07/31/14 07:22 PM
Joined: Apr 2012
Posts: 190
B
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 190
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 55 1 2 19 20 21 22 23 54 55

Link Copied to Clipboard
Who's Online Now
2 members (mixmaster, 1 invisible), 36 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,940
Posts117,526
Members4,994
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com