Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #161259 : Superfluid V0.5
2018-01-05 16:27
tlr

Registered: Sep 2003
Posts: 1703
Release id #161259 : Superfluid V0.5

I tried to make a freeze function with a little less stack corruption than usual for this but it seems it didn't work well on 1541u2. Thanks to insane for reporting this!

In the original (old) freezer implementation I more or less acknowledge the freeze immediately to allow switching in cart ram. This way timing critical stuff can be preserved directly to cart ram instead of pushing it to stack. This works _sometimes_ on 1541u2.

In the revised implementation (0.5) I do the regular, push to stack, then wait ~250 ms, then ack freeze. This works fairly reliably on 1541u2.

I guess the problem arises from some double trigging of the NMI but I'm not 100% sure. Looking at the 1541u2 source there doesn't seem to be any debouncing of the button in the FPGA at least. The specification for RR/NR states that the freeze button is digitally debounced so I was hoping that would be the same in all implementations.

REQUEST:
I don't have an actual RR or NR to test on but I did build one 0.5 variant with the original freezer and was hoping someone would be willing to test both that and the original one on RR and/or NR. Any takers?

original (old): superfluid-0.5x.zip
revised (current): Superfluid V0.5
 
... 23 posts hidden. Click here to view all posts....
 
2018-01-12 19:04
Mr.Ammo
Account closed

Registered: Oct 2002
Posts: 228
Quote: So my "trash less stack" approach is not very good in practice then. Will stick with the safe appoach until I get a better idea. Thanks for testing and reporting!

The monitor isn't based on the action replay one so no "I*" command. The "A" is from obviously not doing error checking of parameters very well. Noted.


I also tested both versions of the carts on my MMC Replay. Same behaviour as on the Retro Replay. The .5X version shows the same behaviour and the current .5 version works stable/flawlessly.

Ah, see? I should have read the manual. Although, now you know there's some missing error checking.
2018-01-12 19:08
tlr

Registered: Sep 2003
Posts: 1703
Quote: http://www116.zippyshare.com/v/TtZt1n0A/file.html (plain binary/no load addr)

its likely hitting something that isnt fully implemented... i remember at least some of the ram banking stuff isnt (no software using it...). but could be some other bug ofcourse =)

reminds me we still need to try this program on real AR and Nordic Power.....


Thanks!

It does have some strangeness with the $22 mode, see below, but nothing that is obvious to cause the problems you are seeing. Maybe it is something completely different...

I've built a variant that is identical to 0.5x, but uses $20 instead of $22 in the banking code. If you want you can try that and see if it changes anything: superfluid-0.5y.zip

      x01xx000 -> $DE00 (RAM)    x00xx000 -> $DE00 (ROM)
  9E: 0  1  2  3  0  1  2  3     A* B* C* D* E* F* G* H* 
  BE: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  DE: 0  0  0  0  0  0  0  0     A* B* C* D* E* F* G* H* 
  DF: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  FE: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
      x01xx001 -> $DE00 (RAM)    x00xx001 -> $DE00 (ROM)
  9E: 0  1  2  3  0  1  2  3     A* B* C* D* E* F* G* H* 
  BE: A* B* C* D* E* F* G* H*    A* B* C* D* E* F* G* H* 
  DE: 0  0  0  0  0  0  0  0     -  -  -  -  -  -  -  -  
  DF: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  FE: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
      x01xx010 -> $DE00 (RAM)    x00xx010 -> $DE00 (ROM)
  9E: A* B* C* D* 0  -  -  -     -  -  -  -  -  -  -  -  
  BE: 0  0  0  0  E* -  -  -     -  -  -  -  -  -  -  -  
  DE: 0  0  0  0  0  0  0  0     A* B* C* D* E* F* G* H* 
  DF: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  FE: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
      x01xx011 -> $DE00 (RAM)    x00xx011 -> $DE00 (ROM)
  9E: 0  1  2  3  0  1  2  3     A* B* C* D* E* F* G* H* 
  BE: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  DE: 0  0  0  0  0  0  0  0     -  -  -  -  -  -  -  -  
  DF: -  -  -  -  -  -  -  -     -  -  -  -  -  -  -  -  
  FE: A* B* C* D* E* F* G* H*    A* B* C* D* E* F* G* H*
2018-01-12 19:15
tlr

Registered: Sep 2003
Posts: 1703
Quote: I also tested both versions of the carts on my MMC Replay. Same behaviour as on the Retro Replay. The .5X version shows the same behaviour and the current .5 version works stable/flawlessly.

Ah, see? I should have read the manual. Although, now you know there's some missing error checking.


Again thanks for testing! I really hoped the .5X would work out but that settles it.
2018-01-12 22:41
chatGPZ

Registered: Dec 2001
Posts: 11100
0.5y indeed works on chameleon, so its that $22 mode. interesting :) i added the nordic power compatibility just recently, so perhaps its just a bit broken =P
2018-01-12 22:49
tlr

Registered: Sep 2003
Posts: 1703
Quote: 0.5y indeed works on chameleon, so its that $22 mode. interesting :) i added the nordic power compatibility just recently, so perhaps its just a bit broken =P

Brilliant! I believe we have a winning setup then! :)
2018-01-12 23:14
chatGPZ

Registered: Dec 2001
Posts: 11100
i'd prefer to fix the emulation, of course =D
2018-02-10 15:17
tlr

Registered: Sep 2003
Posts: 1703
A new release is out: Superfluid V0.6

It includes three different variants: Retro Replay, Nordic Replay and Retro Replay experimental.

The Retro Replay variant should work on all hardware variants and clones.

I've also included a small document detailing the expected cart mappings, derived from the actual Retro Replay and Nordic Replay hardware from iComp.
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Alakran_64
Mibri/ATL^MSL^PRX
Medicus
csabanw
Airwolf/F4CG
Sentinel/Excess/TREX
Brataccas/HF
Codey/Second Dimension
Danko/Fairlight
Guests online: 97
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Stinsen  (9.6)
4 Mutetus  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.064 sec.