Page 1 of 1

On cardtridge RAM address space using SGDK

Posted: Thu Sep 23, 2021 4:25 pm
by masteries
Reading about Paprium hardware setup,
they used an added controller embedded into the cartridge.

Are they using the on cartridge RAM address space in order to bring orders to the added controller?

it's more of a guess than a question :)

This space was used for game save, the typical RAM chip with a button cell battery...


This approach is very interesting;
are there additional information about what and how to use this on cardtridge RAM address space using SGDK?

Thanks in advance,

Re: On cardtridge RAM address space using SGDK

Posted: Thu Sep 23, 2021 7:38 pm
by Miquel
A cartridge can only manage its own 4MB of address space and the !time signal.

Re: On cardtridge RAM address space using SGDK

Posted: Mon Sep 27, 2021 8:17 am
by masteries
Miquel wrote:
Thu Sep 23, 2021 7:38 pm
A cartridge can only manage its own 4MB of address space and the !time signal.
Very good answer, that solve anything, that provide solution and code samples.... xD

Assuming cartridge address space can be read and/or write.

Re: On cardtridge RAM address space using SGDK

Posted: Mon Sep 27, 2021 2:37 pm
by Miquel
How you manage the cartridge address space is a hardware question, software is only involved when accessing it from the cpu.

Do you want a code sample? there is one:

u16* p = <whatever_address>;
*p = 0x1234;