|
by pmackinlay |
pmackinlay |
I've done some work on the Z80 SBC and believe I've found a plausible explanation for the 0x1800 firmware offset. According to the manual, all Z80 memory accesses pass through the address mapping logic, which maps logical to virtual addresses with a 2K page size granularity. The mapping logic supports 8 maps of 32 pages, and generates address bits 19..11 as well as RESB (resident bus vs Multibus access), MEM/IO and WP (write protect) signals. My theory is that during reset (and probably during interrupts) the mapping hardware is disabled, and its outputs are forced or float high. This has the effect that Z80 memory accesses during these cycles have address bits 15..11 driven high, and the other signals indicate resident bus, memory, read-only accesses (i.e. on-board EPROM). When combined with the initial mapping established by the firmware indicating EPROM #0 is decoded at 0xe000 on the resident bus, the result is the Z80 fetching logical address 0 from physical 0xf800, which is offset 0x1800 in the firmware.
Based on an initial implementation, it's now trying to access the floppy disk drive, so that's promising.
|
4 members like this |
|
|
by pmackinlay |
pmackinlay |
With lots of help from Xolod, I have the Z80 and 8086 boards up and starting to talk to each other. ![[Linked Image from i.imgur.com]](https://i.imgur.com/TdRMkAx.png) This is the current result of starting up with the CP/M-86 floppy in the drive, but the system doesn't do anything else after this - maybe it's waiting for a keyboard.
|
3 members like this |
|
|
by R. Belmont |
R. Belmont |
Interesting machine! Two 8086s and two Z80s and both the Intel and Zilog parts bins all over the place (plus a 6845 for video and a WD2797 FDC), and the technical manual seems to be OK. I don't have bandwidth right now to look at it, but maybe Duke or crazyc would be interested?
|
1 member likes this |
|
|
by Just Desserts |
Just Desserts |
Thanks. I'm a bit tired this evening, I've only had 3.5 hours of sleep, but I'll try to chip away at the driver over the course of the week, and then the weekend. There's a lot of hardware there, so getting everything "just right" might take a short while.
|
1 member likes this |
|
|
by Just Desserts |
Just Desserts |
By the way, the reason for the 8086 VDU card freaking out is because of my flawed initial implementation: I had ROM mapped at both F0000 and 30000 so that the boot vector could be fetched.
I've switched to using a read tap which unmaps F0000-FFFFF as soon as the boot vector is fetched, and the VDU card now appears to be functioning more or less normally.
When the first vsync interrupt comes in, the VDU card looks at F8000 (which is located in the half-meg upper window into the Multibus address space). If it's zero, it simply sits in a tight loop, reading the location.
Since I had the boot ROM mapped in that range, it was seeing a non-zero value, then completely freaking out due to what would apparently be invalid data in that range.
So yes, at this point I suspect what's needed to move forward is to get the Z80 up and running.
|
1 member likes this |
|
|
by Xolod |
Xolod |
I actually have a crazy idea. It's not that the Z80 boots from address 0x1800, it's that it fetches from there. in this case z80 ice will help. I am preparing a stand.
|
1 member likes this |
|
|
by Xolod |
Xolod |
Gentlemen, maybe in the new year who wants to continue working on LABTAM emulation? If there is interest in this, then I can try to draw a circuit on PCB.
|
1 member likes this |
|
|
by pmackinlay |
pmackinlay |
Xolod, we now have a slightly more functional Multibus emulation in MAME, which should give a good base to get this system working. Can you please share some information about the system configuration with the 3232 card installed? Does the 3232 board fit in the same card cage that was used for the Z80 and 8086 boards? Does it work standalone, or does it require the Z80 and/or 8086 cards installed to make a working system? The datasheet indicated it has a SCSI device, but I don't see one on the board picture - does your system have anything connected to those ribbon cable connectors on the top edge of the 3232 board and/or can you verify if either or both of them are SCSI?
Is your unit the "desk top unit" mentioned in the manual, or some other configuration? Which slot is the 3232 board installed in?
Do you have any NS32000 software for the 3232 board aside from the firmware?
|
1 member likes this |
|
0 members (),
19
guests, and
3
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,170
Posts120,090
Members5,039
|
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!
|
|
|
|