Previous Thread
Next Thread
Print Thread
Page 1 of 7 1 2 3 4 5 6 7
cpc 6128 - demo #105111 04/12/16 05:44 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

i've try this demo for cpc 6128 in mess (build this day)

http://www.cpc-power.com/index.php?page=detail&num=9023

after a short while, a black screen

music related ?

thanks in advance

Last edited by Breiztiger; 04/12/16 05:45 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #105153 04/16/16 08:07 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
i'm replying myself ;-)

black screen is gone with last build at 04/16/16

yes !!!

Re: cpc 6128 - demo [Re: Breiztiger] #105154 04/16/16 08:12 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
another bug - demo "points barres" from overlanders

http://www.cpc-power.com/index.php?page=detail&num=12683

first screen is not well centered and with bad color in rasters

crtc related surely

Re: cpc 6128 - demo [Re: Breiztiger] #105164 04/16/16 10:16 PM
Joined: Dec 2006
Posts: 526
M
mahlemiut Offline
Senior Member
Offline
Senior Member
M
Joined: Dec 2006
Posts: 526
Anything that fiddles with (I think) CRTC register 3 to try to smooth horizontal scrolling is always offset (check Ghosts and Goblins or Out of this World). I've mentioned it to Judge before, hopefully he remembers. wink


- Barry Rodewald
Re: cpc 6128 - demo [Re: Breiztiger] #105778 05/29/16 10:10 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
6128plus bug

http://www.cpc-power.com/index.php?page=detail&num=12700

the green ligne is scramble at both side

not on real 6128plus (like picture on cpc-power)

Re: cpc 6128 - demo [Re: Breiztiger] #105835 06/01/16 08:23 AM
Joined: Jun 2015
Posts: 55
N
NLS Offline
Member
Offline
Member
N
Joined: Jun 2015
Posts: 55
CPC6128plus monochrome display is messed in general.
Already reported and achnowledged in mametesters.

Re: cpc 6128 - demo [Re: Breiztiger] #105871 06/02/16 07:29 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
i don't speak about green screen

if you look at the link, it's a color screen

Re: cpc 6128 - demo [Re: Breiztiger] #105875 06/02/16 08:05 AM
Joined: Jun 2015
Posts: 55
N
NLS Offline
Member
Offline
Member
N
Joined: Jun 2015
Posts: 55
OK

Re: cpc 6128 - demo [Re: Breiztiger] #107649 10/16/16 09:55 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

another graphics glitch

in imerial mahjong

http://www.cpc-power.com/index.php?page=detail&num=13359

screen are too much right align and EGX mode doesn't work

Re: cpc 6128 - demo [Re: Breiztiger] #107650 10/16/16 10:21 AM
Joined: May 2004
Posts: 1,577
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,577
interesting technique there, alternating the higher resolution 4 colour mode with the lower resolution 16 colour mode every scanline to give a weird illusion of both colours and resolutions.. for that type of graphics it kinda works.

presumably needs exact timings.

Re: cpc 6128 - demo [Re: Breiztiger] #107651 10/16/16 10:55 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
another probs, is that i can't load no standard dsk like back to the future II

http://www.cpc-power.com/extraZipDownloadPart.php?fiche=344&slot=10&rang=0

is there a file to custom to be capable to read this type of disk ?

Re: cpc 6128 - demo [Re: Breiztiger] #107653 10/16/16 07:59 PM
Joined: Dec 2006
Posts: 526
M
mahlemiut Offline
Senior Member
Offline
Senior Member
M
Joined: Dec 2006
Posts: 526
Some protected DSK images won't load, probably needs more work since MAME has to convert the image to flux style data.

You could use the HxC utilities which includes an image converter, and convert the DSK image to MFM. This will also give the bonus of the new image being able to be written to.

As for Imperial Mahjong, the screen being offset to the right happens in certain games that use hardware scrolling (like Ghosts 'n Goblins, or Out of this World). I've mentioned it to Judge before, but it is a rather annoying bug.


- Barry Rodewald
Re: cpc 6128 - demo [Re: Breiztiger] #107655 10/17/16 09:19 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

thanks, i'll try that asap

is mame capable to read kryoflux ctraw, Stream files or ipf as i have kryoflux hardware and supercard pro scp files ?

perhaps it's on work if not

Re: cpc 6128 - demo [Re: Breiztiger] #107656 10/17/16 12:10 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
IPF files should load, although AFAIK the loader was done entirely with Amiga IPF files so Amstrad ones might need some images sent to OG.

Re: cpc 6128 - demo [Re: mahlemiut] #107674 10/19/16 12:43 PM
Joined: Mar 2013
Posts: 288
I
ICEknight Offline
Senior Member
Offline
Senior Member
I
Joined: Mar 2013
Posts: 288
Originally Posted By mahlemiut
You could use the HxC utilities which includes an image converter, and convert the DSK image to MFM. This will also give the bonus of the new image being able to be written to.
...Isn't writing back to the image file actually a bad thing, though? As in, it destroys its original state?


LCD artwork scans and cleanups: https://mega.nz/#F!uFYSzK7S!U-lJon9jsqyoCX_3y7_KLA
Re: cpc 6128 - demo [Re: ICEknight] #107675 10/19/16 02:05 PM
Joined: May 2004
Posts: 1,577
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,577
Originally Posted By ICEknight
Originally Posted By mahlemiut
You could use the HxC utilities which includes an image converter, and convert the DSK image to MFM. This will also give the bonus of the new image being able to be written to.
...Isn't writing back to the image file actually a bad thing, though? As in, it destroys its original state?


HxC is interesting, but doesn't seem amazingly fleixble when it comes to extracting data.

For example, if I have a copy protected disk, and I *know* the sector sizes on the disk are a lie, the software only allows me to load and view the image using the incorrect sizes, I can't tell it to override logic and show me / extract the full sectors ignoring the sizes.

Re: cpc 6128 - demo [Re: Breiztiger] #107676 10/19/16 02:39 PM
Joined: Jan 2012
Posts: 800
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 800
The hxc track viewer is really handy for figuring out the copy protection. I used it while recreating the Tandy 2000 lotus 123 invalid sectors.

Re: cpc 6128 - demo [Re: Breiztiger] #107697 10/21/16 05:43 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

i have convert dsk to mfm with hxc as you tell me

http://www.cpc-power.com/extraZipDownloadPart.php?fiche=344&slot=10&rang=0

mess load ok cat work but when i try run"disc i get only a black screen ?

protection is speedlock with track size 6

does mess couldn't handle this type of format ?

Last edited by Breiztiger; 10/21/16 05:43 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #107698 10/21/16 05:53 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
It's possible there isn't sufficient data to emulate the copy protection. Does it work on any other emulator?

Re: cpc 6128 - demo [Re: Breiztiger] #107699 10/21/16 07:56 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
The DSK Work in all CPC emulator like sugarbox or caprice forever for example

Re: cpc 6128 - demo [Re: Breiztiger] #107757 10/27/16 07:09 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
New test demo game

http://cpcrulez.fr/GamesTest/pinball_dreams.htm

Block after level select (with lots of graphics glitch)

Re: cpc 6128 - demo [Re: Breiztiger] #107823 11/06/16 09:18 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
sorry but ...

can i take the same effect with hlsl like this Amstrad ctm picture ?

https://mega.nz/#!4c5xkCoY!MwwlNQtN0lCvrftrOM1U91P9QNbrg20PS_AcsXz8ZEA

(it's a nikon raw picture)

Last edited by Breiztiger; 11/06/16 09:59 AM.
Re: cpc 6128 - demo [Re: Breiztiger] #108844 02/12/17 10:50 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

i try to use printer like lx800

how can i do that ?

i try mess64 cpc6128f -Centronics lx800

but i only have four led from printer with paper out red and beep

where can i take the result of a printed work ?

thanks in advance

Last edited by Breiztiger; 02/12/17 11:00 AM.
Re: cpc 6128 - demo [Re: Breiztiger] #108848 02/12/17 01:18 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
You need to put the printer on line first (it has a button for it) and then it will accept output. However, output is only to the screen and does not scroll.

Re: cpc 6128 - demo [Re: Breiztiger] #109364 04/13/17 05:01 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
for test playcity with all voice on !!! (mess64 cpc6128f -flop1 teaser.dsk -exp playcity) ;-)

just a release : http://www.cpcwiki.eu/forum/news-events/arkos-new-production-a-little-teaser!/

but graphics glitch and the screen is not centered ;-(

Re: cpc 6128 - demo [Re: Breiztiger] #110315 07/16/17 01:27 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

a fdc bug

with this listing

10 OUT (&FA7E),1:'Motor on
20 FOR i=1 TO 1000:NEXT:'tempo
30 OUT (&7B7F),4
40 OUT (&FB7F),2-peek(&A700)
50 OUT (&FA7E),0:'Motor off
60 status=INP(&FB7F):PRINT status
70 nodisk=status AND 32
80 wrprot=status AND 64
90 IF nodisk=0 THEN PRINT "No disk in drive":END
100 IF wrprot=64 THEN PRINT "disk protected":END

return values on real cpc 6128

122
prot disk
90
no disk
50
ok

Last edited by Breiztiger; 07/16/17 03:16 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110445 07/29/17 02:34 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
when i try to run a dsk on cpc6128 i have this message

Fatal error: Incorrect layout on track 0 head 0, expected_size=100000, current_size=104144

where can i look at for this error

i think dsk layout are not well discribe because my dsk is good for any other emulators

Re: cpc 6128 - demo [Re: Breiztiger] #110446 07/29/17 03:50 PM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
The track layout does not match the format expected by 'dsk_dsk.cpp' (in src\lib\formats)

I had this error with some marginal disks a friend copied over.

You could upload the DSK file for inspection or try to evaluate the 'disc information block' (tracks, sides, size of track).
disc information block

In my case, there was an unexpected extra track because there were traces of an odd, foreign format.

Last edited by Bavarese; 07/29/17 03:52 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110447 07/29/17 03:51 PM
Joined: May 2004
Posts: 1,577
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,577
a lot of known working CPC disk images don't work with our code, the MAME and will get reject with a fatalerror before even loading. Support for the various copy protection features is incomplete I believe

Last edited by Haze; 07/29/17 03:52 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110448 07/29/17 04:04 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
Also, the usage is unclear for that BASIC program. What is the drive status on each run: disk in, disk out, formatted disk in, unformatted disk in, etc?

Re: cpc 6128 - demo [Re: Breiztiger] #110449 07/29/17 04:47 PM
Joined: Jan 2012
Posts: 800
C
crazyc Offline
Senior Member
Offline
Senior Member
C
Joined: Jan 2012
Posts: 800
I've seen two cases where a dumped image is too large because of invalid sectors wedged into the gaps. They will then work on emulators that aren't picky about track sizes.

Re: cpc 6128 - demo [Re: Breiztiger] #110450 07/29/17 04:53 PM
Joined: May 2004
Posts: 1,577
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,577
are you sure they're invalid sectors, not there because that's how the format represents copy protected tracks? I think they include multiple copies of weak sectors so that the emulator can read a different copy each time and gets different ones if seeking forward / back the first time (unless i'm thinking of a different format)

I know what was meant to be a simple format was extended to support the most common cpc disk protections at least.

Last edited by Haze; 07/29/17 04:54 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110451 07/29/17 05:18 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

it's a proper dump that i have make myself with a kryoflux

it's a edsk format not dsk witch is old and not use today with new dump as a make

i have also create a editor for Amstrad dsk as i can say this dsk is good

just it has all gaps for each sector and the track 0 length is 5805 bytes not only 4608 bytes (9x512)

it is not copy protected just full dump with gaps

Last edited by Breiztiger; 07/29/17 05:20 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110453 07/30/17 09:12 AM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
There is a hard limit of 100.000 bytes i also encountered:

Code
build_pc_track_mfm(track, side, image, 100000, tr.number_of_sector, sects, tr.gap3_length);


If you just sampled more data than the 'dsk_dsk' routine can handle (no copy protection assumed), it should be possible to cut the gaps (automagically or in a disk editor).

Olivier Galibert is the author of the 'dsk_dsk' importer. Kevin Thacker and Barry Rodewald wrote the Amstrad emulation.

You might have luck contacting Olivier Galibert in your own tongue - or just upload the image so folks can have a look.

[EDIT: to increase the limit is not a good idea. Upload to Dropbox or a good free file hoster and post the link here]

Last edited by Bavarese; 07/30/17 12:06 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110454 07/30/17 10:19 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
i have try to change 100000 to 200000 but not working

https://1drv.ms/f/s!AsnNM-hItJM6ipUvAfhUtZMoMg2zQQ


Last edited by Breiztiger; 07/30/17 01:09 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #110467 08/01/17 09:15 AM
Joined: Apr 2012
Posts: 187
B
Bavarese Offline
Senior Member
Offline
Senior Member
B
Joined: Apr 2012
Posts: 187
The disks you uploaded in the previous post had FDC errors and appear to have a very non-standard track layout.
They also utilise increased track densities to cram more data on a floppy than usual.

You can verify that with 'Disk Image Manager' (which is freely available).

To the right (green) is a PD disk i downloaded for verification, with 40 properly formated tracks.

[img]https://www.dropbox.com/s/nf9vyg8lanozhdt/Non_standard_or_copy_protected_disk.jpg?dl=0[/img]

Are you trying to work with a damaged disk - or import a copy protected disk?

The current importer for *.DSK seems a bit ill prepared for density variations. I am by far no CPC expert, though. smile

Last edited by Bavarese; 08/01/17 10:21 AM.
Re: cpc 6128 - demo [Re: Breiztiger] #110470 08/01/17 05:51 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
i can confirm that this disk is almost normal

http://www.cpc-power.com/SectorView.php?fiche=1058&slot=10&rang=0 click on map tab

no track density changed

just track 3 is unformat

and protected track is track 4 (sector size 4 but only have 100 bytes length take st1 and st2 number &20 checksum error)

this edsk is a good dump from a working real disk

all cpc emulator like caprice, sugarbox, and other play good with this game (Harry and Harry from ere informatique)


Last edited by Breiztiger; 08/01/17 05:59 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #113040 04/02/18 09:18 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
another new demo from revision 2018 that Don't work on mess

https://cpcrulez.fr/demostestDO_onescreen_colonies-vanity.htm

Re: cpc 6128 - demo [Re: Breiztiger] #113717 07/29/18 07:47 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

i test for another project (MiSTer) this test program on my real cpc 6128

http://www.cpc-power.com/index.php?page=detail&onglet=dumps&num=12883

result: all tests passed.

but not on mess, lots of error

Re: cpc 6128 - demo [Re: Breiztiger] #113721 07/29/18 09:21 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84

Re: cpc 6128 - demo [Re: Breiztiger] #115032 04/13/19 10:53 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

z80 test error report bug in that test

http://www.cpc-power.com/index.php?page=detail&onglet=dumps&num=12883

SCF and CCF instructions

Re: cpc 6128 - demo [Re: Breiztiger] #115033 04/13/19 11:09 AM
Joined: Aug 2015
Posts: 378
Edstrom Offline
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 378
I think this a known variant issue according to MAMEtesters: https://mametesters.org/view.php?id=2701 did you request a followup there?

Re: cpc 6128 - demo [Re: Breiztiger] #115034 04/13/19 11:16 AM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
Yeah, we're emulating the NEC Z80, which in this case has that difference from the Zilog original.

Re: cpc 6128 - demo [Re: Breiztiger] #115035 04/13/19 12:13 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
Sorry it seem to be that issue

Re: cpc 6128 - demo [Re: Breiztiger] #115036 04/13/19 12:21 PM
Joined: May 2004
Posts: 1,577
H
Haze Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,577
Yeah, we're in C++ land these days tho, so creating a derived type with different behavior is far easier than 99% of what goes into MAME...

Re: cpc 6128 - demo [Re: Breiztiger] #115037 04/13/19 02:10 PM
Joined: Mar 2002
Posts: 1,071
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,071
TODO notes in z80.cpp: "This Z80 emulator assumes a ZiLOG NMOS model." (not NEC)

and regarding SCF/CCF flags: "However, people from the Speccy scene mention that SCF/CCF X/Y results are inconsistent and may be influenced by I and R registers." - so, is it wise to base NEC Z80 on SCF/CCF X/Y differences?

Re: cpc 6128 - demo [Re: Breiztiger] #115038 04/13/19 05:38 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
The z80.cpp notes are from like 1997. I would believe the newer results from the 2018 test program over them. Also, MAME was arcade-only forever, and arcade games almost always used the NEC D780, so it's not shocking we ended up modeling it instead of Zilog.

Re: cpc 6128 - demo [Re: Breiztiger] #115039 04/13/19 05:59 PM
Joined: Mar 2002
Posts: 1,071
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,071
Those notes are old yes, more like 2008 or so.
I don't know of other NEC vs Zilog differences, but regarding SCF/CCF X/Y flags we definitely emulate the Zilog.

*edit* according to http://www.cpcwiki.eu/forum/technical-support/z80-defective-tests/ it fails on a real Zilog.

Last edited by hap; 04/13/19 06:16 PM.
Re: cpc 6128 - demo [Re: Breiztiger] #115040 04/13/19 06:39 PM
Joined: Aug 2015
Posts: 378
Edstrom Offline
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 378
Maybe a lot of arcades just starts working if we implement the NEC variation? :-)

Re: cpc 6128 - demo [Re: Breiztiger] #115041 04/13/19 07:12 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
No known software other than this test program cares about this difference smile

Re: cpc 6128 - demo [Re: Breiztiger] #115042 04/13/19 07:25 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
Why i’m lying ? On a real cpc 6128 the test is all good

I’m french and i may be misunderstood what you say

Re: cpc 6128 - demo [Re: Breiztiger] #115043 04/13/19 07:29 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
On a real 6128 with an NEC or ST CPU the test is all good. On a real 6128 with a genuine Zilog CPU the test fails, just as it does in MAME.

Re: cpc 6128 - demo [Re: Breiztiger] #115044 04/13/19 07:29 PM
Joined: Mar 2002
Posts: 1,071
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,071
What? no it doesn't mean you were lying.
It just means this test suite is giving different results depending on CPU brand. Does your CPC have a Zilog Z80 or a different one?

Re: cpc 6128 - demo [Re: Breiztiger] #115045 04/13/19 07:49 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
Just test on my 6128 with

ST 28400AB1 Z80ACPU 28848 and Zilog Z8400APS Z80 CPU 8631

All are good in test

Re: cpc 6128 - demo [Re: Breiztiger] #115046 04/13/19 07:59 PM
Joined: Mar 2002
Posts: 1,071
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,071
Ok, then either that test checks more than X/Y flags, and/or Zilog Z80 differs there per die revision. The guy that tested it on his Zilog and failed the test has a Z840004PSC.

Re: cpc 6128 - demo [Re: Breiztiger] #115054 04/14/19 07:16 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
Just tested with a Zilog Z0840004PSC Z80 CPU 8722

All tests passed

Re: cpc 6128 - demo [Re: Breiztiger] #115055 04/14/19 08:55 AM
Joined: Mar 2002
Posts: 1,071
H
hap Offline
Very Senior Member
Offline
Very Senior Member
H
Joined: Mar 2002
Posts: 1,071
Well that's just weird, why did it fail on one Z80 but not on yours.

Also, related to MAME, we don't emulate the details in the last paragraph:
Quote
Bits 3 and 5 of the F Register
Woody confirmed that bits 3 and 5 of the flags are copied on all BIT instructions on both a Zilog Z80 and an NEC clone (stated on the link above as being "unverified").

Stuart Brady discovered that how bits 3 and 5 of the flags are set after the SCF and CCF instructions actually depends on the variant of Z80 in use. On a Zilog Z80, bits 3 and 5 of the flags were set by ORing their previous values with that of A. On an NEC clone, bit 3 was unaffected, while bit 5 appears to be set by ANDing the previous value with something unknown. Previously, Ian Greenway tested this and found that bits 3 and 5 seemed simply to be copied from A, although it is not known which CPU these tests were run on. For more details, see here, here and a more recent investigation here.

Patrik Rak however later discovered that the way how the flags 5 and 3 are affected after SCF/CCF actually depends on the previous instruction completed. In case of genuine Zilog CPU, if an instruction modifies the flags, the immediately following SCF/CCF does move of bits 5 and 3 from A to F, whereas if an instruction doesn't modify the flags (and after interrupt), the SCF/CCF does OR of bits 5 and 3 from A to F. In case of NEC and other clones, it is similar, except that instead of OR it does AND with some unknown value, making the result unreliable.

Re: cpc 6128 - demo [Re: Breiztiger] #115060 04/14/19 05:20 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

crtc bug this time

10 ' Glagla
20 SPEED INK 100,100:MODE 0:BORDER 0:INK 0,0:INK 1,26,2:OUT &BC00,8:OUT &BD00,1:PRINT:PRINT:PRINT:PRINT:PRINT:PRINT" Si je tremble : C'est de froid.":CALL &BB06

screen must scramble a little

Re: cpc 6128 - demo [Re: Breiztiger] #115061 04/14/19 05:31 PM
Joined: Mar 2001
Posts: 16,274
R
R. Belmont Offline
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,274
We are well aware that we don't support CPC advanced raster effects. Please allow time for the carpenters to fix basic things like disk loading before becoming too demanding.

Re: cpc 6128 - demo [Re: Breiztiger] #115343 05/26/19 09:35 AM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84
hi

i think you have problem with fdc 765

http://www.cpc-power.com/index.php?page=detail&num=16166

doesn't success on copy A: to A:

Re: cpc 6128 - demo [Re: Breiztiger] #115344 05/26/19 10:19 AM
Joined: Aug 2015
Posts: 378
Edstrom Offline
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 378
There is a problem with how we handle the 3" floppy interface, I see problems accessing B: for the PCW driver, don't know if it is related but I plan to iron it out some rainy day with a logic analyzer and compare with how MAME handles it. It is related to disk select and the ready signals I suspect

Re: cpc 6128 - demo [Re: Breiztiger] #115503 07/13/19 05:54 PM
Joined: Nov 2010
Posts: 84
Breiztiger Offline OP
Member
OP Offline
Member
Joined: Nov 2010
Posts: 84

Page 1 of 7 1 2 3 4 5 6 7

Who's Online Now
4 registered members (Stiletto, Bletch, pmackinlay, AJR), 184 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,673
Posts113,792
Members4,852
Most Online418
Aug 14th, 2019
Powered by UBB.threads™ PHP Forum Software 7.7.3