CPCWiki forum

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

Title: SNA of a running BASIC program?
Post by: scruss on 22:56, 22 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 23:19, 22 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 09:03, 23 September 12
Quote from: scruss on 22:56, 22 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 23:07, 23 September 12
Quote from: Devilmarkus on 23:19, 22 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 10:58, 24 September 12
Quote from: TFM/FS on 23:07, 23 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 01:44, 26 September 12
Quote from: TotO on 09:03, 23 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 20:46, 26 September 12
What's about WinCPC (should be very similar, right?)
Powered by SMFPacks Menu Editor Mod