CPCWiki forum

General Category => Technical Support - General => Topic started by: Lomax on 00:47, 22 June 18

Title: How much memory is being used?
Post by: Lomax on 00:47, 22 June 18

Hi Everyone,


I recently picked up an Amstrad CPC 6128 with a Multiface II. The Amstrad was my first ever computer (back in 1986-87). I am keen to learn more about the machine I grew up with. Can anyone can point me to a good resource that describes the Amstrad CPC 6128 architecture? I guess I want to start with a readers-digest type overview of how the thing works - memory, specialist chips, etc.

A specific question I have currently from playing around with this multiface cartridge (which I never had originally but always wanted) - how can I tell how much memory is being used by a program/game? For example, playing Jet Set Willy on an Amstrad CPC 6128 - how can I tell if it is using 64k or the full 128k? I don't know whether I need to dump 64k or the full 128k when saving.


Any info will be appreciated,


'max
Title: Re: How much memory is being used?
Post by: GUNHED on 01:15, 22 June 18
If it runs on a 464 it usually will only use 64 KB.  :)
Title: Re: How much memory is being used?
Post by: Longshot on 08:08, 22 June 18
In the first file saved by Multiface, you have a status byte about extra-ram.
If the base file is loaded in &4000, then the status byte is at &4000 + (&400E) + &9A
Bits 0 to 3 respectively indicate, if they are 1, that banks C4 to C7 are used.
Bits 4 to 7 indicate, if they are 1, for these same banks, if the files are compressed
I did not look at how the Multiface initializes this status.
Either it is based on the content of the banks (which can cause problems depending on the initial content of the additional ram), or on the fact that the program has connected the banks (which would be recorded by the multiface) ?
Title: Re: How much memory is being used?
Post by: Longshot on 08:16, 22 June 18
I do not know if it can help you, but here is the anti-multiface source.
Title: Re: How much memory is being used?
Post by: Lomax on 01:36, 06 July 18
<snip> Created new thread for the Multiface II specific questions here (http://www.cpcwiki.eu/forum/technical-support/multiface-ii-how-to-use-successfully/msg162426/#msg162426).
Powered by SMFPacks Menu Editor Mod