Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user Wayne Kerr ! (Registered 2018-12-11) You are not logged in 
CSDb User Forums


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

Registered: Jul 2009
Posts: 444
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: 842
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: 656
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: 74
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: 353
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: 943
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: 1472
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: 444
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: 41
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: 444
Smashing! thanks.
2018-03-04 12:42
iAN CooG

Registered: May 2002
Posts: 2109
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
The MeatBall
Dymo/G★P
Kruthers
Karmic/HVSC/ONS
Hydrogen/Glance
hedning/G★P
Mch/Genesis Project
Medicus
Flex/Artline Designs
Guests online: 43
Top Demos
1 Uncensored  (9.7)
2 Comaland 100%  (9.7)
3 Unboxed  (9.7)
4 Edge of Disgrace  (9.7)
5 Coma Light 13  (9.6)
6 The Shores of Reflec..  (9.6)
7 Lunatico  (9.6)
8 Wonderland XII  (9.6)
9 Old Men in Used Cars  (9.5)
10 C=Bit 18  (9.5)
Top onefile Demos
1 Arok 20 Invitation  (9.6)
2 Daah, Those Acid Pil..  (9.5)
3 FMX Music Demo  (9.5)
4 Crystal Gazer  (9.5)
5 Pandemoniac Part 2 o..  (9.5)
6 Rewind  (9.5)
7 Dawnfall V1.1  (9.5)
8 Party Horse  (9.4)
9 Dawnfall  (9.4)
10 In Memoriam BHF  (9.4)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.4)
4 Finnish Gold  (9.3)
5 The Transfer Team  (9.3)
Top Diskmag Editors
1 Jazzcat  (9.5)
2 Newscopy  (9.4)
3 Peter  (9.3)
4 A Life in Hell  (9.2)
5 Remix  (9.2)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.052 sec.