Author Topic: SNA of a running BASIC program?  (Read 2512 times)

0 Members and 1 Guest are viewing this topic.

Offline scruss

  • CPC664
  • ***
  • Posts: 106
  • Country: ca
    • index.php?action=treasury
    • We Saw a Chicken ...
    • Awards
SNA of a running BASIC program?
« 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.
like
0
No reactions

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
    • Awards
Re: SNA of a running BASIC program?
« Reply #1 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 ;)
like
0
No reactions
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline TotO

  • 6128 Plus
  • ******
  • Posts: 4.023
  • Country: fr
    • ?area=showdonations;u=4
    • Awards
Re: SNA of a running BASIC program?
« Reply #2 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)
like
0
No reactions
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
    • Awards
Re: SNA of a running BASIC program?
« Reply #3 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 ...
 
like
0
No reactions
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Offline Devilmarkus

  • Vivid source of indefiniteness
  • 6128 Plus
  • ******
  • Posts: 4.035
  • Country: de
  • WebCPC / JavaCPC developer
    • index.php?action=treasury
    • CPC-Live website
    • Awards
Re: SNA of a running BASIC program?
« Reply #4 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...
like
0
No reactions
When you put your ear on a hot stove, you can smell how stupid you are ...

Amstrad CPC games in your webbrowser

JavaCPC Desktop Full Release

Offline scruss

  • CPC664
  • ***
  • Posts: 106
  • Country: ca
    • index.php?action=treasury
    • We Saw a Chicken ...
    • Awards
Re: SNA of a running BASIC program?
« Reply #5 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!
like
0
No reactions

Offline TFM

  • Visit the mysteries of the CPC at www.futureos.de
  • Supporter
  • 6128 Plus
  • *
  • Posts: 9.899
  • Country: aq
  • Space Chicken for FutureOS is free!
    • index.php?action=treasury
    • FutureOS - The revolution on CPC!
    • Awards
Re: SNA of a running BASIC program?
« Reply #6 on: 22:46, 26 September 12 »
What's about WinCPC (should be very similar, right?)
 
like
0
No reactions
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus