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 #187773 : Alternate Reality - The City +11D
2020-02-15 17:47
jcompton

Registered: Feb 2006
Posts: 70
Release id #187773 : Alternate Reality - The City +11D

With a dramatically improved saver and a trainer, it is now much much easier to live long enough to stumble into the original game's bugs!

Notably:

- Certain potion effects (Potions of Protection +1/+2) modify the wrong area of memory and may not actually provide any benefit whatsoever.

- These potion-related memory trashes can affect playfield graphics like door labels and mountain backdrops.

- Too many potion effects will crash the game!

- Banks may exhibit erratic behavior at times.

- Upon transitioning from a building back to the game map, the game sometimes "forgets" whether you are outdoors or in an "enclosed area."

- The game mostly hides the mirroring of door labels, but forgets to do so in certain types of Enclosed Areas, so words like "SHOP" and "TAVERN" will appear reversed on the bottom of the door.

- In silent interiors there's a horrible buzzing sound when the SID should probably just be turned off.
 
... 92 posts hidden. Click here to view all posts....
 
2020-02-24 18:22
Fix

Registered: Feb 2003
Posts: 54
@Bacchus

IFFL CON: compatibility ?

If you ask me it depends on what drives you support in your loader.

For me IFFL is a matter of taste and choice of the cracker.
I like to use IFFL if there are many files, else a normal fastloader is working fine. Since scanning takes some time with IFFL.
2020-02-24 21:09
Krill

Registered: Apr 2002
Posts: 2825
Quoting Bacchus
Pro [of IFFL] is faster Dir search (and I agree with Krill that the scan table is basically a dir cache).
Shouldn't buffering a directory be faster than scanning a large file, as the directory is on a single track?

Quoting Fix
Since scanning takes some time with IFFL.
Seems like on-the-fly scanning hasn't been invented yet? =)
2020-02-24 21:20
Burglar

Registered: Dec 2004
Posts: 1031
Quote:
Seems like on-the-fly scanning hasn't been invented yet? =)
well, the iffl I used in return of heracles actually doesn't need to scan, but I guess my loader is the only one that has that feature ;)

anyways, I like iffl, despite its obvious drawbacks.
2020-02-25 10:49
Bacchus

Registered: Jan 2002
Posts: 154
This entire discussion starts by Hedning requesting IFFL - a feature GP themselves haven't implemented. I don't have any IFFL that supports Exomizer 3 and save as I want it (dynamic files).

@fix Yes - for example SD2IEC.

@krill Well the disk should be file copyable and if you do that, the track and sector cannot be assumed. It needs to be scanned to generate the table. The FLT IFFL scan and build a table that is track&/sector/offset totally dynamically. IFFLs such as N0SD0S need to be linked with a dedicated linker and add the offset table in the beginning of the file. Scanning is not a big thing - you fire away the scanner before you launch the intro and don't allow exit before the scanner is done, so the time it takes is not really wasted anyways.

@burglar How do you do it if you don't scan?

/Bacchus
2020-02-25 12:35
MagerValp

Registered: Dec 2001
Posts: 1055
Quoting Bacchus
@krill Well the disk should be file copyable and if you do that, the track and sector cannot be assumed. It needs to be scanned to generate the table.

What Krill suggests is making the game files copyable, but not packing multiple files into one like IFFL. That way you only have to read and cache track 18 to get the T/S of every file, you don't have to scan the sector links like with IFFL.

But really, dir cache vs IFFL scan makes little practical difference for the player, it happens once at startup and if you do it right like you say you mask it with the intro. Both give you faster file access when the game runs, which depending on the game can be a noticable improvement.

Personally I wouldn't bother with IFFL again unless it was critical to fitting the game on one disk side, like with U4, but to each their own.
2020-02-25 13:22
Krill

Registered: Apr 2002
Posts: 2825
Quoting MagerValp
Quoting Bacchus
@krill Well the disk should be file copyable and if you do that, the track and sector cannot be assumed. It needs to be scanned to generate the table.
What Krill suggests is making the game files copyable, but not packing multiple files into one like IFFL. That way you only have to read and cache track 18 to get the T/S of every file, you don't have to scan the sector links like with IFFL.
I was stating this:

Loading by directory: Read and buffer directory once, then never go to dir track during the game.
Loading by IFFL: Scanning the entire file before running the game takes longer than just buffering the directory.

But then you don't need to scan everything before running the game, or mask the time required by refusing to exit the intro until scanning is done.

You scan to the required file on demand, building the track/sector/offset table piece-wise, which is what Burglar did (if i got him right).
Assuming the files are linked in a somewhat reasonable order (such that in general, stuff to be loaded later in the game would appear later in the IFFL file), there would be little overhead for dynamic scanning during gameplay.

(And of course IFFL must be file-copyable and fixed T/S cannot be assumed.)

Edit: Oh, and thinking about it, even with fully-random file access in some hypothetical malicious game, the loader could partially scan through the IFFL file whenever nothing is to be loaded, i.e, when the drive would be idle normally, until everything is scanned.
2020-02-25 16:10
Fix

Registered: Feb 2003
Posts: 54
@fix Yes - for example SD2IEC.

I know of several IFFL loaders that support SD2IEC.
Not 2-bit fastload, but it supports it.

Also I know there is support for save too.
2020-02-25 16:13
Krill

Registered: Apr 2002
Posts: 2825
Quoting Fix
I know of several IFFL loaders that support SD2IEC.
How would they seek backwards within the IFFL file (via KERNAL calls, presumably)? Simply close it, open it again, then read and discard bytes until at the desired position?
2020-02-25 16:44
Fix

Registered: Feb 2003
Posts: 54
Quote: Quoting Fix
I know of several IFFL loaders that support SD2IEC.
How would they seek backwards within the IFFL file (via KERNAL calls, presumably)? Simply close it, open it again, then read and discard bytes until at the desired position?


There is no seek command, we had another solution.
It's 2 years ago I touched that code.

If I remember right there is another command you can use with SD2IEC to solve that problem.
2020-02-25 16:56
Krill

Registered: Apr 2002
Posts: 2825
Ah, there is a command to set the position within an open file.
Didn't know that. :)
The syntax to position within any regular file is as follows:

OPENlf,dv,15:PRINT#lf,"P"+CHR$(ch)+CHR$(lo)
[+CHR$(mlo)[+CHR$(mhi)[+CHR$(hi)]]]:CLOSElf
Where:

Variable	Description
lf		the logical file number for the command channel
dv		the current device number of the sd2iec
ch		the channel of an open file in which to move the position *
lo		the (0th) low byte of a 32–bit position
mlo		the (1st) mid–low byte of a 32-bit position (optional, defaults to 0)
mhi		the (2nd) mid–high byte of a 32-bit position (optional, defaults to 0)
hi		the (3rd) high byte of a 32-bit position (optional, defaults to 0)
That somewhat mitigates the compatibility argument.
Previous - 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 - 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
macx
Dr. Doom/RAD
Codey/Second Dimension
Alakran_64
hedning/G★P
icon/The Silents, Sp..
Mibri/ATL^MSL^PRX
morphfrog
rexbeng
Guests online: 116
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.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (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 Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

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