News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Duke

Amstrad CPC WiFi

Started by Duke, 07:36, 07 May 16

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

adolfo.pa

Quote from: Duke on 19:37, 06 February 18
Good, atleast means there's not a short directly on the board that causes the black screen :)

You can try this firmware:
www.spinpoint.org/cpc/m4diag5.zip

Unpack it to root of the microSD, put the switch back to EXP and start the CPC.

It should generate report.txt in the microSD, paste the contents here.

Well, at least some (almost) good news :-)

Also, not sure if it is relevant, but when booting up the M4 with those files in the SD, the green led stayed on for the whole time. I waited for a while, assuming it was updating the firmware, but in the end I had to turn it off with the green led still on.

Here are the contents of the report.txt file (for some reason I cannot attach the file):

ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF 
ESP Flash SR: 0xFF

Duke

@adolfo.pa

Looks like the ESP flash has gone bad, sorry.

Please ship it back to me, so I can replace it.

adolfo.pa

Well, at least it can be repaired, so there's still hope :-)

Thanks a lot for your help Duke.

SOS

Hi Duke,
please think about, if you want to reset
#A700   "Default Drive"
#A701   "Default User"
#A702   "Active Drive"
When you're coming from the floppys - When you type in |SD.
E.g. |DISC, |D , |SD  => #A700 Shows "03" ->D-Drive is active   (no differences, when you type in |A after the |SD-Command)

arnoldemu

Quote from: SOS on 09:03, 12 February 18
Hi Duke,
please think about, if you want to reset
#A700   "Default Drive"
#A701   "Default User"
#A702   "Active Drive"
When you're coming from the floppys - When you type in |SD.
E.g. |DISC, |D , |SD  => #A700 Shows "03" ->D-Drive is active   (no differences, when you type in |A after the |SD-Command)

@Duke:

Please look at the 16-bit value at be7d to find amsdos address.


ld hl,(&be7d)
xor
ld (hl),a ;; set default drive to 0.


:)

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Duke

Quote from: SOS on 09:03, 12 February 18
#A700   "Default Drive"
#A701   "Default User"
#A702   "Active Drive"
When you're coming from the floppys - When you type in |SD.
E.g. |DISC, |D , |SD  => #A700 Shows "03" ->D-Drive is active   (no differences, when you type in |A after the |SD-Command)
Ok,I can add that, if it's any use.
|A & |B when in "SD mode" (|SD) does nothing, it's only passed to AMSDOS when in disc mode via "|disc".

So set to:
0 when |A
1 when |B
2? when |SD
0 when |DISC, if >=2 otherwise unchange (0 or 1).
Correct ?


Quote from: arnoldemu on 10:07, 12 February 18

ld hl,(&be7d)
xor
ld (hl),a ;; set default drive to 0.


Yes, probably should check if the pointer is zero aswell, in case it's a 464 without disc rom :)



SOS

Quote from: Duke on 10:41, 12 February 18
Ok,I can add that, if it's any use.

It's a unexpectedly behavior, so it may confuses Software (like YANCC :( , but i make a Workaround)

Quote from: Duke on 10:41, 12 February 18
|A & |B when in "SD mode" (|SD) does nothing, it's only passed to AMSDOS when in disc mode via "|disc".

So set to:
0 when |A
1 when |B
2? when |SD
0 when |DISC, if >=2 otherwise unchange (0 or 1).
Correct ?
No  ;)

0=>Drive A active,
1=>Drive B active,
2=>Drive C active,
3=>Drive D active,
4=>Drive E active,
.....
So, after the |SD, M4 works on A-Drive... (without |A)  (so a "0" is expected)
Maybe it's easierer to clear all three variables, when you make a |SD


Quote from: Duke on 10:41, 12 February 18
Yes, probably should check if the pointer is zero aswell, in case it's a 464 without disc rom :)
Yes, or e.g. if you use a 6128 without AMSDOS.

Duke

Quote from: SOS on 12:00, 12 February 18

So, after the |SD, M4 works on A-Drive... (without |A)  (so a "0" is expected)
Maybe it's easierer to clear all three variables, when you make a |SD

Ok :) no problem.

Only annoying may be this:
|disc
|b
|sd
|disc
Now it's drive A rather than B when you return to disc... Anyway maybe I will store the previous value and restore on |disc.

arnoldemu

Quote from: Duke on 10:41, 12 February 18
Yes, probably should check if the pointer is zero aswell, in case it's a 464 without disc rom :)
I would prefer you to check if |DISC existed, then look at the data.

As part of my viewer program I'll make a document for best practices to describe how to make programs work with other DOS. :)
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

GUNHED

Arnie is right, please use vectors to find the current data (drive # etc.) location. It's bad to use defined addresses. Because the existence of other ROMs will change them.  :)
http://futureos.de --> Get the revolutionary FutureOS (Update: 2023.11.30)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Updated: 2021.12.26)

remax

Trying my M4 on my 6128 Plus.


Is it a normal behaviour that setting the M4 rom on rom 7 make it reset in a loop, like on a stock 6128 ?


If yes, is there an equivalent to the patched lower rom on the plus ?
Brain Radioactivity

Duke

Quote from: GUNHED on 15:26, 12 February 18
Arnie is right, please use vectors to find the current data (drive # etc.) location. It's bad to use defined addresses. Because the existence of other ROMs will change them.  :)
I agree. Don't remember using hardcoded amsdos addresses in M4 rom, as it's independent of AMSDOS.. but I could remember wrong :)

Quote from: remax on 18:26, 12 February 18
Trying my M4 on my 6128 Plus.


Is it a normal behaviour that setting the M4 rom on rom 7 make it reset in a loop, like on a stock 6128 ?
No, it's not normal. What firmware version are you using?



remax



Quote from: Duke on 20:15, 12 February 18
No, it's not normal. What firmware version are you using?

From memory, but i'm quite sure, i think it is 2.0.3

You think it would be better to test beta ?

Envoyé de mon SM-G930F en utilisant Tapatalk

Brain Radioactivity

Duke

Quote from: remax on 21:47, 12 February 18
From memory, but i'm quite sure, i think it is 2.0.3

You think it would be better to test beta ?
I would check cable and connectors. It seems it's not seeing romdis.
The v2.0.4 beta 8 have support for cartridge emulation, so makes sense for a CPC+.

remax

Quote from: Duke on 08:33, 13 February 18
I would check cable and connectors.

I'll do but the M4 it seems to work correctly when set on slot 6, so would be a bit strange that it's a cable problem, no ?

Quote
The v2.0.4 beta 8 have support for cartridge emulation, so makes sense for a CPC+.


Ok i'll try an upgrade
Brain Radioactivity

Duke

Quote from: remax on 09:10, 13 February 18
I'll do but the M4 it seems to work correctly when set on slot 6, so would be a bit strange that it's a cable problem, no ?
The difference between using rom 6 and 7 is that a ROMDIS signal is needed for rom 7 to disable the one from the cartridge.
What catridge are you using btw. ? the original with burning rubber and basic?

remax

Quote from: Duke on 09:21, 13 February 18
The difference between using rom 6 and 7 is that a ROMDIS signal is needed for rom 7 to disable the one from the cartridge.
What catridge are you using btw. ? the original with burning rubber and basic?


I use the C4CPC, i tried with both the standard Burning Rubber/Basic and dragon's latest OS Cartridge
Brain Radioactivity

Duke

Quote from: remax on 09:46, 13 February 18

I use the C4CPC, i tried with both the standard Burning Rubber/Basic and dragon's latest OS Cartridge
Ok, please try with the original Burning Rubber/Basic cartridge if you have it instead of C4CPC. I remember there was some issue long ago, that should've been fixed, but maybe I brought it back.
Feedback appreciated.

remax

Sadly i don't have a standard cartridge.


I may look for one if needed.
Brain Radioactivity

Duke

Quote from: remax on 17:18, 13 February 18
Sadly i don't have a standard cartridge.
Do you have any original game cartridges then?

You can use those too, just upload lowerrom and basic to M4.

remax

#1970
Quote from: Duke on 11:24, 14 February 18
Do you have any original game cartridges then?


Yes, a Burnin' Rubber from GX4000 (without the OS)

Quote from: Duke on 11:24, 14 February 18
You can use those too, just upload lowerrom and basic to M4.


Yeah seems to work, i also updated the card to latest beta, but i think that's not what fixed the problem.


So, if i understand the txt, i have to choose between a better compatibility (slot 7) and simultaneous access from SD and disc (slot 6) ?

I guess it's because none did a patched lower rom like on the 6128.

Well not a big deal as the Plus won't be my primary target for playing game except 6128+ exclusives (like Rick 128+), so i guess i'll stick on slot 6.


EDIT : Slot 7 still works badly with C4CPC.
More testing : I have lots of problem trying to use both at the same time. Even with the C4CPC configurated to automatically launch red label burnin rubber (so in theory same config that with my other cartridge), i have roling reset on slot 7, and problems like protext garbled text on slot 6.
Brain Radioactivity

Duke

Quote from: remax on 16:34, 15 February 18
So, if i understand the txt, i have to choose between a better compatibility (slot 7) and simultaneous access from SD and disc (slot 6) ?

I guess it's because none did a patched lower rom like on the 6128.
It would be the same with the patched lowerrom I did.
However you can upload AMSDOS to slot 8 and still have simultaneous access while M4 is rom 7 for better compatiblity.

Quote
EDIT : Slot 7 still works badly with C4CPC.
More testing : I have lots of problem trying to use both at the same time. Even with the C4CPC configurated to automatically launch red label burnin rubber (so in theory same config that with my other cartridge), i have roling reset on slot 7, and problems like protext garbled text on slot 6.
Yes, there is some unresolved issues. I haven't got a C4CPC (yet) so I don't have first hand experinces.
You can try my experimental firmware http://www.spinpoint.org/cpc/M4FIRM_v204exp.zip and see if it changes anything (it has faster assertion of ROMDIS and some other timings *should* be slightly better).

remax

Quote from: Duke on 20:20, 15 February 18
It would be the same with the patched lowerrom I did.
However you can upload AMSDOS to slot 8 and still have simultaneous access while M4 is rom 7 for better compatiblity.
Yes, there is some unresolved issues. I haven't got a C4CPC (yet) so I don't have first hand experinces.
You can try my experimental firmware http://www.spinpoint.org/cpc/M4FIRM_v204exp.zip and see if it changes anything (it has faster assertion of ROMDIS and some other timings *should* be slightly better).


Sadly, it's far far worse...


When gerald will got a new batch of C4CPC, maybe we can mount a funding to get you a C4CPC ;)
Brain Radioactivity

Vyper68

Hi
Sorry I'm being thick but can you transfer a .dsk image held on the SD card to a real 3" disk?
How to guide if possible I am going round in circles my 3" and Gotek are not playing so I thought I would use the SD card.
Paul Woakes - Genius & Programmer

Thank you for Mercenary Paul

Duke

Quote from: remax on 16:58, 16 February 18

Sadly, it's far far worse...


When gerald will got a new batch of C4CPC, maybe we can mount a funding to get you a C4CPC ;)
Too bad. If everything goes as planned I will hook up the LA tomorrow, and do some thorough checking of my timings (if only I find my second pod for the LA :) ).

I will work something out with gerald to get a C4CPC, thanks though :)

Quote from: Vyper68 on 21:04, 17 February 18
Sorry I'm being thick but can you transfer a .dsk image held on the SD card to a real 3" disk?
How to guide if possible I am going round in circles my 3" and Gotek are not playing so I thought I would use the SD card.

Yes if you use dskwriter application of Symbos (probably requires more than 128KB of RAM??).

If the DSK image is just files (not copy protected whatever dsk) you can also use M4 RSX to do the job.
Make sure you have M4 rom as 6 (or lower) and AMSDOS as 7.
Format your floppy and insert it, then:
|cd,"myimage.dsk"
|fcp,"*", "A:"

Done.

Powered by SMFPacks Menu Editor Mod