Author Topic: ACID : what a cartridge game or application may add ?  (Read 5648 times)

0 Members and 1 Guest are viewing this topic.

Offline MacDeath

  • Chaotic post writer and mock-up specialist
  • Supporter
  • 6128 Plus
  • *
  • Posts: 4.061
  • Country: fr
  • Liked: 1168
  • Likes Given: 653
Not a novelty, ROM programs already existed for applications.

Yet Amstrad PLUS cartridges are still interesting.

It freed the Extension port in case of unmodified configuration (Many modern ROM/RAM boxes feature extra stuff)

So what are the coders thinking about with the perhaps soon to come Cartridges solutions ?

The main advantage is that Cartridges oriented Programms are obviously GX4000/PLUS oriented.

No stuff like Prehistorik 2 with its Disk including both CPCold and PLUS versions then.

Also, this may need new way to conceive programms.

Games :
having 256Ko or 512Ko will enable graphically heavy games in PLUS (HardSprites, lots of graphics and sounds perhaps).

Despite games may not be that bigger (Gameplay wise), old games often used soft applications to reverse sprites or tiles (R-Type, Rick dangerous) in order to save RAM space and reduce the loading in 464 configuration.

Though saving RAM/DATAs space, this also was a bit heavier on the Z80 as Softwared routines.

Also the almost lack of loading time and alsmot direct Access to all Datas rapidly, more complex looking stuff may be achieved, or perhaps better use of Sampled sounds ?

Compression of Data :

This may still be used for Big overscan Cinematic/Intro pages. Why waste that many space in such stuff...

But concerning In-Game datas, this may not be that needed that much, as 512ko is more than enough to get an advanced enough game.

Rick dangerous used such compression of datas.
but this may use Soft-ressources, so CPU ressources.

A problem may occur with "Save Game" possibilities.
Yet old school action/arcade games may not really need this, and RPG-like games are more Computer oriented anyway.


Applications :

What would you plan for those ?

Extra RAM :
Despite a notable Gain, the ROM is read only.
Having more RAM is still better, perhaps even more with applications.
While upgrading an 464+ is not that difficult, on a GX4000 it's getting trickier.

No proper Extension port, nor free slots on motherboard.
Of course Applications are perhaps less possible on this as no Keyboards nor DATA-saving facilities.

Would 64Ko be enough then ?
A game like Rick dangerous could prove that 64Ko is quite enough for a complete game indeed.

And many 128 Ko RAM games only featured extra Sounds.

New products or Modings ?
Quite a dilemma.
Getting old games/applications simply slightly modded and put on Cart is concievable.

But developping entire new stuff would of course be better, yet longer and harder.

Also oldd stuff would perhaps not be that well optimised for the Cartridges extrafastloading capabilities.


Discuss.

Offline fano

  • Supporter
  • 6128 Plus
  • *
  • Posts: 835
  • Country: fr
  • Easter Egg Programmer
    • Easter Egg
  • Liked: 278
  • Likes Given: 614
Re: ACID : what a cartridge game or application may add ?
« Reply #1 on: 19:28, 21 February 10 »
For games , it is simple : 512K ROM = bigger , faster , nicer and potentially better  ;D

It is time to show the real power of GX4000/464 & 6128+  :o
I just hope we'll get new games especially designed for cartrige or highly improved versions (Star Sabre PlusPlus anyone ?) , not just compilations of existing games.That would be a shame to see that potential unused.
For me , as i already say , i'll try to use that potential ;)
That will obiviously change the way i am working.I think i'll need a new utility to build cartrige file easily.
« Last Edit: 19:35, 21 February 10 by fano »
"NOP" is the perfect program : short , fast and (known) bug free

Follow Easter Egg products on Facebook !

Offline jbaudrand

  • CPC6128
  • ****
  • Posts: 171
  • Country: fr
  • Liked: 19
  • Likes Given: 16
Re: ACID : what a cartridge game or application may add ?
« Reply #2 on: 13:58, 17 August 10 »
:/ any news about cartridge homebrew? is it possible? is there constraint in programm structure or is it exactly like a big floppy disc?

Offline steve

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.263
  • Country: gb
  • Liked: 178
  • Likes Given: 210
Re: ACID : what a cartridge game or application may add ?
« Reply #3 on: 14:52, 17 August 10 »
I think the problem is the ACID chip, and getting the cartridges manufactured.

There was a thread that told of a supplier who had 500 genuine ACID chips in stock, but no-one seems to have bought them, at least if they have they are keeping quiet about it.
If ACID chips are not available then they must be cloned, apparently the secrets of the ACID chip have been cracked by a Spanish group but I don't know where any details about this are to be found, hopefully it will go in CPCWIKI eventually.
Finally you want someone to produce a run of cartridge casings, some people in Poland are changing the ROMs in genuine Amstrad cartridges, but that is not a viable long term solution.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: ACID : what a cartridge game or application may add ?
« Reply #4 on: 16:08, 17 August 10 »
I think the problem is the ACID chip, and getting the cartridges manufactured.

There was a thread that told of a supplier who had 500 genuine ACID chips in stock, but no-one seems to have bought them, at least if they have they are keeping quiet about it.
If ACID chips are not available then they must be cloned, apparently the secrets of the ACID chip have been cracked by a Spanish group but I don't know where any details about this are to be found, hopefully it will go in CPCWIKI eventually.
Finally you want someone to produce a run of cartridge casings, some people in Poland are changing the ROMs in genuine Amstrad cartridges, but that is not a viable long term solution.
The functionality of the ACID has been broken. The Spanish guys did some investigation and uncovered some details but they didn't finally find it's functionality. In fact it was nocash (on this forum) who discovered how it works. All the info is already on the wiki :)

The problem now is to create acid ics easily and cheaply, casses and pcbs for the acid and rom to be on. Then games created for cart can be distributed.

I believe you are correct that Polish bootleggers were taking existing carts, programming a new eprom and putting it onto the board.

As far as developing for cartridges:

Well you can do this already if you use winape or arnold emulators. Both of these emulate cpc+ and cartridges.

You can use buildcpr to create a cpr file from a binary file. But then it's up to you to generate that binary file at the moment because the tools are not done for this. (www.cpctech.org.uk for buildcpr)

Creating a game for cartridge is quite different than creating a game for disc.
Code can't be self modifying if it is executed direct from ROM. You can use the ROM to store both program and data, so not necessarily to load all the code into RAM at one time. Accessing the ROM is done in 16k pages, which you must execute a Z80 I/O instruction to make this readable in the Z80's address space.

So if you want to write a cart please go ahead and share any development problems if you find them, and then this will help others to write cart programs too. The issues generally you will hit will be down to the exactness of the emulation. Some of this you can do by testing on a real cpc+ with a tape/disc version.

But finally you would need to test a real cart on a real cpc+ and gx4000 before releasing it, because you may find changes that need to be made to make it work correctly on real hardware.




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

Offline jbaudrand

  • CPC6128
  • ****
  • Posts: 171
  • Country: fr
  • Liked: 19
  • Likes Given: 16
Re: ACID : what a cartridge game or application may add ?
« Reply #5 on: 21:24, 17 August 10 »
thanks for explanation, so if I understand correctly, I could store variable in RAM for quest/game progress/score and access to ROM for loading different level or totally new kind of game. My actual skill didn't allow me to understand the 16k ROM access with Z80.

I have only a simple 6128, so I will stay on disc for my little game.

for making real cartridge, the team from Atari Age or nintendo age can build  cartridge from scratch, and I've seen on the web a guy who made James Bond Lego from scratch, so I believe there's a affordable tool that exist for creating plastic case but I don't know where to ask for.

for Acid chip: is it just a common eprom or not?

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #6 on: 06:21, 18 August 10 »
There was a thread that told of a supplier who had 500 genuine ACID chips in stock, but no-one seems to have bought them, at least if they have they are keeping quiet about it.

I tried to buy them! This nice company didn't answer me.  :'(
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.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: ACID : what a cartridge game or application may add ?
« Reply #7 on: 11:39, 18 August 10 »
thanks for explanation, so if I understand correctly, I could store variable in RAM for quest/game progress/score and access to ROM for loading different level or totally new kind of game. My actual skill didn't allow me to understand the 16k ROM access with Z80.
yes correct.

The Amstrad cartridge is a simple EPROM with ACID custom protection chip. There is no way to store your progress for starting again another day unless you save the progress to disc, cassette, or present the user with a code they can enter to continue.
There is no eeprom or memory backup on the cartridge.

Other people are looking into how this may be possible with some sacrifice to the total available ROM.

Well maximum rom size is 512K, but nobody has used this yet. It is technically possible, but I don't think any existing games use it.
Accessing the ROM.

When the CPC+ is reset, rom page 0 is visible in z80 ram between &0000-&3fff. You can also enable another page in the memory range &c000-&ffff. Writing to these ranges while the rom is paged in, writes to the ram area underneath. When running code you can use the standard I/O to select and enable/disable the rom.

Quote from: jbaudrand link=topic=578.msg12221#msg12221   date=1282069472
I have only a simple 6128, so I will stay on disc for my little game.
cool. I will be interested to see this when it's done.

Quote from: jbaudrand link=topic=578.msg12221#msg12221   date=1282069472
  for making real cartridge, the team from Atari Age or nintendo age can build  cartridge from scratch, and I've seen on the web a guy who made James Bond Lego from scratch, so I believe there's a affordable tool that exist for creating plastic case but I don't know where to ask for.

for Acid chip: is it just a common eprom or not?
No, it's a custom chip, effectively a kind of random generator. The value it generates must match the value that the ASIC (custom chip inside CPC+) generates. If it doesn't the game will not work. The ROM itself is not protected (e.g. the opcodes are not encrypted).

So, after TFM news, it seems the only ways are to change an existing cart, or have new ACIDs made. I believe Octoate has already made the VHDL for it. MacDeath is also working on making an ACID + other extras.

So what can it add?

Well all code and data can be in ROM. Then the RAM can be used for variables and for screen.
As far as I know, there is no difference from executing from ram or rom, in terms of read cycles. I think the same number of cycles happen for rom and for ram.

EDIT: So what can we do now? Well we can write the cartridge program using an emulator. So we can start to gain the knowledge of how to make rom based programs and then see what extras it can give us.
« Last Edit: 11:41, 18 August 10 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #8 on: 04:38, 19 August 10 »
Universe has a funny timeing. Got an email today, they offered me the ACID for 7,86 Euro each (if I take 100). Keep you informed...
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline jbaudrand

  • CPC6128
  • ****
  • Posts: 171
  • Country: fr
  • Liked: 19
  • Likes Given: 16
Re: ACID : what a cartridge game or application may add ?
« Reply #9 on: 08:41, 19 August 10 »
TFM/FS: they still build them? or is it an old stock?


Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: ACID : what a cartridge game or application may add ?
« Reply #10 on: 11:21, 19 August 10 »
Universe has a funny timeing. Got an email today, they offered me the ACID for 7,86 Euro each (if I take 100). Keep you informed...
beware of fake ics. There are some fake SIDs going around, and some of them are not even close to being real sids.

If these are genuine then if I could use it to test my own cartridge games then I would have one.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #11 on: 21:23, 19 August 10 »
TFM/FS: they still build them? or is it an old stock?

Yes, it's from 1992.
 
beware of fake ics. There are some fake SIDs going around, and some of them are not even close to being real sids.
If these are genuine then if I could use it to test my own cartridge games then I would have one.

Well, for c64 all you get is a fake ;-) Because it's no CPC.
 
However I got a lightly better price now (it still hurts, but what can you do), it's 6,85 Euros for a piece if you take 100. So I ordered 100. May they rip me off or send me fake IC's - can happen, then I'll take my consequences  :angel:  But I hope everything will work out well.
« Last Edit: 21:26, 19 August 10 by TFM/FS »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Trebmint

  • 464 Plus
  • *****
  • Posts: 464
  • Country: zw
  • Liked: 324
  • Likes Given: 29
Re: ACID : what a cartridge game or application may add ?
« Reply #12 on: 23:46, 19 August 10 »

Yes, it's from 1992.
 
Well, for c64 all you get is a fake ;-) Because it's no CPC.
 
However I got a lightly better price now (it still hurts, but what can you do), it's 6,85 Euros for a piece if you take 100. So I ordered 100. May they rip me off or send me fake IC's - can happen, then I'll take my consequences  :angel:  But I hope everything will work out well.

Can I just say congrats TFM/MS for reaching 464 posts. Hoep you reach 6128 in the not to distant future

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #13 on: 04:38, 20 August 10 »
Hehe, thanks a lot! I hope that I reach one day 6128+ posts :-)))
 
Now I payd the ACIDs, including the wonderful german 19% tax and shipping the unit is now 8,21 Euro. I will probably not go to a bar this year, this way I get the money back. And it's better for health and CPC. My next step it to get cartridge plastic covers and circuit boards, any ideas?
 
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline steve

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.263
  • Country: gb
  • Liked: 178
  • Likes Given: 210
Re: ACID : what a cartridge game or application may add ?
« Reply #14 on: 13:47, 20 August 10 »
Could you offer an extended cartridge that has an exposed ZIF socket so we could easily and quickly change the 512KB rom and reduce the need for one ACID chip for each ROM.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: ACID : what a cartridge game or application may add ?
« Reply #15 on: 14:00, 20 August 10 »
Could you offer an extended cartridge that has an exposed ZIF socket so we could easily and quickly change the 512KB rom and reduce the need for one ACID chip for each ROM.

For me I would like some way to be able to reprogram the cartridge, so having flash or static ram on it and an easy way to download data onto it. This would be the best, because then I could easily test my programs are working.
I don't have eproms or tools to write them.
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #16 on: 22:09, 20 August 10 »
Don't know what you mean with a ZIP socket, is it like a Textool socket?
 
However I was indeed thinking about such things.
 
But like mentioned before, the ACID is one component, the remaining parts of the cardridge are still missing.
 
The biggest problem is to get the plastig cover. Does anybody know where we can get them?
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #17 on: 22:10, 20 August 10 »
For me I would like some way to be able to reprogram the cartridge, so having flash or static ram on it and an easy way to download data onto it. This would be the best, because then I could easily test my programs are working.
I don't have eproms or tools to write them.

You should indeed contact Dr.Zed about this ...
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline jbaudrand

  • CPC6128
  • ****
  • Posts: 171
  • Country: fr
  • Liked: 19
  • Likes Given: 16
Re: ACID : what a cartridge game or application may add ?
« Reply #18 on: 22:29, 20 August 10 »
I've made a few search to make custom cartridge.. but don't know how to find it in europe... http://www.injectionmolder.net/

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #19 on: 04:45, 23 August 10 »
$1500 makes no sense :-(
 
But if somebody would already have one...
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Gryzor

  • Administrator
  • 6128 Plus
  • *****
  • Posts: 16.071
  • Country: gr
  • CPC-Wiki maintainer
    • CPCWiki
  • Liked: 3487
  • Likes Given: 6285
Re: ACID : what a cartridge game or application may add ?
« Reply #20 on: 10:31, 23 August 10 »
You bought them???!!! I think we should have all pooled some money to get them... unless you're planning to use them and sell some sort of product in the future, which is of course very much OK.

Offline andycadley

  • Supporter
  • 6128 Plus
  • *
  • Posts: 913
  • Liked: 445
  • Likes Given: 73
Re: ACID : what a cartridge game or application may add ?
« Reply #21 on: 12:57, 23 August 10 »
One possibility might be to get them done through one of those online 3D printing places like http://www.shapeways.com/ though I've no idea whether the end result will be sturdy enough (and obviously somebody needs to 3D model one first).
 
It'd be cool if we could get these made, it has to be better than what I'm currently doing which is basically butchering older, less desirable, GX cartridges. Although that project has stalled somewhat as I can't get my old eprom blower working on modern hardware, so have had to order a shiny new USB one!

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2275
  • Likes Given: 3478
Re: ACID : what a cartridge game or application may add ?
« Reply #22 on: 13:07, 23 August 10 »
Don't know what you mean with a ZIP socket, is it like a Textool socket?
 
However I was indeed thinking about such things.
 
But like mentioned before, the ACID is one component, the remaining parts of the cardridge are still missing.
 
The biggest problem is to get the plastig cover. Does anybody know where we can get them?
Are there any cases or even plastic boxes of a similar dimension that could be modified to suit as a temporary alternative?

Maplin sell plastic boxes. I know it's not a perfect copy, and it would need a section cutting out of it, but could it work as a cheap alternative provided it didn't fall apart?

Markus measured the box for me (cm):

7 x 6.5 x 1.5
« Last Edit: 13:14, 23 August 10 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

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: 1982
  • Likes Given: 4650
Re: ACID : what a cartridge game or application may add ?
« Reply #23 on: 00:24, 24 August 10 »
You bought them???!!! I think we should have all pooled some money to get them... unless you're planning to use them and sell some sort of product in the future, which is of course very much OK.

Well, I have indeed planned to use them for a certain project. Pooling would be nice, but not for me, since I live in USA and I don't like somebody sending hardware to me here. They already stole my X-Mas cookies - my former girl-friend was pretty disappointed!
So I have to "use" my ACIDs next summer in less than two weeks, in case I got circuit boards and covers... However I can't access them before. And sending them to USA is like spending them to some sort of .... whatever (I think they read my posts here...!).
 
But n-tronics still has 400 in stock, so get them.
 
We had the pool-order discussion a couple of months ago, and nobody really told that he/she will definitely buy one. So I don't know if somebody wants one - except Arnoldemu.
 
 
« Last Edit: 00:27, 24 August 10 by TFM/FS »
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline steve

  • Supporter
  • 6128 Plus
  • *
  • Posts: 1.263
  • Country: gb
  • Liked: 178
  • Likes Given: 210
Re: ACID : what a cartridge game or application may add ?
« Reply #24 on: 00:51, 24 August 10 »
I will hazard a guess that you plan to sell cartridges with Futureos in them, any chance that you would sell cartridges with no rom in them?