|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
It's merged now and roms are on messftp. No docs (yet -- they exist, just have to be scanned, I am waiting for that), but I suspect that code tests if IRQ is triggered after it's unmasked.
|
|
|
|
Joined: Aug 2015
Posts: 405
Senior Member
|
OP
Senior Member
Joined: Aug 2015
Posts: 405 |
Ok I got it up and running now and I got the self test to hang obviously since the emulation is not complete but is there an actual problem apart from that?
Selftests does torture the emulation and as it is optional you can just ignore it for now I think as interrupts seems to work just fine from what I can see when the firmware is communicating with the terminal.
Because I can
|
|
|
|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
Well, passing self test gives some confidence that emulation is done correctly  Interrupt line is not hooked up, so firmware must be doing polled i/o. Let's wait until the docs are scanned, anyway
|
|
|
|
Joined: Aug 2015
Posts: 405
Senior Member
|
OP
Senior Member
Joined: Aug 2015
Posts: 405 |
Sure, do you have a picture of the board already were we might see if there is a VME controller ASIC and a BIM or some other IRQ controller suspects?
Because I can
|
|
|
|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
more complete spec sheet + schematics -- https://yadi.sk/d/4jiyxn373P48Mnno BIM or ASIC, just a bunch of PLM (no dumps of those)
|
|
|
|
Joined: Aug 2015
Posts: 405
Senior Member
|
OP
Senior Member
Joined: Aug 2015
Posts: 405 |
Ok, you just need to check how to the IRQ is connected to the 68020 and make sure the driver provides the vector from the DUSCC. It looks like many interrupts can be polled in one go through the 74ALS240 on page 17, question is where the IRQ is routed and if it in fact interrupts the 68020 CPU at all, I may be that it causes a generic interrupt for the 68030 which reads the interrupt source and deals with it, in which case there is no vector from the DUSCC.
Because I can
|
|
|
|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
Some progress on the HCPU30 board ![[Linked Image from i.imgur.com]](https://i.imgur.com/o8hPB2I.png) It expects some yet unemulated behaviour -- writable RTC registers (Epson 62421 supports this), GPIO pins on the DUSCC (some configuration jumpers are connected there), also expects DP8473 to generate an interrupt after reset via DOR...
|
|
|
|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
Linux/m68k loads from floppy and starts doing its thing, but I have no idea how timer interrupt should be working, so it's stuck: ![[Linked Image from i.imgur.com]](https://i.imgur.com/HDpRUqA.png)
|
|
|
|
Joined: May 2012
Posts: 555 Likes: 1
Senior Member
|
Senior Member
Joined: May 2012
Posts: 555 Likes: 1 |
Added a hack for timer interrupt + some fixes to wd33c93, and now Linux boots from floppy (but serial interrupts are not working):
Calibrating delay loop.. ok - 2.58 BogoMIPS
Memory testing... done
Memory:
0x00000000 - 0x01000000 : 16Mb, 0 bit, 0 ns, used
14812k/16384k available (544k kernel code, 556k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Linux version 2.0.33 (buc@polynom.odu.neva.ru) (gcc version 2.7.2.2) #2 Thu Jan 8 16:03:36 MEST 1998
Ported by Dmitry K. Butskoy, 1996,
buc@citadel.stu.neva.ru
Starting kswapd v 1.4.2.2
M68K Serial driver version 1.01
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
Probing SCSI devices:
0: SEAGATE ST225N1.00 '4 , disk 32Mb (32768k), sector=512b (default partitions)
done
NO XLANC
SVR3.1/m68k binary compatibility code copyright 1996 Dm.K.Butskoy
BESTA basic hardware found: HCPU30-L/16 board
(mc68030/mc68882, 16M RAM, SCSI, 2 serials, floppy, centronix, clock,
VME: master ROR 32bit, data burst off, cacr=0x0919, dip switch=0x00, 8k stram)
Probing VME boards:
no hcww at 0xfc9fff00
no hcww at 0xfc9ffe00
no hcww at 0xfc9ffd00
no hcww at 0xfc9ffc00
no hcww at 0xfc9ffb00
no hcww at 0xfc9ffa00
no hcww at 0xfc9ff900
no hcww at 0xfc9ff800
no cww at 0xfc960000
no cww at 0xfc980000
no cww at 0xfc9a0000
no cww at 0xfc9c0000
no cww at 0xfc940000
no cww at 0xfc920000
no md10 at 0xfcffff00
no md10 at 0xfcfffe00
done
PPP: version 2.2.0 (dynamic channel allocation)
TCP compression code copyright 1989 Regents of the University of California
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
RAMDISK: Ext2 filesystem found at block 0
RAMDISK: Loading 4096 blocks into ram disk... done.
VFS: Mounted root (ext2 filesystem).
|
|
|
2 members (Yash Anand, 1 invisible),
24
guests, and
3
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,103
Posts119,274
Members5,019
|
Most Online890 Jan 17th, 2020
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|