Author Topic: CPC Plus cartridge replacement : one more  (Read 237295 times)

0 Members and 3 Guests are viewing this topic.

Offline dragon

  • 6128 Plus
  • ******
  • Posts: 1.412
  • Country: es
  • Liked: 580
  • Likes Given: 484
Re: CPC Plus cartridge replacement : one more
« Reply #475 on: 21:44, 01 April 15 »
OK I got my Eprom version out and tested it in my 6128 plus... All games work.


checked the C4CPC in the same machine... Only a few work.


Checked the size of my classics eprom, it's a M27C4001 (512kb) so much larger than either image in this thread so far.
> on inspection the fill 512kb is not full, a lot of the end is filled with FF, but the data section is longer than 256kb. I guess the other dumps were truncated at some point in the past.


Dumped it from the eprom to BIN then BIN->CPR


tested that one in the C4CPC


All Games works perfectly in both the 464plus and 6128plus


Attached here is the 513kb CPR file

I tested it in gx4000 All games boot except donkey kong lol .

PD: Yes arnold the glitches you described are my defects.

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: CPC Plus cartridge replacement : one more
« Reply #476 on: 22:52, 01 April 15 »

Agreed, I did not even know about .crt file (cathode ray tube  ::) ). If it's raw binary, lets call it .bin !

Good idea. Too much extensions confuse anyway. [nb]Do we have .lcd file support yet? :laugh: [/nb][/size]
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #477 on: 23:37, 01 April 15 »
OK I got my Eprom version out and tested it in my 6128 plus... All games work.


checked the C4CPC in the same machine... Only a few work.


Checked the size of my classics eprom, it's a M27C4001 (512kb) so much larger than either image in this thread so far.
> on inspection the fill 512kb is not full, a lot of the end is filled with FF, but the data section is longer than 256kb. I guess the other dumps were truncated at some point in the past.


Dumped it from the eprom to BIN then BIN->CPR


tested that one in the C4CPC


All Games works perfectly in both the 464plus and 6128plus


Attached here is the 513kb CPR file
I will fix donkey Kong on this dump too.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #478 on: 23:41, 01 April 15 »
I will fix donkey Kong on this dump too.
cheers kev ;)
IRC:  #Retro4All on Freenode

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #479 on: 11:35, 02 April 15 »
cheers kev ;)
Attached.

(Craigs dump with Donkey Kong start fix for gx4000).
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #480 on: 11:49, 02 April 15 »
I tested it in gx4000 All games boot except donkey kong lol .

PD: Yes arnold the glitches you described are my defects.
I didn't look into the glitch in a lot of detail. There is nothing unusual in the code, it is using standard firmware functions to change the mode. It may be down to the difference in cpu timing on the gx4000. I will investigate further it's worth looking at.


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

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #481 on: 11:56, 02 April 15 »
I didn't look into the glitch in a lot of detail. There is nothing unusual in the code, it is using standard firmware functions to change the mode. It may be down to the difference in cpu timing on the gx4000. I will investigate further it's worth looking at.
the plus machines also have this mode change glitch, I guess it is possibly a global asic timing thing.
IRC:  #Retro4All on Freenode

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #482 on: 12:09, 02 April 15 »
the plus machines also have this mode change glitch, I guess it is possibly a global asic timing thing.
Is it ever seen on the normal CPC?

I've seen similar stuff happen before and the way the mode is changed is not the most accurate, I came up with a much more accurate method a few years ago.

Normal method can move by 8 lines, my more accurate method never had the same problem.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #483 on: 12:15, 02 April 15 »
Is it ever seen on the normal CPC?

I've seen similar stuff happen before and the way the mode is changed is not the most accurate, I came up with a much more accurate method a few years ago.

Normal method can move by 8 lines, my more accurate method never had the same problem.
I'll grab the dsk from CPC power tonight and test it in my pluses, and cpcs and let you know.
IRC:  #Retro4All on Freenode

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #484 on: 12:45, 02 April 15 »
http://www.cpc-power.com/index.php?page=detail&num=8838(well only curiosity of course)
The CSD cart is working correctly. Of course it needs a modified 464/6128+ with CSD hardware and more than 1 cart to work correctly.

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

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #485 on: 12:56, 02 April 15 »
The CSD cart is working correctly. Of course it needs a modified 464/6128+ with CSD hardware and more than 1 cart to work correctly.
hmmm I wonder if it could be modified to use the 16 slots of a C4CPC? That would be a cool default slot 0 cart.
IRC:  #Retro4All on Freenode

Offline dragon

  • 6128 Plus
  • ******
  • Posts: 1.412
  • Country: es
  • Liked: 580
  • Likes Given: 484
Re: CPC Plus cartridge replacement : one more
« Reply #486 on: 14:24, 02 April 15 »
It's just a bin file with a  "crt" extension.
Change to .bin and try in c4cpc.

Shame you can't control it via joystick.

EDIT: Tried it. Yes works on gx4000 - but no joystick so I can't play it.
I can skip the nice scroller and title screen however.

Can be fixed?. I mean you don't not need construct the entire joystick system for the menu. Only insert manually The two numbers/ calls to select joystick and start game, and jump the menu in gx4000.

Quote from: CraigsBar link=topic=9856.msg96672#msg96672

date=1427966113
I'll grab the dsk from CPC power tonight and test it in my pluses, and cpcs and let you know.


Test it in the cost-down. If I was amstrad engineer,  I probably copy design circuit for old generatiĆ³n from the pre-asic chip.

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #487 on: 14:30, 02 April 15 »
Test it in the cost-down. If I was amstrad engineer,  I probably copy design circuit for old generatiĆ³n from the pre-asic chip.

I don't have a cost down. I have a revision 1 Schneider CPC 6128, a revision 2 Amstrad CPC 6128, and 3 plusses (2 x 6128+ and 1 x 464+)

So I cannot test in cost down, but I can output the dsk to my HxC and test it in the machines I do have.
IRC:  #Retro4All on Freenode

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #488 on: 14:37, 02 April 15 »
Can be fixed?. I mean you don't not need construct the entire joystick system for the menu. Only insert manually The two numbers/ calls to select joystick and start game, and jump the menu in gx4000.
If it's compressed then it's best for Cesar to fix it.

If it's uncompressed, then possibly, but as with other carts it's extra work.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #489 on: 20:53, 02 April 15 »
I don't have a cost down. I have a revision 1 Schneider CPC 6128, a revision 2 Amstrad CPC 6128, and 3 plusses (2 x 6128+ and 1 x 464+)

So I cannot test in cost down, but I can output the dsk to my HxC and test it in the machines I do have.
okay....

Grabbed the original dsk and the 16k EPROM from cpc-power.

The disk has no issues with the modesplit on any machine.
The ROM however always has the mode split corruption. I guess this was used as the source for the cart release on Amstrad classics.
IRC:  #Retro4All on Freenode

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #490 on: 03:16, 04 April 15 »
OK Since this seems like a reasonable place to share.. Here are some quick and dirty conversions to CPR I have made, either a long time ago to test my Eprom Swap cart, or since getting my c4cpc.


None are extended to use the plus features - I am not that skilled


None are tested on the GX4000 - They are to all intents and purposes No$cart conversions.


IRC:  #Retro4All on Freenode

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #491 on: 12:35, 04 April 15 »
OK Since this seems like a reasonable place to share.. Here are some quick and dirty conversions to CPR I have made, either a long time ago to test my Eprom Swap cart, or since getting my c4cpc.


None are extended to use the plus features - I am not that skilled


None are tested on the GX4000 - They are to all intents and purposes No$cart conversions.
They will not work on gx4000 because you used no$cart.

When I fix no$cart would you remake them?
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #492 on: 12:47, 04 April 15 »
They will not work on gx4000 because you used no$cart.

When I fix no$cart would you remake them?
sure i will ;)

The only change I made to no$cart was to remove the broken logo from the top left ;)  if it had been a working accurate logo I'd have left it lol.
IRC:  #Retro4All on Freenode

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: CPC Plus cartridge replacement : one more
« Reply #493 on: 17:34, 04 April 15 »
Really no need for advertisements, which just disturb the gaming experience. So, yes, please get rid of logos[nb]icons and windows and all that crap  :laugh: [/nb]
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.284
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1172
  • Likes Given: 80
Re: CPC Plus cartridge replacement : one more
« Reply #494 on: 18:04, 04 April 15 »
Really no need for advertisements, which just disturb the gaming experience. So, yes, please get rid of logos[nb]icons and windows and all that crap  :laugh: [/nb]
well I did re image the logo and make a loader screen that provided credit to no$cart. But with the crack intro and trainer selection screen it got a bit silly loading the games so I removed it.
IRC:  #Retro4All on Freenode

Offline fgbrain

  • CPC6128
  • ****
  • Posts: 231
  • Country: gr
    • index.php?action=treasury
    • Chaos CPC Homepage
  • Liked: 129
  • Likes Given: 304
Re: CPC Plus cartridge replacement : one more
« Reply #495 on: 18:24, 04 April 15 »
This awesome cart can also serve as an additional way to transfer files from / to PC - CPC!!

Provided we get proper software, we can read from SD card and save to disk and vice versa..

Correct??  :o
_____

6128 (UK keyboard, Crtc type 0/2), 6128+ (UK keyboard), 3.5" and 5.25" drives, Reset switch and Digiblaster (selfmade), Inicron Romram box, Bryce Megaflash, SVideo & PS/2 mouse, , Magnum Lightgun, X-MEM, X4 Board, C4CPC, Multiface2 X4, RTC X4 and Gotek USB Floppy emulator.

Offline gerald

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.452
  • Liked: 1013
  • Likes Given: 255
Re: CPC Plus cartridge replacement : one more
« Reply #496 on: 18:52, 04 April 15 »
This awesome cart can also serve as an additional way to transfer files from / to PC - CPC!!

Provided we get proper software, we can read from SD card and save to disk and vice versa..

Correct??  :o
Yes, and no  ;D
PM  ;)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
  • Liked: 1976
  • Likes Given: 4650
Re: CPC Plus cartridge replacement : one more
« Reply #497 on: 18:53, 04 April 15 »
In principle you are right. But it's probably as telling I can use my toaster to heat the house.  ;)   :)
Since the Cartridge ROM is READ ONLY and writing is done by reading from specific addresses it's not as using I/O ports for data transfer or even memory mapped would be.  :)


Just add an X-MASS and you'll be lucky!  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline fgbrain

  • CPC6128
  • ****
  • Posts: 231
  • Country: gr
    • index.php?action=treasury
    • Chaos CPC Homepage
  • Liked: 129
  • Likes Given: 304
Re: CPC Plus cartridge replacement : one more
« Reply #498 on: 20:18, 04 April 15 »
I'm happy enough if I can only import files from SD ! Nowadays I use more my tablet and smartphone for downloads than my PC.. Therefore C4CPC connects CPC to mobile hw!

_____

6128 (UK keyboard, Crtc type 0/2), 6128+ (UK keyboard), 3.5" and 5.25" drives, Reset switch and Digiblaster (selfmade), Inicron Romram box, Bryce Megaflash, SVideo & PS/2 mouse, , Magnum Lightgun, X-MEM, X4 Board, C4CPC, Multiface2 X4, RTC X4 and Gotek USB Floppy emulator.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.335
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2261
  • Likes Given: 3478
Re: CPC Plus cartridge replacement : one more
« Reply #499 on: 22:57, 04 April 15 »
Attached is a fixed ik+ -  no$cart version modified to work on gx4000.

First I will make a c program that will take a no$cart generated cpr and patch it. Then I will look to make a replacement for no$cart eventually.

I modified:
* any access to df07 becomes df83
* do not send specify command to fdc - causes hang
* only scan roms on cart; this stops roms in a rom-board from clashing (e..g if you had parados in a romboard it would override the cart I think and stop it working).
* firmware thinks it's accessing 0-15 but 7 is mapped to &83, others to &81, so the firmware on the cart thinks it's a cpc6128 with disc rom.

I will publish more details soon....
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource