notaz said:
[
If you want to save Cyclone's state, use these functions:
CODE
// Functions for saving and restoring state.
// CycloneUnpack() uses checkpc(), so it must be initialized.
// save_buffer must point to buffer of 128 (0x80) bytes of size.
void CyclonePack(const struct Cyclone *pcy, void *save_buffer);
void CycloneUnpack(struct Cyclone *pcy, const void *save_buffer);
Feel free to ask if you have any questions about Cyclone core.
Yes my problem is after restored the buffer with CycloneUnpack... how to initialise correctly the p.c.? (or the p.c. is inside the buffer restored?) I placed the restore call inside m68k_go (like pspuae)
CODE
void m68k_go (int may_quit)
{
gui_purge_events();
#if !defined(DREAMCAST) || defined(DEBUG_UAE4ALL)
if (in_m68k_go || !may_quit) {
#ifdef DEBUG_UAE4ALL
puts("Bug! m68k_go is not reentrant.\n");
#endif
return;
}
in_m68k_go++;
#endif
quit_program = 2;
for (;
{
if (quit_program > 0) {
if (quit_program == 1)
break;
quit_program = 0;
if (savestate_state == STATE_RESTORE)
{
//memory_cleanup ();
flagtest=1;
load_snapshot ("snapshot.snp");
}
give me "Cyclone problem: branched to unknown memory location..." ( for the restore I'm use this CycloneUnpack(&m68k_context,chunk)... maybe it is wrong?)
coevin said:
ok i apologise as these are probably really dumb questions.
1) is it possible to set up a multi disk game in all the drives to reduce the need of swapping?
2) What does the auto saving function do? Can i save mid game?
Cheers
1) yes: you can save game config (with eventually up to 4 disk inserted)
2) it is the old "amiga save" (games like dune for example)... it is no a savastate
rokdcasbah said:
was working on different virtual keyboard graphic a while ago, and received word that others had as well. is this something anyone would be interested in (especially noldor73)? if so i can finish it up. just putting it out there, hope i'm not imposing by making a public post, since it's obviously not my project
It is cool
Yes you can finisih it, then we try to implement this vkeyboard
(you can send this actal version in png format to the mail inside the 0.8.0 read me
)