home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Amiga programmers in deep shit...
- Date: 7 Jan 1996 03:58:37 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Distribution: world
- Message-ID: <4cngdd$jjo@maureen.teleport.com>
- References: <john.hendrikx.43fg@grafix.xs4all.nl>
- NNTP-Posting-Host: julie.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- John Hendrikx (john.hendrikx@grafix.xs4all.nl) wrote:
- : In a message of 01 Jan 96 Stephan Schaem wrote to All:
-
- : >> > HD... I consider this a standart. The amiga floppy controler is more >
- : >> flexible & knowed so its a nice option for games that take over all > the
- : >> computer resources. And faster dont mean better: You can load from >
- : >> floppy without ANY repercution on game play, but from HD you will see >
- : >> jerkyness will accessing.
-
- : >> Ever checked your brain ?
-
- : SS> Thats poetic... but I dont see the point.
-
- : SS> Is this a metaphore for "No you are wrong, game can load a level from
- : SS> HD without interupting smooth gameplay" ?
-
- : SS> If so tell me how this is done on a non DMA controler...
-
- : You make it sound like that is impossible, while it really isn't given the
- : right situation:
-
- : - Game leaves about 10-20% CPU time free.
-
- per frame, yes.
-
- : - Use small Read()'s and Write()'s (experiment; there is no rush to
- : load the level-data right? It will be faster than floppy's even
- : if you use 512-byte read/writes :-))
-
- I dont mind reading 512k byte at a time... My guess is that even
- if the device has the data cached it will be too slow. so imagine
- when it will read a next full block from the HW device. On dataflyer
- and such controler the game would shudder.
-
- : - Game is preferably tripple buffered so a sudden burst of HD activity
- : (ie, to copy that 512 bytes) won't make the game miss a frame (although
- : with such small read/writes I doubt this is a requirement).
-
- its an option if it can resolve the sudden burst read of the device.
-
- : This should work even on non-DMA controllers. Of course the game should be
- : multitasking, run at a pri less than 5 or so and generally 'behave'. Current
- : games hardly fit this description but that doesn't make 'smooth' HD access
- : impossible.
-
- If one can read 512byte continously in ~25 raster using read() on a
- non dma controler , I would say yes too. triple bufffer could 'smooth'
- the possible sporatic behaviour of the read()/device/HW.
-
- I dont think I want to try that anyway :) You have an HD? you must have
- 1extra meg compare to the floppy user, let me preload...
- If this can work on HD, you could reserve space to decompress an audio
- mpeg file and play it back during the game... An example for game
- designed only for HD user. VS floppy & HD
-
- Stephan
-