You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
Check if your IP is banned
viewtopic.php?t=7286
The server is under a massive attack which started yesterday morning.
Unfortunately I am not at home on weekends to keep a eye on it all.
So if we go down, I will not be able to fix it until Sunday night. Fingers crossed we stay up!
I have also had to block and ban anything with HTTP1.x protocol.
So make sure you are using HTTP2 otherwise you will get banned!
~exxos~

Flashy Clock - Yet another DEV board

All the good stuff hardware and software wise for the Phoenix H5 series motherboards.
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

It seems I have a bad connection on the flashy CPU socket somewhere as it died totally :roll:

Now I have just gone for the proper H4 install... and now EMUTOS is working fine... so bizarrely this bad connection didn't effect TOS104, but EMUTOS it did :roll:


In any case, I can confirm it now seems to be behaving...

IMG_4982.JPG
IMG_4982.JPG (70.35 KiB) Viewed 3947 times

IMG_4983.JPG
IMG_4983.JPG (71.98 KiB) Viewed 3947 times

I hope EMUTOS will pickup the alt-ram later.
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

ALT-RAM seems to be acting strange :roll:

Its just

Code: Select all

SRAMEN = ADDR:[400000..BFFFFF] & !ST_AS;
.. It enables the flash and pulses DTACK.. But I no longer get video, I just get a totally white screen, but the machine is actually running because I can hear the floppy drive running, and if I press escape, it refreshes the floppy, so the machine is running but I just do not see any video at all.. Same results for TOS104, TOS206, EMUTOS :shrug:

EDIT:

This seems to be a problem with the blitter when alt-ram is enabled :stars:

EDIT2:

Blitter is ruled out. I have stripped flashy firmware right back to alt-ram only, and as soon as its enabled, the screen gets random red dots and no video again... I wonder if the CPU fault I had before is a bad address line on the PCB itself somewhere causing this :roll:

EDIT3:

Set the address range to ADDR:[800000..8FFFFF] and now machine boots up as normal, but EMUTOS doesn't find any altram :(
User avatar
Icky
Site Admin
Site Admin
Posts: 4117
Joined: Sun Sep 03, 2017 10:57 am
Location: UK

Re: Flashy Clock - Yet another DEV board

Post by Icky »

exxos wrote: Wed Apr 01, 2020 2:56 pm Now I have just gone for the proper H4 install...
That FCV6 looks like it was meant to be there :)
User avatar
PhilC
Moderator
Moderator
Posts: 6825
Joined: Fri Mar 23, 2018 8:22 pm

Re: Flashy Clock - Yet another DEV board

Post by PhilC »

Have a look at Agralunds topic about the TF534, I think he used the TT ram space to get it to work with Tos2.06 and Emutos
If it ain't broke, test it to Destruction.
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

PhilC wrote: Wed Apr 01, 2020 7:12 pm Have a look at Agralunds topic about the TF534, I think he used the TT ram space to get it to work with Tos2.06 and Emutos
I'm not getting that far.. I can't even get TOS to boot with alt-ram enabled :(

TT RAM is above 16MB mark, for 32bit CPU, not 16bit, so I doubt his work will help.
User avatar
PhilC
Moderator
Moderator
Posts: 6825
Joined: Fri Mar 23, 2018 8:22 pm

Re: Flashy Clock - Yet another DEV board

Post by PhilC »

No worries, I'm sure you'll sort it out
If it ain't broke, test it to Destruction.
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

I scoped out the SRAM enable.. and its triggering when the floppy is being accessed for starters.. that isn't right.. Its like its decoding the wrong address.. but if that was the case, ROM decoding and the other registers would fail.. ?!

So I wrote some new firmware to pulse the address lines one by one.. This will check the connection from the PLD via the 3.3V buffers to the ST...
IMG_4986.JPG
IMG_4986.JPG (92.26 KiB) Viewed 3884 times

But all 23 address lines are pulsing, so there is no bad addresses there... so I don't understand how this can happen unless the CUPL compiler is screwing up.. which I will look at next.

I also upped the SRAM range to 8MB - 10MB (it booted that way) and tried poking in STOS.. and I got 255 as expected.. So its not like the decoding is broken, as poking 5MB for example gives bus error as expected.

I even tried the diagnostic cart and did RAM test (4MB) just to be sure, and that works fine as well. Also checked all address pins are pulsing when the CPU is running.. and that seems fine also.
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

I changed the address to.. [800000..8FFFFF] Again ST boots fine.

I loaded STOS..

Tried $40000.. bus error.. so as expected.

Tried $8FFFF and got back as expected. So address decoding works fine...

IMG_4987.JPG
IMG_4987.JPG (39.98 KiB) Viewed 3874 times

andyet, if I go back to $400000 range.. the ST goes nuts, no video random corruption etc.. I don't get it :(

Incidentally, flashy only has code for decoding alt-ram currently, I am using a H4 board, so a "stock ST" setup.

EDIT:
Ignore the 128 above bus error, the value was there from peeking elsewhere, it really does give bus error on $400000...
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

I am starting to wonder if t he PLD is faulty or something.

I outputted the SRAM_OE to a IO pin.. it NEVER gets accessed (as expected). I had to disable the DTACK code to get it to boot...

BUT..

When I add the DTACK code in which triggers on SRAM_OE access as well (so should never trigger) it then actually does start accessing the address :WTF:

Code: Select all

S = ADDR:[400000..4FFFFF] & !ST_AS ;
SRAM_OE = !S;
ST_DTACK =  'B'0;
ST_DTACK.OE = S;
So something is screwing up in the PLD somewhere...

I know ST_DTACK code works as it decodes ROM etc and DTACK gets issued then in the full firmware.

So at this point I think the PLD might be faulty, I have emailed Atmel about this issue to see if something is screwing up in the compiled code somewhere, but I cannot see any problems anywhere..
User avatar
exxos
Site Admin
Site Admin
Posts: 26106
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Flashy Clock - Yet another DEV board

Post by exxos »

Some progress..

I moved ST_DTACK to a different output pin, in this case I re-used the ROM_OE line..

IMG_4989.JPG
IMG_4989.JPG (125.23 KiB) Viewed 3897 times


Now the ST boots and the address range works as expected...

IMG_4992.JPG
IMG_4992.JPG (18.56 KiB) Viewed 3897 times

So something amiss with the PLD somehow :roll:


EDIT:

SYSINFO showing something interesting...

IMG_4993.JPG
IMG_4993.JPG (59.84 KiB) Viewed 3892 times


EDIT2:

So I reset the machine and its gone back to white screen again :WTF: :stars:
Post Reply

Return to “PHOENIX ZONE”