CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: freemac on 04:04, 21 March 15

Title: FPGAmstrad on MiST-board
Post by: freemac on 04:04, 21 March 15
CoreDocAmstrad - mist-board - documentation for the Amstrad core - Firmware and (https://code.google.com/p/mist-board/wiki/CoreDocAmstrad) FPGAmstrad - CPCWiki (http://www.cpcwiki.eu/index.php/FPGAmstrad)

Here a deploy of my FPGAmstrad project into MiST-board.
MiST-board is a final FPGA platform (usable by everyone), having pro competition joysticks in USB  :P
dsk needs being simple format, and they are "read only" (not written into sdcard)
some cpcrulez demos are running on it :)
Pressing two buttons (not the reset one) does make a RAM dump into file DUMP.DMP (validating MiST-board capacity about future dsk write on sdcard)

Sound was improved  8)

External memory access was relieved
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 08:58, 21 March 15
Nice to see that CPC is finally implemented  ::)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:26, 21 March 15
Amstrad core on MiST-board - candidate 003 - YouTube (https://www.youtube.com/watch?v=bK1rqPno9Jg)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 18:27, 22 March 15
Ah it's your core? Man, been waiting for this for years :) Please, do keep us updated here!!!
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 05:11, 23 March 15
Amstrad core on MiST-board - candidate 003 - YouTube (https://www.youtube.com/watch?v=bK1rqPno9Jg)


Very nice! How much RAM and ROM does it "emulate" / provide?

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 12:55, 23 March 15
Very nice! How much RAM and ROM does it "emulate" / provide?
Added to TODO-list :)
At this step it's just 128KB not extended RAM. And 4 ROM, the 4th one is fixed to MAXAM.ROM.
MiST-board has more external RAM, so I shall be possible to extend that.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 13:00, 23 March 15
So are ROM slots open for the user to load his own?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:50, 23 March 15
So are ROM slots open for the user to load his own?
Not at the moment but it shall be easy to do, actually I do use only A(22..0) of external RAM (I'm using them for 64KB ROM + 128KB RAM + 178KB DSK), and MiST-board has A(24..0), so I have at minimum... 64+128+178=370<512KB *2*2 -1 so I have... around 512KB+1024KB free ?
2^24=16777216 /1024=16384KB normaly ?
So 256*16KB ROM= 4096KB ROM and 64KB lowerROM and 64K BaseRAM and 512KB RAM  and 178KB dsk shall do 4914KB<16384KB so in theory it does pass.
Last problem is saying "here no ROM, do read RAM" : it does make a mask of 256 bits, why not. I have also to find a way to attach rom name to placements, I think that a hexa number in extension can be fine, as myRom.R00 to myRom.RFF.
And finally that has to enter in MiST-board plaform at compilation...
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 17:57, 23 March 15
Well, I know ROM support is quite down the road after more important features (and, of course: compatibility!). But it'd be nice to have, so thanks!
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 21:39, 23 March 15
Oh ROM support and E-RAM is all I would need. But it all takes time.  :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 21:24, 28 March 15
Oh ROM support and E-RAM is all I would need. But it all takes time.  :)
576KB E-RAM and 256 ROMs now supported.

Finally I use myROM.e00 for a upper ROM inserted at 00.

I tested ok ROMs |LIGHTFORCE, |MAXAM and |PROTEXT  8)

I detected a problem while launching Arkanoid if my ROMs are not at bottom (00 and 07 fixed, and then 01 02 03 04...)
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 00:09, 29 March 15
Great proceedings!  :)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 18:46, 29 March 15
Can't wait to get my board back :)
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 22:46, 29 March 15
Can't wait to get my board back :)

What board? That one you used to own?  ::)

Bryce.  :D
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 09:59, 30 March 15
Oh, hm, yeah, that one. Well, I knew the risks...
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 10:28, 30 March 15
Don't worry, you'll get it back, it's just taking a bit longer because the 6128 and floppy repair from @VincentGR (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1053) took priority this week. I've no idea why... It's not like I can be bribed or anything.... :)

Bryce.

Mmmmmm... Almonds :)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 10:34, 30 March 15
Ohhh so that's why @VincentGr was calling me yesterday to go for a cup of coffee, he wanted to placate me :D

Ion? Sure, lovely chocolate and of very pure quality. I prefer the milk one, but if you want almonds, name your price :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 12:48, 17 June 15

New version : r003.8, using stereo as asked by Eric Forgeot.
Tested with STarKos1.21 sound track "Carpet" ... that's so cool !!!


I'm currently working about robustness (power up ok tomorrow) and stability (no crash during use), it's a better version, but I have some efforts more to do.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 14:45, 17 June 15
Heheh just in time as Bryce is finishing my MiST, hopefully :)
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 15:22, 17 June 15
Heheh just in time as Bryce is finishing my MiST, hopefully :)

Yes, I just need to install the Transmogrifier which will morph the case from an SF354 to an FD-1 if you choose the CPC Core :D

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 15:59, 17 June 15
Damn that's impressive. You never cease to amaze me.
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 16:14, 17 June 15
It uses a flux capacitor, a small cardboard box and a sprinkling of Unicorn tears, but it's not working properly yet, it morphs into a 1541 sometimes :D

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:17, 17 June 15
You're not fooling me. They told me once I could use a flux capacitor to turn banoffee ice cream into pistachio and it didn't work, so now I know you're just messing with me.
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 16:33, 17 June 15
You obviously didn't add the unicorn tears.

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:34, 17 June 15
No, because they were not needed for the pistachio flavour. Still not fooling me.
Title: Re: FPGAmstrad on MiST-board
Post by: CraigsBar on 18:34, 17 June 15
It uses a flux capacitor, a small cardboard box and a sprinkling of Unicorn tears, but it's not working properly yet, it morphs into a 1541 sometimes :D

Bryce.
Oh :( just in appearance or does it *still* take several minutes to load a game? Damn the c64 discs were slow!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:47, 20 July 15

New version : r003.10 + r003.10 firmware crc16


I gain in robustness (power up ok tomorrow) and stability (no crash during use)  8)


* Updating just the core gain in RAM initialization (good RAM init sequence and filling with 0 at start up)
* Updating the firmware gain in dsk/ROM loading, but it is not an official one (better to wait an official version), as I made it by myself, it does improve Amstrad but I don't know about border effects in others cores than Amstrad one   ::)
* Stability is ok since r003.8 : Stability evidence : Gryzor, at first screen do press ESC to switch from "FX" to "MUSIC", and press fire... music is now back !
Title: Re: FPGAmstrad on MiST-board
Post by: seanb on 21:47, 20 July 15
It uses a flux capacitor, a small cardboard box and a sprinkling of Unicorn tears, but it's not working properly yet, it morphs into a 1541 sometimes :D

Bryce.

No sticky back plastic?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:50, 07 August 15

I updated my firmware fork : amstrad_150729_r003.10.crc16.firmware.upg


It is not yet merged with last firmware version of MiST, but it is a cool robust tested version  8)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 19:09, 08 August 15
Ahhh can't wait to test it!!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:24, 13 August 15
Spoiler r004  ;)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 10:44, 13 August 15
What? Tells us! It shows pictures on screen?! :D
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:23, 13 August 15
What? Tells us! It shows pictures on screen?! :D
At this step I can change dsk without reset, and launch some more complex dsk. Here I launched art studio from first dsk and open some pictures from several RESET#20 dsk  8)
WIP.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 11:26, 13 August 15
Ohhh that's useful indeed! :) Yay!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:24, 31 August 15
r004 is out !


https://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/amstrad_150831_r004.txt (https://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/amstrad_150831_r004.txt)



r004 - "MecaShark" Floppy Disk Controller


This version is using a fully new implementation of FDC :
* writing on disk is done directly on sdcard dsk file
* change disk without have to reset
* read irregular track-size disks supported
* drive A and B : easy file copy using Sym-Commander
This version does also implement officially :
* RAM extension (+512KB)
* ROM extension (+4MB) *.eZZ (lowerROM) *.e00-*.eFF (upperROM)
This version does also fix :
* "WinCPC" dsk format, welcome SymbOS :)
* Bootloader FAT32 large SDCARD (>2GB)


Notes :
- for this version you need to defrag sdcard...
- double side dsk are not supported yet (two disks on one dsk file)
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 21:11, 03 September 15
Hello.  :)  Is there a step by step protocol how to install the CPC core?
Where to put ROMs? How to call them? Does the folder need a special name?


For other computers very well written stuff is out there, but I couldn't find something for the CPC.


Any help is appreciated.

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:03, 04 September 15
Hello.  :)  Is there a step by step protocol how to install the CPC core?
Where to put ROMs? How to call them? Does the folder need a special name?

For other computers very well written stuff is out there, but I couldn't find something for the CPC.

Any help is appreciated.
Hi  ;)


Doc is here : CoreDocAmstrad · mist-devel/mist-board Wiki · GitHub (https://github.com/mist-devel/mist-board/wiki/CoreDocAmstrad)


In you sdcard at root, you need : core.rbf (amstrad_150904_r004.1.rbf renamed), OS6128.eZZ, BASIC1-1.e00, AMSDOS.e07, AST-Equinox.dsk
First disk at root is auto-inserted in |A.

F12 gives access to OSD menu (it's common to each MiST-board cores, it helps to change dsk, to change core, and to update MiST-board firmware (firmware.upg))

You can add also add your ROMs like this : FOSC-A.e0A, FOSC-B.e0B, FOSC-C.e0C, FOSC-D.e0D


At this time TFM does start but I don't succeed in loading dsk (my instruction FDC set seems too small yet, and I don't really know how to use it), and have'nt yet implemented a IDE access, I strangely didn't succeed the jump to AMSDOS from FutureOS lowerROM (prehaps my FDC small instruction set border effect).
I have just discovered IDE doc... SYMBiFACE II:I/O Map Summary - CPCWiki (http://www.cpcwiki.eu/index.php/SYMBiFACE_II:I/O_Map_Summary)
 Vortex Disc Drives - CPCWiki (http://www.cpcwiki.eu/index.php/Vortex_Disc_Drives)


About Vortex, a question : if I understand, drive A and B can manage classic+Vortex, and C and D can manage Vortex only formats ?
Title: Re: FPGAmstrad on MiST-board
Post by: Ast on 12:35, 04 September 15
Equinox was the first demo i do.... I's a little bit strange.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 13:05, 04 September 15
Equinox was the first demo i do.... I's a little bit strange.
It is Ast-Equinox  ;D
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 13:59, 04 September 15

Equinox was the first demo i do.... I's a little bit strange.
In each realise of CoreAmstrad I have significative unlocked stuff, some of them are out of GameBases/RomManagement validation set (2000 games validated)


Ast-Equinox was the first demo I unlocked, I remember I was exchanging some interrupt code with Markus Hohmann (JavaCPC)


As it is a validation dsk, I add it to mist-binaries/cores/amstrad/OS6128_BASIC1-1_AMSDOS_MAXAM at master · (http://github.com/mist-devel/mist-binaries/tree/master/cores/amstrad/OS6128_BASIC1-1_AMSDOS_MAXAM)
In this folder you can found also :
- demos from cpcrulez (AST-Equinox and OFE_Tome_1-Little_One)
- demos from pouet.net (Wolfenstrad)
- STarKos from Grimware
- ram_test.dsk from CPCWiki
- PROTEXT and MAXAM from CPCWiki
- CrazyCar from CPC-Power (strangly not referenced by TOSEC gamebase)
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 17:48, 04 September 15

Thank you very much for your answer!  :) :) :)

At this time TFM does start but I don't succeed in loading dsk (my instruction FDC set seems too small yet, and I don't really know how to use it), and have'nt yet implemented a IDE access, I strangely didn't succeed the jump to AMSDOS from FutureOS lowerROM (prehaps my FDC small instruction set border effect).

About Vortex, a question : if I understand, drive A and B can manage classic+Vortex, and C and D can manage Vortex only formats ?


- If you need help with FDC stuff let me know. One problem could be the ready signal. On real drives the Ready signal becomes only valid when the drive is really ready to go.
- If you include the FutureOS lower ROM then it's like an autostart, you won't get back to Amsdos, because the firmware lower rom is not there (it's always worth to compare to a real cpc or a good emulator).
- FutureOS can deal with Data, System and Vortex formats on all drives. Vortex only if the drive has 80 tracks and 2 sided. So a DSK must have that too.


PM me if I can help in any way. :)
Title: Re: FPGAmstrad on MiST-board
Post by: funkheld on 19:21, 04 September 15

cps6128 does not work in MIST.


this is the :
firmware_150825.upg in the MIST
amstrad_150904_r004.1.rbf  (core.rbf)


sd-karte see : sd-karte.jpg
in the ordner "OS6128_BASIC1-1_AMSDOS_MAXAM" see sd-karte-1.jpg


what is the : OS6128.eZZ ?


greeting


Title: Re: FPGAmstrad on MiST-board
Post by: Ast on 12:37, 05 September 15
It is Ast-Equinox  ;D
So, it's mine  :P
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:50, 07 September 15
cps6128 does not work in MIST.


this is the :
firmware_150825.upg in the MIST
amstrad_150904_r004.1.rbf  (core.rbf)


sd-karte see : sd-karte.jpg
in the ordner "OS6128_BASIC1-1_AMSDOS_MAXAM" see sd-karte-1.jpg


what is the : OS6128.eZZ ?


greeting



eZZ is extension for lower ROM, If cps6128 is another lower ROM just rename OS6128.eZZ into OS6128.ZZZ in order to turn it off and rename cps6128.ROM into cps6128.eZZ :)


Extension for ROM are : eZZ (lowerROM) e00 with 00 from 00 to FF (hexa values 0123456789ABCDEF)


I tested successfully the french AZERTY OS6128.ROM (but I had to change also BASIC1-1.ROM in order to do that correctly)

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 17:06, 10 September 15
cps6128 does not work in MIST.


this is the :
firmware_150825.upg in the MIST
amstrad_150904_r004.1.rbf  (core.rbf)


sd-karte see : sd-karte.jpg
in the ordner "OS6128_BASIC1-1_AMSDOS_MAXAM" see sd-karte-1.jpg


what is the : OS6128.eZZ ?


greeting
Content of OS6128_BASIC1-1_AMSDOS_MAXAM folder shall be put at root of sd (ROMs), except dsk file that you can select using OSD menu...
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 17:38, 10 September 15
Is it possible to take such an SD card, copy it to an folder, crunch it and attach it here?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:04, 11 September 15
Done  8)


* I removed also OS6128.ROM from my repository (letting only OS6128.eZZ), as it the problem is over  ;)
* Don't forget to defrag sdcard...
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 15:34, 12 October 15
r004.7.2 : game unlocked R-Typee (rtypeee.dsk) + some debug + FINAL END-USER VERSION compiled

r004.7.2 core.rbf :
http://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/amstrad_151013_r004.7.2.rbf (http://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/amstrad_151013_r004.7.2.rbf)

ROMs and dsk pack (does contains rtypeee.dsk...) :
http://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/OS6128_BASIC1-1_AMSDOS_MAXAM.zip (http://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad/OS6128_BASIC1-1_AMSDOS_MAXAM.zip)

Just rename amstrad_151013_r004.7.2.rbf into core.rbf, and uncompress all files from zip into "root of sdcard".
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 21:59, 16 October 15
Ohhh nice!!! Thank gods for the weekend :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:48, 16 November 15

Spoiler: show
73.89% of games preselected by Markus does run fine on CoreAmstrad r004.7.2


CoreAmstrad/MarkusGameBaseTestbench at master · renaudhelias/CoreAmstrad · (http://github.com/renaudhelias/CoreAmstrad/tree/master/MarkusGameBaseTestbench)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 10:50, 16 November 15
Whoa that's a lot of games tested... Not perfect at 74%, but getting there!
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 11:23, 16 November 15
Whoa that's a lot of games tested... Not perfect at 74%, but getting there!

A success percentage doesn't give any indication of how many games were actually tested?? It could be 74% of 7 games that they tested.

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 11:48, 16 November 15
A success percentage doesn't give any indication of how many games were actually tested?? It could be 74% of 7 games that they tested.

Bryce.


Check the link :)


What I'd like to know is how games were actually "tested". I met this issue with the ST games on MiST, where testing was a bitch and went quite slowly. It's not enough to say a 'yes' or 'no', since something can be playable with glitches on the menu, it may crash at some specific point, it may involve corrupted gfx at the end of a level etc etc...
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 12:14, 16 November 15
Ok, that is a lot, but I would also question how far they were tested. The same thing happens with Amiga and which version of Kickstart you use. Some games will start and seem to work until they get to a certain point.

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 12:16, 16 November 15
That's what I said :) . Same thing with the ST, each time I would find a game that didn't work I would cycle through all configurations - ST/STe, TOS version, memory...
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 12:50, 16 November 15
That's what I said :) . Same thing with the ST, each time I would find a game that didn't work I would cycle through all configurations - ST/STe, TOS version, memory...


Tests were done using minimum configuration : original UK ROM only :)
I remark that Arkanoid 2, and Turbo Tortoise doesn't like ROMs added...


I test them quickly but I try to do 1 action in first level of each game.
Tests here are first about screen+sound+controllers and fun (and detect regressions in next tests)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 12:54, 16 November 15
A success percentage doesn't give any indication of how many games were actually tested?? It could be 74% of 7 games that they tested.

Bryce.
1016 games passed OK on a set of 1375 games  :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:38, 17 November 15


Here the full SDCARD testbench result for r004.7.2 (core + validated dsk)
http://github.com/renaudhelias/CoreAmstrad/blob/master/MarkusGameBaseTestbench/MarkusGB_test_r004.7.2.zip (http://github.com/renaudhelias/CoreAmstrad/blob/master/MarkusGameBaseTestbench/MarkusGB_test_r004.7.2.zip)

Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 12:47, 18 November 15

Here the full SDCARD testbench result for r004.7.2 (core + validated dsk)
http://github.com/renaudhelias/CoreAmstrad/blob/master/MarkusGameBaseTestbench/MarkusGB_test_r004.7.2.zip (http://github.com/renaudhelias/CoreAmstrad/blob/master/MarkusGameBaseTestbench/MarkusGB_test_r004.7.2.zip)


Oh, that's really useful!! How are the files split among the dirs? Any special reasoning?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:32, 18 November 15

Oh, that's really useful!! How are the files split among the dirs? Any special reasoning?


Game folder contains games running in 1011 VRAM (&8000-&FFFF)
Game 0011 folder contains games running in 0011 VRAM (&0000-&3FFF and &8000-&FFFF)
Game 0111 folder contains games running in 0111 VRAM (&4000-&7FFF and &C000-&FFFF)


1011 is selected by defaut in OSD menu (10 11)
0011 and 0111 can be manually selected in OSD menu (00 11, 01 11)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 09:40, 19 November 15
Ah thanks man, that's good to know...
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 23:24, 03 December 15
Hello,

just got a question regarding the amstrad core: It refuses to work on my MiST! I flashed the 150910-firmware to the device (as recommended since today) and used the files contained in Markus testbench. All I get is an orange screen with random dots (and a very promising clear blue screen when switching VRAM). My MiST is a V1.3 with MIDI-Exts... Oh yes, the orange  LED in the middle is on, the on screen-menu works, my SDHC-Card is a 16GB Samsung Class 10  partitioned to 4GB and formatted with FAT32. I also tried other SD-Cards but some just produce a grey screen (which also does not seem quite right). Is the Amstrad core really this picky about SD-Cards or am I missing something obvious here? Trying it for some time now, the Amiga-Core is working fine.

Thanks for any help and best regards,

Tobi
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:54, 04 December 15

VRAM default position in OSD menu are :
- LowerVRAM 10
- UpperVRAM 11

With this default position you can run all Games in "Games" folder (that folder shall be called "Games 1011" in fact)

When it turns blue, you can type letters, or quick reset using "page up" key.

Normaly SDCARD has just to be formated as FAT32, only with one partition, generaly using 4096bytes blocs (in PC, do create a simple text file containing just 1 letter, save it, and show the file size...)

I never tested using partitioned SDCARD...

You have to defrag your sdcard (or else dsk will have problems being inserted)

I'm testing currently last firmware (firmware_151118.upg), it seems really cool (faster to load dsk !)
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 23:04, 04 December 15
Hi Freemac,

thanks for your reply! Sadly I was not able to get to the ready-prompt, even after doing a full optimization with UltraDefrag on the card (Cluster-Size is 4KiB with FAT32). I'm starting to believe the core is not reading the roms correctly. Am I right assuming rom loading is done there?

Just to be clear: All I see is a complete orange screen with grey borders top and bottom (ok, sometimes random bytes are set). After switching VRAM through the (working) OSD the screen turns to royal Amstrad-Blue (but clear, nothing else on it besides the grey borders, no ready-prompt and no nifty beep when pressing delete).

For me this indicates I have to get another SD-Card as I only have smaller or bigger ones than 4GB. Perhaps some kind of compatibility-list could help to chose one (they are becoming quite rare, bigger is better). Perhaps someone has some experience with this?

But even if I'm disappointed not being able to play Rick Dangerous in cpc colors I really appreciate the hard work this must have been! I will stay on it and try again with new cards - Amiga core cannot satisfy me ;)
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 09:30, 05 December 15
Just realized there is the ability to do ram dumps... Perhaps someone could post a dump of a freshly initialized core so I could diff it with mine? There shouldn't be big differences or am I wrong about this? Thanks in advance!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 15:22, 07 December 15


Just realized there is the ability to do ram dumps... Perhaps someone could post a dump of a freshly initialized core so I could diff it with mine? There shouldn't be big differences or am I wrong about this? Thanks in advance!
Hi tezet,


I did test DUMP yesterday (both button pressed (not reset) after boot), but file result is too small (only 2MB)... last version of CoreAmstrad uses RAM for : 4MB ROM + 576KB RAM + 16kB LowerROM. Content of this actual 2MB DUMP.DMP is : .eZZ file content, garbage RAM (indeterminist not used), ghost RAM (indeterminist used in past)... and no more ^^'. So you cannot compare it with an emulator snapshoot.


Documentation is by here :
CoreDocAmstrad · mist-devel/mist-board Wiki · GitHub (http://github.com/mist-devel/mist-board/wiki/CoreDocAmstrad) (user doc)
FPGAmstrad - CPCWiki (http://www.cpcwiki.eu/index.php/FPGAmstrad) (development strategy/TODO list/bugs)


I don't have time about creating/maintaining a more advanced end-user wiki page, if a fan want to make a FAQ like page, that shall be cool (explaining use of STarKos/use of ROMDOS/use of Protext/use of Maxam/use of SymbOS/use of LowerVRAM UpperVRAM jumper versus demos/ROM keyboard map I18n).
But I'll do my possible to still haunt this forum thread :)


To know :
- There is no detection about missing ROMs at root folder of SDCARD, if not ROMs are found at root folder (beside core), no ROMs are inserted and boot is inderteminist (as LowerROM area is not filled with 1 as UpperROM area)
- If no .dsk file is present at root of SDCARD, then no defrag is needed in order to show the "Ready" welcome message of Amstrad (as in MarkusGameBaseTestbench zip)
- The orange led is one when all ROM has finished loading at start and z80 is turned on. You can then do the sound test pressing the delete key.
- initial position of OSD is : LowerVRAM 10 UpperVRAM 11 Drive A, you can save OSD preferences in menu, that does create a file in sdcard, you can defrag after it creation if you want (a know bug in very old firmwares)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:14, 10 December 15

CoreAmstrad (MiST-board version of FPGAmstrad) doc revisited :
 CoreDocAmstrad · mist-devel/mist-board Wiki · GitHub (http://github.com/mist-devel/mist-board/wiki/CoreDocAmstrad)
ROMs/ folder does now contain only the minimum ROMs set for having an Amstrad Ready  :picard:


FPGAmstrad (dev board version) doc contain the TODO-list and exploits :
 FPGAmstrad - CPCWiki (http://www.cpcwiki.eu/index.php/FPGAmstrad)
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 21:00, 11 December 15
Hi Freemac,

I just ordered a bunch of different SD(HC)-Cards. I will try these and keep you informed! My idea about a RAM-Dump was to diff a dump of a freshly initialized running core (at ready-prompt) with mine (which is not running at a prompt). Perhaps I could spot some differences in the loaded roms. But thats just to insure my MiST is not damaged somehow... Would be nice to know more about the DUMP-Capabilities and the exact definition of this file. Perhaps I could do some documentation but I won't promise right now. It is really frustrating seeing these videos about a running core, following every step and not getting it to run (only this blue or orange screen) ;) And, to my utter surprise, no one else seems to have this problem, wtf is wrong with me?

Thanks & best regards!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:52, 14 December 15

Hi Tezet,


To install last Till firmware (HowToInstallTheFirmware · mist-devel/mist-board Wiki · GitHub (http://github.com/mist-devel/mist-board/wiki/HowToInstallTheFirmware))
* Download last firmware in .upg format : mist-binaries/firmware at master · mist-devel/mist-binaries · GitHub (http://github.com/mist-devel/mist-binaries/tree/master/firmware)
* Rename firmware_151118.upg into firmware.upg, and then copy it into SDCARD
* have some core.rbf in your SDCARD (or else MiST-board shall not start (and then you don't access OSD menu using F12)
* Do use OSD menu (F12), go to second page, choose update firmware, check is both versions (sdcard one versus installed one) are differents, if differents, do update action.
* After update, it does auto-reboot, then you can use OSD menu and check firmware version installed.


To prepare minimum CoreAmstrad SDCARD (CoreDocAmstrad · mist-devel/mist-board Wiki · GitHub (http://github.com/mist-devel/mist-board/wiki/CoreDocAmstrad))
* Do format your SDCARD (as it, no more amstrad.ini file, so OSD menu come back to default values (not corrupted)
* Download last core in .rbf format : mist-binaries/cores/amstrad at master · mist-devel/mist-binaries · GitHub (http://github.com/mist-devel/mist-binaries/tree/master/cores/amstrad)
* Rename amstrad_151013_r004.7.2.rbf into core.rbf, and then copy it into SDCARD
* Download the 3 Amstrad ROMs from here : mist-binaries/cores/amstrad/ROMs at master · mist-devel/mist-binaries · GitHub (http://github.com/mist-devel/mist-binaries/tree/master/cores/amstrad/ROMs)
* Copy them into SDCARD, resulting in a SDCARD with only 4 files, and no folders.
* At boot, you shall see the Amstrad "Ready" on screen.


Good luck !
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:24, 15 December 15
* Btw, isn't it a Windows problem ? like not ejecting correctly SDCARD using right-click on drive>eject ?


Spoiler: show
ParaDOS 1.2 tested ok on CoreAmstrad, using ROMDOS-D2 dsk format in drive A, transfert between 720KB dsk and 128KB dsk OK, tested also with STarKos, lovely use of RAM ram expansion  :)
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 21:13, 15 December 15
Would be nice if the problem boils down to windows... But unfortunately I (nearly) always unmount the cards correctly and follow the steps you have described above (I even used SAM-BA to update)... Up to now I have tested about ten different card-modells and none of it seems to work with the Amstrad-Core.

I contacted Till today and he assured me, my MiST should be in perfect working order as the Amiga-Core is running well. My guess, it could be something related to the MIDI-Input seems also pointless. Now I'm quite helpless as I do not have any other idea. Diffing the dumps seems to be the next logical step (I'm hoping to test the cards on a non-midi-MiST but I fear this won't happen untill next year).
Title: Re: FPGAmstrad on MiST-board
Post by: Optimus on 02:32, 16 December 15
Just to say, I have the same problem with Tezet.


I just received the Mist with MIDI out.
Using a 4GB SD card that is not SDHC, format as Fat32.
Tried to do exactly the same process, update the firmware, format the card again, copy those exact latest files, nothing. Just the red screen which changes to blue when I change the roms.


The board works just fine with the AtariST core.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:30, 16 December 15
I invite you to create an issue in Issues · mist-devel/mist-binaries · GitHub (http://github.com/mist-devel/mist-binaries/issues)


I don't have this MIDI version.


A cool test shall be coming back into some old firmware versions.
Title: Re: FPGAmstrad on MiST-board
Post by: tezet on 09:23, 19 December 15
Thanks Optimus, in a way these are good news to me - I thought I'm the only one not getting this to work...

I contacted Till Harbaum last week just to make sure, it has nothing to do with MIDI. He tested the Amstrad-Core on his MIDI-Board and it worked fine with the latest firmware (he even used a 16GB SD-Card)... So now I only got one explanation: WE ARE CURSED! And I only made little fun out of the name MiST (well, in german this is so very tempting) - Now I will use the MiST to emulate Amiga and search for a proper AmigaOS-CPC-Emulator (I wanted it to do the other way round, just have seen a youtube-video) ;)

But ok, enough disappointment, my next steps will be:

- ask Lotharek if something has been changed in the production-process
- test some cards on a non-Midi-MiST a friend of mine bought (will be done in January due to holidays)
- Send a SD-Card to Till so he can prepare and test it with his working MiST (or better: send him my MiST to check on it, but I don't know, if he has the time to do this).



Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:32, 28 December 15
[attachimg=2]
Perhaps you can test this alpha r005 version :)
scandoubler from Tobi, and original TV signal if you select TV in output mode (I can't test this last signal, I don't have any old TV at home ^^')
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:30, 04 January 16
r004.8 realized : some efforts about GateArray and CRTC, now this part of source code is comparable to DevilMarkus JEMU one (not JDesktop version yet ^^')
Results :
* Batman Forever music is good (except during welcome vertical scrolling ^^')
Games unlocked :

* Saboteur 2
* Gauntlet 1 & 2
* Super Cauldron
* Teenage Mutant Hero Turtles (Konami)

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:04, 11 January 16
r004.8.1 (effort around PPI)
+ Moktar
+ Prehistorik II
 [ You are not allowed to view attachments ]
 [ You are not allowed to view attachments ]
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:31, 12 January 16
And I knew I forgot to do something during Xmas... :(
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:24, 19 January 16
I just commited r004.8.1.1, the first stable version of r004.8  8)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 12:39, 19 January 16
Changes?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 13:40, 19 January 16
Changes?
None,
it is just a classic code refactoring to improve global performance (not Amstrad performance, but core performance...)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 15:13, 19 January 16
Ah ok, thanks man!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:32, 04 February 16


r005


It's r004.8.2 + TV mode in bottom of OSD, this TV mode is original signal output (50Hz)


I have no TV so in case of problems, do write me at renaudhelias at gmail dot com (I shall have some returns in next weeks)


btw I'm losing more and more website ressource access (from home and from work), but I shall be always accessible from email.


*PS : I bought a MiST-board "MIDI extension version", and CoreAmstrad didn't work on it, so I had it to my TODO-list. Only low-cost version seems running CoreAmstrad correctly for the moment. I bought also a SCART adapter (but still not have a TV to use it ^^')
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 15:11, 05 February 16
If I recall from the atari-forum others have had issues with the MIDI version...


Thanks for the update!!!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:22, 08 February 16
r005.1 - CPC Aventure unlocked : change disk side message displayed and reachable.


[attachimg=1]
Title: Re: FPGAmstrad on MiST-board
Post by: TFM on 18:42, 11 February 16
Great!  :)  This is one of my favorite games ever! Sadly the English version can't be completed, it crashed at the end. So I suggest to use the French version if you want to complete it. (Else you may think it's a problem with the Mist, but it's the bug in the English version).  :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 10:27, 15 February 16
r005.2 - Yamaha port A debug (keyboard) - problem of delay in latches => GPA intro "press F1 or F2" unlocked.


Markus Testbench r005.2 : 85.4%


CoreAmstrad/MarkusGB_test_r005.2.txt at master · renaudhelias/CoreAmstrad · (http://github.com/renaudhelias/CoreAmstrad/blob/master/MarkusGameBaseTestbench/MarkusGB_test_r005.2.txt)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:57, 13 March 16
r005.3c8 - experimental version, running on MiST-board "MIDI version". RAM optimization.
Title: Re: FPGAmstrad on MiST-board
Post by: garvalf on 12:50, 15 March 16
I own a MiST with midi (midi built-in from Lotharek), and I don't remember having problems with the Amstrad core...
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:19, 16 March 16
I own a MiST with midi (midi built-in from Lotharek), and I don't remember having problems with the Amstrad core...
Well to know.
I reproduced the bug (Tobi's bug) in a MIDI-version I just bought, another guy (from Spain) had this problem in a classic version. Some RAM were turning into "sleeping mode", and needed better RAM synchronization algorithm...
Here a version that I'll commit next week. It is a final version, not experimental : here I know why it does solve this sort of problem  ;)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:19, 15 July 16

r005.4 - two upperROM set : if you press space during reset_key ("page up" key), it does load *.fXX ROMs instead of *.eXX ROMs
*.eZZ still contains common lowerROM...


Personnaly I have :
- ParaDOSv1.2.f07
- BASIC1-1-french.f00
- MAXAM.e05
- PROTEXT.e06
- ParaDOSv1.2.e07
- BASIC1-1-french.e00
- OS6128-french.eZZ


So my CPC does boot with MAXAM and PROTEXT inserted, and if I press "space" key during pressing "page up" key, MAXAM and PROTEXT are removed, so I can then insert Asphalt game dsk and play it.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:58, 25 July 16
r005.5 - Yamaha SOUND_CLK now mapped from GateArray... (sound clock is now greatly synchronized with theses WAIT_n insertions...)

Unlocked games :
+ Saboteur 2
+ Abracadabra et les voleurs de temps (just have to press F1..F9 one time)
+ Sim City (joystick is OK at each game launch)
+ Trail Blazer (no more raster problem)
+ Marauder (keyboard/joystick is fine now)
+ Battle Command (is fine now...)
+ Garfield
+ Acornsoft Pacman
+ Nigel Mansell's Grand Prix
+ Moving Target
+ Internationnal Ninja Rabbit
+ Human Killing Machine
+ Outrun
+ Psycho Hopper
+ Puzznix
+ Pyromydya
+ Skate Crazy (0111)
+ Skywar
+ The Never Ending Story
+ Who dares wins II
+ Zombi

+ demo -Circles (doesn't freeze anymore) <= helpfull for calibration <3
+ demo -littleOne (raster OK)
+ demo Chill out and relax
+ demo -Nibou

[attachimg=1]
[attachimg=2]

Markus Testbench r005.5 : 86.57 %

http://github.com/renaudhelias/CoreAmstrad/tree/master/MarkusGameBaseTestbench
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 15:26, 08 August 16
Rats, it's been a long time since I last played with the little box... :(
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:20, 19 August 16
r005.6 - refactor of r005.5 + mode TV moved into mist.ini file (no more in OSD menu) + dsk SK bit (a first try) + arnoldemu testbench (PPI PSG CPCTEST)
Unlocked games :
[attachimg=1][attachimg=2][attachimg=3][attachimg=4]
Title: Re: FPGAmstrad on MiST-board
Post by: arnoldemu on 21:31, 19 August 16
... dsk SK bit (a first try) ...

test/fdctest/fdctest/fdctest.dsk

Test works best on an 80 Track double sided disk with correct ready.

SK and other tests here.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 13:44, 28 August 16
Spoiler: show
[attachimg=1]
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 19:22, 03 September 16
r005.7 realized. No more LowerVRAM/UpperVRAM select in OSD menu.
Games unlocked :
[attachimg=1]
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:15, 03 September 16
Spoiler: show
800x600
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 12:17, 06 September 16
Meaning? :D
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:30, 06 September 16
Spoiler: show
800x600 (wip)
[attachimg=1]
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:43, 06 September 16
Meaning? :D
I'm passing into 800x600@75Hz VGA. I'm trying to unlock STarKos fully. wip
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 13:51, 07 September 16
Oh, hehe, that's a CRT monitor then?
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 17:19, 07 September 16
Great news !!!
Nice to see that this core is still under development ;)



Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 21:43, 08 September 16
wip, a lot more work to do, finally 800x600@72Hz
[attachimg=2][attachimg=3]
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:20, 09 September 16
Still wip... Damn so many ghosts effects to kill at this level.

[attachimg=1]
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 12:19, 10 September 16
Just try the last core, better for some demos but still a lot of things to debug ;)


Courage !! :D
Title: Re: FPGAmstrad on MiST-board
Post by: TotO on 14:07, 10 September 16
wip, a lot more work to do, finally 800x600@72Hz
Should be 100Hz, for a perfect 50Hz synch?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:38, 10 September 16
Should be 100Hz, for a perfect 50Hz synch?
I found a modeline 800x600@100  69.65 800 864 928 1088 600 604 610 640 -HSync -VSync, I'll see if it does match clocks board equations (it's more about luck in fact)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:42, 10 September 16
r005.7.2 (640x480) : Gatearray clock kick, and new palette heuristic.
new palette heuristic => Batman demo Jocker effect seems ok.
Gatearray clock kick => Batman music seem less slow (cool level reached (it's about feeling...))
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 17:07, 11 September 16
r005.8 800x600@72Hz (in VGA mode)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:39, 12 September 16
r005.8.1 : RAM optimization (and no more grey at bottom of vertical border + vertically centered + horizontally centered following Prehistorik 2 calibration :p)
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 10:28, 13 September 16
Great !! I will test this new versio nthis evening :)

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 19:18, 17 September 16
r005.8.2 : brown border at 768×576 and orange border at 768×544, and little 1/2 char vertical offset (as in original CPC)
Brown border is regular, its help to calibrate.
A lot of ghosts were fixed
STarkos is correctly centered  8)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 00:25, 01 October 16
r005.8.3 : r005.7.1's r52 kick optimization revisited (a little bug fixed (one line of code removed...  :doh: ))
Sounds nicer in :
- RTS Demo
- A Step Beyond Demo
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 21:15, 03 October 16
r005.8.4 : nicer border (still quiet ghosts)
Title: Re: FPGAmstrad on MiST-board
Post by: cpcuser on 16:22, 26 October 16
Mist with the FlashAir .


http://mist-fpga.net/viewtopic.php?f=8&t=236





Greeting
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:30, 26 October 16
Huh, yup, that's interesting indeed, never thought of using such an SD with a device like the MiST or the HxC!
Title: Re: FPGAmstrad on MiST-board
Post by: dragon on 17:01, 26 October 16
Huh, yup, that's interesting indeed, never thought of using such an SD with a device like the MiST or the HxC!

The flash air sd card with wifi?.

I do it time ago in hxc, If you not mount the autobbot. You can upload the .hfe And with the left right buttons you can mount it in the cpc.

But in the moment you execute the autoboot sd card disconnect wifi.
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 18:07, 26 October 16
Interesting  :o
Title: Re: FPGAmstrad on MiST-board
Post by: cpcuser on 18:49, 26 October 16
the foto von der flashair einrichten.

gruss
Title: Re: FPGAmstrad on MiST-board
Post by: ||C|-|E|| on 19:29, 26 October 16
This is actually really really interesting for the HxC, as Gryzor was saying...  :)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:00, 27 October 16
I wonder how/why I never thought of that before... used to have an EyeFi and when it died I was looking into all these cards but it never occurred to me I could use them for something more useful than a camera!
Title: Re: FPGAmstrad on MiST-board
Post by: skywalky on 16:07, 27 October 16
This is the card I have for the ZX-UNO  ;D
In the ZX-UNO forum there is a setup for connecting to an access point http://www.zxuno.com/forum/viewtopic.php?f=25&t=461#p5964
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:28, 27 October 16
I see he warns against using high channels (above 10). But I think that this is a regional restriction only, so depending on your card you may get high enough...
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:48, 05 December 16
r005.8.6 is out :)

Small changes , but :
Title: Re: FPGAmstrad on MiST-board
Post by: Ast on 13:29, 06 December 16
r005.8.2 : brown border at 768×576 and orange border at 768×544, and little 1/2 char vertical offset (as in original CPC)
Brown border is regular, its help to calibrate.
A lot of ghosts were fixed
STarkos is correctly centered  8)
Hey freemac, thanks to find my lost z80 code!
 ;D


Link!!! (http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/fpgamstrad-on-mist-board/?action=dlattach;attach=20561)
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 17:44, 06 December 16
Nice improvements ! Will try this new version this evening :D
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:53, 16 December 16
r005.8.7 : comparison of Z80 implementations :
* T80 with WAIT_n hack (<r005.8.7)
* T80 without WAIT_n hack but WAIT_n plugged <= winner
* A-Z80 without WAIT_n hack but WAIT_n plugged

Pinball Dreams CPC game unlocked.

r005.8.8 : r12/r13 writable during VCC=0
* Batman Demo - "Flying chip" part, unlocked.

[youtube]http://www.youtube.com/watch?v=eTnTXKGS_Fo[/youtube]
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:10, 31 December 16
r005.8.9 : green screen (high depth : strangely monochrome has a higher resolution than color...)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:45, 05 January 17
r00.5.8.9.2 "Les Sucres en Morceaux" - green screen
[attachimg=1]
* color screen also revisited
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:21, 29 January 17

r005.8.11 Scanlines
r005.8.11e Scanlines - experimental/ fork (see experimental folder in amstrad core folder) *
[attachimg=1]




*experimental version is a fork, better in some games (Arkanoid, Pinball Dreams PREVIEW), worse in some other ones (Saboteur2, Tetris95)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:43, 30 January 17

* r005.8.12 : Quasar CRTC Diff. CRTC1 detection ok : From Scratch Vanity (but crach) Still Rising Vanity does run (but -Pulpo does crach)
* r005.8.12e : experimental fork (same way of fork, just a boolean) - From Scratch Vanity does run, -Pulpo does run also.
Better feeling in games.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:32, 02 February 17
What's the compatibility rate these days?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:52, 05 February 17

r005.8.13 : better CRTC1, and better VRAM, better in Still Rising Vanity (cool !), PPI overclocked (because it is not clocked PPI...)
r005.8.13e : Arkanoid 2 running fine on experimental fork.


What's the compatibility rate these days?
I don't know, but it's feeling nice, I succeed in merging all my last version, so I shall reach an "over-testable version" candidate promptly.
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 17:21, 05 February 17
Last version is available ?
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 17:33, 05 February 17
Last version is available ?
Yes :)


[youtube]http://www.youtube.com/watch?v=vYVLHaa4fM8[/youtube]
Title: Re: FPGAmstrad on MiST-board
Post by: Kris on 17:39, 05 February 17
Great !!!
Just got the last core and install it: very nice impromvements ! Congrats !!


For those who may be interested: https://github.com/mist-devel/mist-binaries/tree/master/cores/amstrad



Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:08, 12 February 17
r005.8.14 : GA WAIT_n generator revisited :
quick : Arkanoid II, Prehistoric II. Ecole demo. Pinball Dreams
slow : Saboteur 2. Still Rising demo.


and CRTC0|CRTC1 choice (CRTC1 by default)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 21:04, 16 March 17
Spoiler: show
FDC Devilmarkus source code alignement
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:50, 04 April 17
r005.8.14.1 : TV mode using VSYNC/HSYNC xor and Gerald VSYNC/HSYNC width formula.

 This version was realised with atari forum team, testing several experimental forks.

 It does output 15kHz original signal on SCART. Do use mist.ini scandoubler_disable=1 (see http://github.com/mist-devel/mist-board/wiki/DocIni)

 Sorry FDC work will be for a next time : my r005.8.15 candidate version does fail 80% of arnoldemu FDC testbench...  :picard:
Title: Re: FPGAmstrad on MiST-board
Post by: Sykobee (Briggsy) on 00:27, 05 April 17
Nice work.


Did you see the ZX-UNO CPC Core that's in development?

https://www.facebook.com/groups/5357712057/permalink/10154557065182058/ (https://www.facebook.com/groups/5357712057/permalink/10154557065182058/)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 09:41, 05 April 17
r005.8.14.1 : TV mode using VSYNC/HSYNC xor and Gerald VSYNC/HSYNC width formula.

 This version was realised with atari forum team, testing several experimental forks.

 It does output 15kHz original signal on SCART. Do use mist.ini scandoubler_disable=1 (see http://github.com/mist-devel/mist-board/wiki/DocIni (http://github.com/mist-devel/mist-board/wiki/DocIni))

 Sorry FDC work will be for a next time : my r005.8.15 candidate version does fail 80% of arnol


Wait... SCART? Am I missing something??




Nice work.
Did you see the ZX-UNO CPC Core that's in development?
   


Ha, saw that last night just before going to bed and saved it to take a look today... the menu looks awesome!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:39, 05 April 17

Wait... SCART? Am I missing something??
MiST has an option to switch between VGA and SCART output. It's call scandoubler_disable option in mist.ini file.
If you set this value at true, the original CPC signal is output (15KHz), and can work in some TVs.


Ha, saw that last night just before going to bed and saved it to take a look today... the menu looks awesome!
Seen, he is using the same approach I did in FPGAmstrad (RAM+VGA (http://www.cpcwiki.eu/index.php/FPGAmstrad#Minimal_Amstrad_Architecture:_Build_your_own_Z80_Amstrad_Computer))
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 15:18, 05 April 17
Ahhh VGA to SCART cable... never done that!!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 22:22, 01 May 17

I'll be present at THSF festival, 2017 may 25 - 28.http://mixart-myrys.org/agenda/2017/mai/thsf-2017/
Location : mixart-myrys, Toulouse (31), France.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:04, 07 May 17
amstrad_170507_r005.8.14.2e.rbf : TV mode OK, but with some little h-offset bug (one half-char), and still no borders.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 01:37, 11 May 17
[attachimg=1]
r005.8.14.2 : TV mode with border and screen well centered.
Games tested OK in TV mode : RTypee128K, Mammouth (RESET20 demo), Arkanoid, Donkey Kong, Star Sabre, Tempest.
Title: Re: FPGAmstrad on MiST-board
Post by: Nodoyuna on 20:55, 18 May 17
Hi
I'm a new user of Mist FPGA and I'm amazed of the cores available for it
I'm checking the cores and now I'm checking your Amstrad core
Please forgive me if I make novice questions, but I'm no expert in FPGA or Amstrad itself (I used to have a C64 machine)


First, as I've read on this topic, the core implements an Amstrad CPC 6128, right?
Are there any plan (in the future) of implement the CPC 464 model?
I'm asking because of the TAP images available and that cannot be played on 6128 core right now
Same question about cartridges... Do you have plans of implement them in the future?


Maybe the CPC 464 model (and even the "console version" GX4000 model) can be added to the current Amstrad core as optional features (as I've seen on other cores, that implements various models of the main machine)


Besides that, real contratulations on having this core running in some mature form... I have my mist connected to a CRT TV with the VGA to SCART cable and it's really great to see the machines running in their native resolution


About my questions, thanks in advance for the (possible) answers


Cheers

Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 00:02, 19 May 17
Hi,


An effort about reading tapes could be great (added to TODO-list), but that shall be a big effort (about time).
I've asked Till, he has no returns about choosing two differents format of files in OSD. But I think I can hack it, resulting on a proof of concept, but for that... I first have to proove that I can read CDT format.


The CPC+ version is also a great challenge, but I don't know if current platform could support it. There is really nice demos in CPC+, but I do prefer to stupidly focus on validating 6128 version. CPC+ is "more complex" than CPC, it's a CPC with a lot of addons. If my CPC is not mature, not way to begin a CPC+ (but Markus does succeed on it... so....)


Next steps will be about FDC, and then about Z80 itself... I've got a lot of luck having testbench to progress this way.


Luck has to be provocated.
Title: Re: FPGAmstrad on MiST-board
Post by: Bryce on 00:41, 19 May 17
I think @ralferoo (http://www.cpcwiki.eu/forum/index.php?action=profile;u=476) had already written FPGA code for tape reading for his FPGA CPC. Maybe you can borrow some code from him?

Bryce.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 01:48, 26 May 17
First day of THSF festival, whatever age of Amstrad tester, one common return : "have you got a 2 player games ?"
So we played :
- Double Dragon II (several times in fact)
- Arkanoid (alternated)
But failed in running Ikari (player lefted), and 1943 (joy+keyboard only ?)



Damn, why didn't I launched Psycho pigs ?


Have you got a list of 2 player games ? with a preference using two joysticks, I do remember a moto game...
EDIT : http://www.cpcwiki.eu/forum/games/amstrad-multi-player-games/
 (http://www.cpcwiki.eu/forum/games/amstrad-multi-player-games/)
EDIT2 :[/size] - Grand Prix 500cc  :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 00:33, 29 May 17
Third day of THSF : three hours of Gauntlet II game, cooperative. Death stupidly at level 35 against sort of blood sucker or Darth Vader.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:30, 10 June 17
r005.8.14.3 : robustness (quality of code)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:40, 12 July 17
r005.8.14.4e : Green OSD while screen is in green mode. And an experimental 800x600@71.18Hz

[attachimg=1]

After some experiments, I succeed having a resolution that can be shown in a SAMSUNG 16/9 (poor low cost SyncMaster B2430), if I do press the "auto" button at bottom of screen :
[attachimg=2]
[attachimg=3]

Tested ok on 4/3 screen, seems running fine on a stupid 5/4 screen.

r005.8.15 is still in progress (arnoldemu testbench : 12% of begining tests are running ok...)
Title: Re: FPGAmstrad on MiST-board
Post by: ralferoo on 19:36, 06 August 17
I think @ralferoo (http://www.cpcwiki.eu/forum/index.php?action=profile;u=476) had already written FPGA code for tape reading for his FPGA CPC. Maybe you can borrow some code from him?
CPC FPGA had a physical tape input port. I never bothered implementing CDT playback mostly because I have hardly any CDT files but lots of real tapes.


Oddly, I rarely used CPC FPGA for demo development as I had a real CPC on the desk next to the PC anyway.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 14:50, 11 August 17
r005.8.15 : arnoldemu's old FDCTEST testbench applied. Failing results are listed and explained here :http://www.cpcwiki.eu/index.php/FPGAmstrad#arnoldemu.27s_testbench_results (http://www.cpcwiki.eu/index.php/FPGAmstrad#arnoldemu.27s_testbench_results)

Batman Forever does now run ok using the single disk version.

Somes "Nigel Mansell's Grand Prix" tracks unlocked.

https://www.youtube.com/watch?v=WvtE50yzr_Q
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 16:26, 16 August 17
I love the green OSD :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 20:26, 18 September 17
r005.8.16c3 : begin of Z80 instruction timing effort, 32 instructions timing fixed in MEM_wr:slow mode.

So MEM_wr:slow OSD parameter became serious (it was a theorical parameter, you can turn it now by default in practice ^^')

Tests done :
* Still Rising demo : less garbage pixels, can be run completly using MEM_wr=slow
* Logon's run - 3D meets the aging bits : better, can be run completly using MEM_wr=slow
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 19:41, 20 September 17
r005.8.16c4 : Z80 instruction timing effort, all main instructions timing fixed in MEM_wr:slow mode except one (for me 2A does take    4 NOPs...)
WAIT_n generator updated : for instruction using 5T during M1 cycle, I insert two WAIT_n (experimental)

Tests done :
* Still Rising : no more pixel garbage in plasma using MEM_wr=slow
* 30YMD : main menu (with cursor) running fine using MEM_wr=slow

It's still a candidate version (c4 equals 4th backup of wip). I could only give two days of full work on this realise (c3+c4)... I do also a lot of other activities theses holidays. Have fun !

https://www.youtube.com/watch?v=ovAuDRD2wj4

Tests done:
* @00:20 Wunder.bar 2017 OK
* @02:30 Logon's run - 3D meets the aging bits 2017 OK : does not freeze
* @06:30 Still Rising (Vanity) 2013 OK : plasma unlocked
* @12:40 Batman 2015 KO : chip flying ground full of pixel garbage (CRTC offset ?)
* @24:00 Ecole buissonière 2000 OK
* @34:00 30YMD 2016 menu OK, demo GPA KO : a lot of garbage lines (CRTC offset ?), same problem in r005.8.16c3 <= oups, 30YMD's GPA runs better using CRTC0 ^^'
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:49, 21 January 18
r005.8.15.1: VGA counters fix... How can't I see that before ? (found while merging ZX-Uno version...)
Taken into account also in experimental r005.8.16c30 (experimental != validated)
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 09:39, 22 January 18
Thanks freemac, what kind of demo/game may we test ?
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 12:11, 22 January 18
I toyed with this core over Xmas. I didn't test it extensively, I must say, but the progress is admirable, so thanks for updating mate!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 15:16, 23 January 18
Thanks freemac, what kind of demo/game may we test ?
Not new demos unlocked for r005.8.15.1 (same as r005.8.15, but just more robustness)
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 18:48, 23 January 18
Ok, many thanks for you work.


I have a MiST since 2016 and I bought it mainly for the availability of an Amstrad CPC core. It's one of the better cores available on this platform. ;)
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 18:48, 27 January 18
That's true. I've spent countless hours going through all the cores and games (all available cracks!) for the ST, and compared to that, the CPC is just goodness.
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 01:07, 01 March 18
r005.8.15.2: merge of OSD menu with r005.8.16c34.
Now scanlines is mandatory (one year I didn't touch this option on OSD :p)
The "MEM_wr:quick|low" became "WAIT_n:quick|low" but has same implementation than previous version here.

r005.8.16c34: merge of OSD menu with r005.8.15.2.
Now scanlines is mandatory
The "WAIT_n:quick" is in theory the same as in r005.8.15.2 "WAIT_n:quick", it is to say that Z80 instruction are just modulo 4, but not slowed more using a "CPC Interruption Timing" array. In fact most of games are running fine with "WAIT_n:quick" so I prefer to let this option here
The "WAIT_n:low" is a mix of theory and human calibration succeeding in launch fine the "Logon's run - 3D meets the aging bits" (coolest with option VGA:dbscan50Hz => does show the 1943 plane in background)

Both has now the VGA:dbscan50Hz|vram72Hz option (pure VGA 72Hz VRAM, or VGA via scandoubler component)

Got currently a serious problem on r005.8.16c34 with winape's plustest testbench, I can add whatever WAIT_n per whatever Z80 instruction, but if plustest "Instruction Timing" testbench does pass, "Logon's run - 3D meets the aging bits" does run worst than if I add theoricals "Instruction Timing" delays (ones from plustest ran directly on winape versus Z80 doc), so plustest testbench is not enough to calibrate my "CPC Z80 Instruction Timing", so as plustest does say "does run fine only if NOP and interrupt are well implemented" I think that "NOP or else my interrupt has problem" (so I tryed to delay my NOP, then it is really worse, so finally I think that my Z80 interrupt implementation has a problem...)

I can try a third fork hacking the WAIT_n entry of Z80 by slowing down the Z80 clock entry directly as on r005.8.15.2 ignoring this way the Z80 "WAIT_n" wire implementation, using also a "CPC Instruction Timing" array approach.
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 20:12, 03 March 18
Thanks for keeping working on it :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 18:38, 25 July 18
http://www.youtube.com/watch?v=FhiPkY34yJ4 (http://www.youtube.com/watch?v=FhiPkY34yJ4)

r005.8.16: WAIT_n:slow is using WAIT_n generator and does pass plustest.dsk
"Logon's run - 3D meets the aging bits" does still pass using VGA:scandb50Hz
"phX" does pass (missing some parts effect but sound is good, and the rotating square also) using VGA:vram72Hz
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 00:41, 26 July 18
r005.8.16.1: Pinball Dreams is back 8)
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 09:45, 26 July 18
Yes, now it works  :)


Why no more scanlines option in 72Hz mode ?
I'd like to activate/deactivate them.


Is it possible to fix the graphic bug scroll in Commando ?


Many thanks for you work !
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 11:52, 26 July 18
Why no more scanlines option in 72Hz mode ?
I'd like to activate/deactivate them.
scanlines are always activated in this version. But I have seen that Sorgelig does add more options but still using the OSD 6 menu lines, perhaps I can switch between 4 options in color menu : color/green/color+scanlines/green+scanlines.

Is it possible to fix the graphic bug scroll in Commando ?
Commando bugs are in the known bug list (scroll is bad in level 1, moto isn't on bridge in level 2) : http://www.cpcwiki.eu/index.php/FPGAmstrad#On_MiST-board_CoreAmstrad_version
That's a mistery, perhaps it is using CPIR/CPDR Z80 instructions that are not implemented in T80 (does same as CPI/CPD in T80)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 13:46, 26 July 18
r005.8.16.2: + OSD options : VGA:vram72Hz|scanlines72Hz|scandb50Hz
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 19:00, 26 July 18
Well Done !
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 00:40, 27 July 18
r005.8.16.3: commando unlocked by Sorgelig (I did insert a regression in Z80, my bad)

r005.8.16.4: plustest.dsk tb 5 full OK (CPIR/CPDR timing ok)
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 08:30, 27 July 18
WoW !  ;)
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 21:48, 27 July 18
Today tested with success Commando and other games, in order Batman Forever too. All works wonderfully !


Now this core in near perfect and can replace a broken standard CPC 6128.
MiST platform is never dead, and it counts the best retro-machines to play.


I'm very glad with this update.
Thank you very much Freemac and Sorgelig for the help on Z80 code.
 :) :) :) :) :) :)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:56, 29 July 18
And WWS2 does run now on it  8)

Last games not running are ones with FDC problems (next effort shall be 2nd FDC testbench from arnoldemu... next time)

I'm so happy Sorgelig did unlock T80 so far, a lot of thanks to him !
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 23:33, 29 September 18
Spoiler
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 09:37, 30 September 18
Good !
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 21:31, 03 October 18
Spoiler

https://www.youtube.com/watch?v=vS3b-uGFX80
Title: Re: FPGAmstrad on MiST-board
Post by: Gryzor on 14:48, 06 November 18
Ohh a real breakthrough!
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 16:06, 24 January 19


I upload the core inside
https://github.com/mist-devel/mist-binaries/blob/master/cores/amstrad
file name : amstradTape_190124_r005.8.16.7c34.rbf


At this step it is a fork, where dsk cannot be inserted.


Game tested :
- Fruity Frank CDT OK
Title: Re: FPGAmstrad on MiST-board
Post by: LambdaMikel on 17:30, 24 January 19

Game tested :
- Fruity Frank CDT OK
Good choice - best CPC game ever!
Title: Re: FPGAmstrad on MiST-board
Post by: DanyPPC on 20:17, 24 January 19
Oh, yeah !!! CDT files can now be loaded  ;)
Title: Re: FPGAmstrad on MiST-board
Post by: freemac on 12:49, 18 May 19
r005.8.16.8: tape CDT + disc DSK.
+ Reset button (page up) does reset CPC correctly during load of tape.