Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Save-feature on the Easy Flash
2018-02-20 16:30
TWW

Registered: Jul 2009
Posts: 545
Save-feature on the Easy Flash

According to what I have (superficially) have read, the EasyFlash allows you to save data on the fly to the cartridge. I don't know of any other HW which allows this.

I was wondering if this could have been used as a "save game" functionality or is this a bad idea?

Reason I ask is due to a crack project I'm working on (for ages) which is made for the "C64 Game System Cartridge" and I was wondering if I could get rid of the need for any disk IO by porting it to EasyFlash.
 
... 17 posts hidden. Click here to view all posts....
 
2018-03-02 07:43
Count Zero

Registered: Jan 2003
Posts: 1932
Indeed, 64kb to erase as minimum. When working somewhat incremental you can always add to those 64kb as a large save bank and only need to erase and re-save whenever the 64kb block is full.

Given that one is using a complete 64kb bank as save bank that is.
2018-03-02 08:18
enthusi

Registered: May 2004
Posts: 677
Yeah, that is sort of the weak spot.
Also they need to be in one chip (obviously), so not spread across high and low.
2018-03-02 10:42
Majikeyric

Registered: Sep 2002
Posts: 83
Thanks for your explanations, incremental writes seem a good idea, I gonna implement that! :)
2018-03-02 12:36
Mr. SID

Registered: Jan 2003
Posts: 424
FWIW, Prince of Persia uses a single 8KB bank for saving (each save data is 3 bytes, iirc), so it just adds the saves incrementally until the bank is full, it doesn't erase data at all.
2018-03-02 14:43
MagerValp

Registered: Dec 2001
Posts: 1078
Ultima IV Remastered uses a pair of 64 kB banks that it alternates between:

https://raw.githubusercontent.com/MagerValp/u4remastered/master..
https://github.com/MagerValp/u4remastered/blob/master/src/efloa..
2018-03-03 08:07
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: FWIW, Prince of Persia uses a single 8KB bank for saving (each save data is 3 bytes, iirc), so it just adds the saves incrementally until the bank is full, it doesn't erase data at all.

Wow, was 3 bytes enough to hold player location, life, weapon, which enemy is dead etc? Or do you just save general progress (max health, level etc) and reset level state completely on load?
2018-03-03 13:56
TWW

Registered: Jul 2009
Posts: 545
DOes someone has the latest binary files for the EAPI? I found the source but figured if someone has the binary I'd save the trouble to convert it / assemble it with an assembler I don't have installed.
2018-03-04 06:35
Knight Rider

Registered: Mar 2005
Posts: 131
I have it on my phone. I will create a release and upload

EasyFlash eAPI
2018-03-04 08:34
TWW

Registered: Jul 2009
Posts: 545
Smashing! thanks.
2018-03-04 12:42
iAN CooG

Registered: May 2002
Posts: 3193
Quote: I have it on my phone. I will create a release and upload

EasyFlash eAPI


add something more on that entry. as it is doesn't make any sense.
EDIT: Ok, no response was given, entry deleted. It's probably part of a commercial product so doesn't belong here.
Don't use CSDb as a download site for passing non-scene files to others.
Previous - 1 | 2 | 3 - 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
Mike
iAN CooG/HVSC
deetsay
Twilight/Excess/Arcade
Steffan/BOOM!
XmikeX
Airwolf/F4CG
Copyfault/Extend^tsn..
Walt/Bonzai
New Design/Excess
Linus/MSL
Bansai/BSILabs
Guests online: 137
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 Antitrack  (9.8)
3 OTD  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

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