Welcome, Guest!

Here are some links you may find helpful

Kernel + Module code swapping on the Dreamcast

Ioncannon

Active member
Registered
Joined
Jun 25, 2019
Messages
33
Reaction score
22
Points
8
AG User Name
Ioncannon
AG Join Date
Oct 19, 2010
I recall reading somewhere in the documentation (US or JP) that the DC supported code swapping to keep ram usage down. An example of this method if the FF games like FF7 which had a core "kernel" and seperate "modules" for each state (field, battle, menu, etc). This way only the relevant code (minus some overhead) has to be resident in the ram.

Did anyone run into documentation about this or a way to setup gcc to segment code like this?
 

tsowell

New member
Joined
Jul 18, 2020
Messages
1
Reaction score
1
Points
1
KallistiOS has an API for this. Check out KallistiOS/include/kos/library.h, and there's a Makefile for the modules in KallistiOS/loadable. DreamShell uses it if you want a real-world example.
 

neo

Well-known member
Joined
Feb 1, 2019
Messages
63
Reaction score
58
Points
18
AG User Name
Mrneo240
AG Join Date
06/08/2010
Katana uses code overlays
 

Ioncannon

Active member
Registered
Joined
Jun 25, 2019
Messages
33
Reaction score
22
Points
8
AG User Name
Ioncannon
AG Join Date
Oct 19, 2010
Katana uses code overlays

Thank you, that's the word I was trying to remember. The JP Shinobi docs have a whole section on it.
 
shape1
shape2
shape3
shape4
shape5
shape6
Top