CPCWiki forum

General Category => Emulators => Topic started by: scruss on 00:56, 23 September 12

Title: SNA of a running BASIC program?
Post by: scruss on 00:56, 23 September 12
Is there a way of saving a snapshot of a running BASIC program that won't fail with weird syntax errors when you reload it? It seems that all of the (Mac OS or Java) emulators I try don't quite save state enough to restore a BASIC program. It'll run fine if you type RUN, but always seems to give this error if you try to reload a running BASIC program.
Title: Re: SNA of a running BASIC program?
Post by: Devilmarkus on 01:19, 23 September 12
In JavaCPC the SNA function is very poor. Don't know (yet) what's bad with it.

For other MacOS emulators I cannot say... sorry...

Better save your BASIC program to DSK ;)
Title: Re: SNA of a running BASIC program?
Post by: TotO on 11:03, 23 September 12
Is there a way of saving a snapshot of a running BASIC program that won't fail with weird syntax errors when you reload it? It seems that all of the (Mac OS or Java) emulators I try don't quite save state enough to restore a BASIC program. It'll run fine if you type RUN, but always seems to give this error if you try to reload a running BASIC program.
I use MacCPC and I don't get problem saving and restoring SNA with BASIC programs. (sure, not more than 20 lines for mock-up)
Title: Re: SNA of a running BASIC program?
Post by: TFM on 01:07, 24 September 12
In JavaCPC the SNA function is very poor. Don't know (yet) what's bad with it.

For other MacOS emulators I cannot say... sorry...

Better save your BASIC program to DSK ;)

Sounds like a problem in banking between ROM and RAM. What else must be considered:
- Status of PIO and PSG!!!
- E-RAM
- Interrupt modus
- All other GA stuff ...
 
Title: Re: SNA of a running BASIC program?
Post by: Devilmarkus on 12:58, 24 September 12

Sounds like a problem in banking between ROM and RAM. What else must be considered:
- Status of PIO and PSG!!!
- E-RAM
- Interrupt modus
- All other GA stuff ...

Yeah I know...
I think it's a bug in reading the PPI status...
Title: Re: SNA of a running BASIC program?
Post by: scruss on 03:44, 26 September 12
I use MacCPC and I don't get problem saving and restoring SNA with BASIC programs. (sure, not more than 20 lines for mock-up)

Yup, MacCPC saves a perfect snapshot; thanks!
Title: Re: SNA of a running BASIC program?
Post by: TFM on 22:46, 26 September 12
What's about WinCPC (should be very similar, right?)